- Click the fork button in the top right corner of this webpage, to create a copy of this repository under your repos.
- Open your terminal or git bash and navigate to your repos folder.
- Use
git clone
, followed by the url of the repository, to clone down the repository to your machine. The command should look likegit clone https://github.com/YourUser/CSS-KenKen.git
- cd into the KenKen folder that you cloned down into your Repos folder
- Once inside the KenKen project folder, use
code .
to open an instance of VS Code at your location in the terminal.
Recreate the 4x4 KenKen Board below using the HTML elements given in the index.html file for this exercise
- Look over the index.html file. Take note of the structure of the elements, classes, and ID's.
- Style the
body
to display thewidth, height, margin, and background color
that you want. Remember that the body encapsulates everything on the webpage so this will affect all elements being displayed. - Create a grid using the
grid class
. Remember the shape and structure of the KenKen board you're trying to recreate to guide the size of your rows and columns. Also give your grid a nice size. 800+ pixels should do it. - Give your
grid items class
a background color that you like. - Go through each
box# id
and give it the proper borders to mimic the example image above.