WisdmLabs / tejas-html-assignment

0 stars 0 forks source link

Javascript not required here #3

Closed arun-wdm closed 7 months ago

arun-wdm commented 7 months ago

https://github.com/WisdmLabs/tejas-html-assignment/blob/ec51c38863cca8c505b9c45c88eb7f0e2db1ac1e/index.php#L60

What if this is a security sensitive content? Anyone could toggle css and view the content.

Hint: Try to do this visibility logic without JS and CSS

Tejas810 commented 7 months ago

Resolved https://github.com/WisdmLabs/tejas-html-assignment/blob/PhpAssignment/index.php