Hello! I’m just starting out on the portfolio project, and have decided to make life more difficult for myself by attempting to ‘reverse engineer’ the example which is given.
I’ve managed to make a collapsible navbar, but can’t work out how to:
- Make it collapse horizontally (rather than vertically)
- Have the menu items collapse centred like in the example
My pen is here: https://codepen.io/tara_matt93/pen/owwvjJ
and for reference here is the page I am trying to copy: https://codepen.io/freeCodeCamp/pen/YqLyXB