+ 3

Js by css

I have written this code i want when i click on menu it's width would increase but it is not happening. https://code.sololearn.com/W8mKBu4JEcY7/?ref=app

24th Aug 2020, 4:45 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
5 ответов
+ 4
Should be function name issue open() is window.open() for opening url like hyperlink renaming to opennav() https://code.sololearn.com/W0AtvOMBV8iJ/?ref=app
24th Aug 2020, 5:16 PM
Gordon
Gordon - avatar
+ 2
Thank you so much bro.
24th Aug 2020, 5:19 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
+ 2
Welcome. Nice practice of transition, keep up.
24th Aug 2020, 5:20 PM
Gordon
Gordon - avatar
0
because Menu is a href="#" which makes it opens a new page
24th Aug 2020, 5:12 PM
Gordon
Gordon - avatar
0
I changed it to div yet it's not working
24th Aug 2020, 5:14 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar