I understand most of the logic, however, I'm confused on how to change visual states of the game. My current solution (https://codepen.io/Matt-CopOffMatt/pen/rNPNwBG) has the game logic for choosing winner vs computer. However, I need to change the layout based on the results (see attached pictures)
How do I go about doing this? Do I just create these elements, add
display: none;
display: none;
and display / remove current section's contents accordingly? Thanks