100 Days of Code: Day 008

View the Original “100 Days of Code” Log Entry on GitHub

Today’s Focus Areas:

Today’s Progress:

This afternoon, I was able to sit down and work on the sub-menu functionality for the Slide Out Navigation. After attempting to work this out with JavaScript, it hit me that this could be done much easier by using hover states and CSS. After tinkering with that for a few minutes, I had it working.

Tomorrow, when I have a little more time, I’ll probably start working on transitions, and having the sub-menus slide in/out smoothly, as opposed to just appearing/disappearing as they are now.


You don’t always have to overcomplicate things. I was trying to work this functionality out with JavaScript, when in reality, the better way to approach it was with CSS. Work smarter, not harder!

Link to work: