Here you can Get a view toward website,Where I used HTML and CSS with some basic of javascript. You can view web page below! https://vinaychaurasiyaa.github.io/VinayChauarasiyaA.github.io/
Mostly if you get curious about how my light is working I have explained below.
MOST ASKED QUESTIONS
So... Proceeding Toward explanation. I used a image of light where i flexd it towards opening of the light lamp image, then i put it's opacity 0 as a default as soon as you'll click on button opacity will become 1, for this i used javascript's toggle. Where i created variables and toggle them as soon as i'll click with little latency we'll get opacity to 1!