DEV Community

Discussion on: Improving Web Portfolio

Collapse
 
smammar profile image
SMAmmar

can you tell me what correction you made, and where?

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.