Question: In this exercise, you will create a 7 x 7 checkerboard using only Javascript. Each color of the board should be a div element. The
In this exercise, you will create a x checkerboard using only Javascript.
Each color of the board should be a div element. The first div should be black, and should alternate colors from black to red.
Each div should be pxin height, and should be evenly stretched in the console. If there are spaces, what percentage of a screen would each one need to take up
Use the for loop provided for you to help create the board!
You wont have to change any of the CSS styling in the head, as long as the you set the correct width for each div. You should have divs Use the for loop to help you
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
