RGB guessing game issues

RGB guessing game issues
0

#1

Hi,

  1. I’m trying to get my “easy button” and my “hard button” to line up nicely on the right of the “subSubHeader” in line with the New colors button, any suggestions?

  2. Whenever the game ends and the new colors button turns in “play again?”, the button stops working. Im speculating that this may have something to do with event bubbling from me deactivating the clicking from the colour divs?

Note: this was my first substantial javaScript application so theres alot of WET code, apologies.

https://codepen.io/Modestas/pen/JrmqwW


#2

Set the subheader class to display: flex and justify-content: space-around.

I have to look into #2.