Skip to content

[3] Lights On!

LIVE CODE HERE

Day 3 of the challenge and this time we needed to toggle between two images with a button or something similar. I worked on this for a couple of days and for some reason the toggle between the booleans wasn’t working for me. Then, this morning I mentioned it with KC and while troubleshooting it together she mentioned something that made the bulb go off on my head!–pun intended.
Once I fixed the boolean, I rearranged and called it a day. I wanted to do something nicer and make something “appear” when the light came on, but I just didn’t have the time based on homework and finals happening at the same time. Unfortunately for today, good enough was enough. #TodayButNotAlways

Screen Shot 2015-11-23 at 11.44.52 PM

Published in100 Days of Code

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *