How to create slide and swipe menu with html, css and js ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create slide and swipe menu with html, css and js ?

see in applications we can see we can see side nav by clicking on menu button also we can swipe from left to see menu and swipe right to hide it, like in website we can get materialize menu but I don't want to use Any framework I want to create this by using html css and JavaScript...

3rd Nov 2018, 6:15 PM
Dharmesh Pandey
Dharmesh Pandey - avatar
3 Answers
+ 2
If you already know how to use materialize (as you have mentioned or implied through mentioning), you can look at the files you linked (such as the CSS file) to find the code they use. It generally helps to unminify it and use the find function to isolate the parts you want.
4th Nov 2018, 4:04 AM
Janning⭐
Janning⭐ - avatar
+ 1
but I can't understand the files how they did they have lots of class in there css as well as they also use jQuery so it's bit hard to understand 😐
4th Nov 2018, 4:06 AM
Dharmesh Pandey
Dharmesh Pandey - avatar
+ 1
Then you already have a good idea of which courses you should complete and familiarize yourself with in order to be able to go framework-less. 😉 I was just helping someone in person with something very similar earlier this week. It's a process. People try to skip ahead, but it's important to have a good foundation, so I think it's a worthwhile investment.
4th Nov 2018, 5:39 AM
Janning⭐
Janning⭐ - avatar