Colors, buttons, and my first JavaScript
- #beginner
- #javascript
- #coding-journey
I think I finalized my color scheme today. Luckily my wife was around to help as there were so many options! Aside from the colors, I fixed up the projects section a bit and added a second button so I can link out to a live link and my Github repository.
One thing I was avoiding since I just started this site was… Javascript. Now that I am using an anchor tag in the navigation, the hamburger menu wasn’t closing after clicking said link. It made menu seem broken so I set out for a fix.
After some Googling, I came across a small script that does just that in Javascript! I edited it to work with my id’s and now when you click “Projects” in the top nav while on mobile, it will close the hamburger menu automatically.
It’s late and I have work in the morning, but I want to keep going. I end up at work thinking about what I can add to my site and get pretty antsy to get home and start coding!