DEV Community

Rusandu Galhena
Rusandu Galhena

Posted on

Light Bulb Challenge

Hi, This is one of the javascript challenges that was quite popular when I was studying Javascript. This challenge is a completly begginer friendly challenge for who ever began to code Javascript.
Bulb challenge is when you create button and when the user presses the button the content changes or in this case, the image of the unlit bulb changes to a lit bulb image when the use clicks on light off button.This challenge is performed by the onclick function in Javascript.
Hope this would be helpfull!!

Top comments (0)