Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-andrews committed Apr 5, 2023
1 parent a973f18 commit 9ee4cf4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 25 deletions.
14 changes: 6 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<title>Checkerboard</title>
</head>
<body>
<!-- NO EDITING THIS HTML FILE!!! STAY AWAY!!!! -->
<script type="text/javascript" src="script.js"></script>
</body>
</html>
<head>
<title>Checkerboard</title>
<script defer src="script.js"></script>
</head>
<body></body>
</html>
18 changes: 2 additions & 16 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,13 @@ As always, fork and clone this repo. Submit the link to your fork when you're d

### Checkerboard

On the master branch, write code to generate a checkboard pattern as seen below:
On the master branch, write code to generate a checkerboard pattern as seen below:

![Screen Shot 2015-05-12 at 9.28.07 PM.png](https://draftin.com:443/images/29112?token=H321vjS2Gw41xPTjzAyQEaanRGjm6cAAskSoQgbnGA3El3ojEIP8BRWE8sjyUGBBkd7o1MKNRCpIzYc32qvwsyQ)

**The Rules**

Your `index.html` must look like this:

```
<!DOCTYPE html>
<html>
<head>
<title>Checkerboard</title>
</head>
<body>
<script type="text/javascript" src="script.js"></script>
</body>
</html>
```

You are not allowed to add any other elements to the html file, which means that you must create all the tiles dynamically. Same goes for CSS: no CSS in the html file or in a separate stylesheet. You must set all the style properties using Javascript.
You are not allowed to edit the html file, which means that you must create all the tiles dynamically. Same goes for CSS: no CSS in the html file or in a separate stylesheet. You must set all the style properties using Javascript.

**Hints**

Expand Down
1 change: 0 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
// Your JS goes here

0 comments on commit 9ee4cf4

Please sign in to comment.