100 Days of Code: Day 008

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.

Thoughts:

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!