Hello that is a very nice solution the only issue is the footer doesn't look like the design :
- There is no background color
- The shape doesn't appear this way
And concerning your code : Nothing to say you have sementics tags maybe in JavaScript :
- Declare readable contants such as "top_nav" instead of "x"
- Use
classList
to improve the code it will be better withclassList.add()
,classList.remove()
orclassList.toggle()
Well done ;)
0