0
Function without JavaScript
Is it possible to add interactivity without js? I know that you will say no! But i have done. Without js i maked click to open click to close. If you learned something please like and share. https://sololearn.com/compiler-playground/Wb58e5CJeqxz/?ref=app
2 Respostas
+ 4
You can replace a very small amount of Javascript's interactivity with CSS using the "checkboxes method". Here it is explained: https://css-tricks.com/the-checkbox-hack/.
All of Javascript's functions can not be replaced, though, so you would need to use JavaScript for a dynamic website with lots of different interactive functions.
0
Yeah that's true