DEV Community

Discussion on: Improving Web Portfolio

Collapse
 
ankitbeniwal profile image
Ankit Beniwal

Yes. In main.js, the definition of toggle function had this line:
menuBranding.classList.add("close");

I just changed the class 'close' to 'show', making it:
menuBranding.classList.add("show");

Everything else was perfect.

Thread Thread
 
smammar profile image
SMAmmar

Thanks, bro, It worked. <3

Thread Thread
 
ankitbeniwal profile image
Ankit Beniwal

That's nothing.