This is a JavaScript homework assignment from my Front End Web Development course at General Assembly. If I were to do this assignment again I would use JavaScript instead of CSS to make the caution light pulse, and I would not rely on the buttons’ text to determine which button was clicked. Feel free to play around with it in CodePen.
Chat about this?
Send a comment