Skip to content

TannerDrayton/CSS-KenKen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSS-KenKen

  1. Click the fork button in the top right corner of this webpage, to create a copy of this repository under your repos.
  2. Open your terminal or git bash and navigate to your repos folder.
  3. Use git clone, followed by the url of the repository, to clone down the repository to your machine. The command should look like git clone https://github.com/YourUser/CSS-KenKen.git
  4. cd into the KenKen folder that you cloned down into your Repos folder
  5. Once inside the KenKen project folder, use code . to open an instance of VS Code at your location in the terminal.

Exercise 1

Recreate the 4x4 KenKen Board below using the HTML elements given in the index.html file for this exercise

Example KenKen Board

  1. Look over the index.html file. Take note of the structure of the elements, classes, and ID's.
  2. Style the body to display the width, 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.
  3. 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.
  4. Give your grid items class a background color that you like.
  5. Go through each box# id and give it the proper borders to mimic the example image above.

About

KenKen Exercise for CSS: Flex Box & Grid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages