Add CSS

Just like with the src/index.html file, now we will copy the contents for the CSS. Here’s an example of a commit doing just that.

gif of following the directions below

  1. Copy the contents of the css tab on Codepen into the src/style.css file.
  2. Spin up the app with npm start and see how things look different. There should be style now, but you should still be unable to play the game.
  3. Quit the app by pressing Ctrl + C in your Command Line Interface.
  4. Save and commit your changes.
Stuck? Open an issue in the repository for this class and mention @githubteacher for help from one of the GitHub trainers!
Continue