Simple Event Listener Project

Hey everyone,

I just created a simple click event listener page, that shows the colours and names of various stars. Here’s the codepen: link. If anyone has other stars and colours to add, please let me know! :smiley:

1 Like

That’s a neat idea, but I’m not seeing any eclipsing. The sky goes darker, but nothing crosses the stars.

Hmm this works fine in IE 11. I’m not entirely sure where the code is not Chrome-friendly…

Update: FIXED IT! TIL that Chrome needs a few more details than IE for everything to work perfectly like the height and width attributes. Completely my fault.

This is very soothing :slight_smile: