Simple Event Listener Project

Simple Event Listener Project
0

#1

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:


#2

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


#3

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.


#4

This is very soothing :slight_smile: