Skip to content

Commit dfb8cee

Browse files
committed
added index.html file
1 parent 53294ef commit dfb8cee

2 files changed

Lines changed: 23 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ This challenge focuses on using the `this` keyword as well as getting comfortabl
55

66
* Fork/Clone this repository.
77
* Complete all the exercises as described inside each assignment file.
8-
* Use `console.log()` statements to check to see if your code does what it is supposed to do.
9-
* To test your `console` statements you can run `node /assignments/<fileName>` and see what prints in your terminal. You can also use an online tool like `JSBin`, `REPL.it`, `JSFiddle`, or even your `Chrome developer console`.
8+
* To test your `console.log()` statements, open up the index.html file found in the assignments folder and use the developer tools to view the console.
109
* Once you finish the exercises in each file, commit your code, and push it to your fork.
1110

12-
### The `this` keyword
11+
## The `this` keyword
12+
1313
Having a solid understanding of how `this` works will give you a huge advantage when you start building with more advanced frameworks. Use the [this.js](assignments/this.js) file to traverse through a few `this` problems.
1414

15-
### Prototype
15+
## Prototype
16+
1617
The prototype challenge will focus on building prototypes for a fantasy themed game that includes mages, swordsmen, and archers. Follow the [prototypes.js](assignments/this.js) instructions closely to create the beginnings of what could be an awesome JavaScript game.
1718

1819
* Read the instructions found within the file carefully to finish the challenges.
19-
* Remember to uncomment the objects and console logs to test your work at the bottom of the page.
20+
* Remember to un-comment the objects and console logs to test your work at the bottom of the page.

assignments/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!doctype html>
2+
3+
<html lang="en">
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
8+
<title>JS III</title>
9+
10+
<script src="this.js"></script>
11+
<script src="prototypes.js"></script>
12+
</head>
13+
14+
<body>
15+
<h1>JS III - Check your work in the console!</h1>
16+
</body>
17+
</html>

0 commit comments

Comments
 (0)