r/css • • Jun 15 '21

Simple Navigation using HTML, CSS & jQuery

https://youtu.be/RU4v2uMY5as
22 Upvotes

9 comments sorted by

View all comments

9

u/Direct_Swordfish_735 Jun 15 '21

Please use vanillajs and es6 block scoping. For dynamic styling use CSS variables or class toggles instead.

4

u/Hadr619 Jun 15 '21

still blows my mind that people are still pitching jQuery for simple uses that vanillajs would be way more efficient