You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,34 @@ In this project, you will help CamperBot build a random background color changer
10
10
<summary>
11
11
<h4>Description of the Tasks</h4>
12
12
</summary>
13
+
<details>
14
+
<summary>
15
+
<h5>Step 1</h5>
16
+
</summary>
17
+
<p>
18
+
CamperBot is trying to build out a random background color changer. But they keep running into issues and need your help to debug the code
19
+
</p>
20
+
<p>
21
+
CamperBot has already added the HTML and CSS for the project. But they are confused as to why none of the styles and content is showing up on the page.
22
+
</p>
23
+
<p>
24
+
When they open up the console they see this message:
Syntax errors are thrown when the JavaScript engine encounters something it can't interpret. In this case, it looks like CamperBot has syntax errors in the <code>darkColorsArr</code> array.
36
+
</p>
37
+
<p>
38
+
Fix the syntax errors in the <code>darkColorsArr</code> array and you should see the content and styles show up on the page.
39
+
</p>
40
+
</details>
13
41
<details>
14
42
<summary>
15
43
<h5>Step 2</h5>
@@ -39,7 +67,6 @@ In this project, you will help CamperBot build a random background color changer
39
67
<p>
40
68
Now that the <code>ReferenceError</code> is resolved, the console is displaying the correct results for a random number between <code>0</code> and <code>9</code>. But CamperBot was not expecting to see decimal numbers like these:
41
69
</p>
42
-
<p>
43
70
<details>
44
71
<summary>
45
72
<h5>Example Code</h5>
@@ -48,7 +75,6 @@ In this project, you will help CamperBot build a random background color changer
48
75
<code>2.114596286197641</code><br>
49
76
<code>6.040964780197666</code><br>
50
77
</details>
51
-
</p>
52
78
<p>
53
79
Update the <code>console</code> statement to print a whole number between <code>0</code> and <code>9</code>.
Copy file name to clipboardExpand all lines: __1__step__/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,35 @@
1
1
<aid=top></a>
2
2
3
+
<details>
4
+
<summary>
5
+
<h4>Description of the task</h4>
6
+
</summary>
7
+
<h3>Step 1</h3>
8
+
<p>
9
+
CamperBot is trying to build out a random background color changer. But they keep running into issues and need your help to debug the code
10
+
</p>
11
+
<p>
12
+
CamperBot has already added the HTML and CSS for the project. But they are confused as to why none of the styles and content is showing up on the page.
13
+
</p>
14
+
<p>
15
+
When they open up the console they see this message:
Syntax errors are thrown when the JavaScript engine encounters something it can't interpret. In this case, it looks like CamperBot has syntax errors in the <code>darkColorsArr</code> array.
27
+
</p>
28
+
<p>
29
+
Fix the syntax errors in the <code>darkColorsArr</code> array and you should see the content and styles show up on the page.
30
+
</p>
31
+
</details>
32
+
3
33
# Random Background Color changer
4
34
5
35
Debugging is the process of going through your code, finding any issues, and fixing them.
Copy file name to clipboardExpand all lines: __3__step__/README.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@
8
8
<p>
9
9
Now that the <code>ReferenceError</code> is resolved, the console is displaying the correct results for a random number between <code>0</code> and <code>9</code>. But CamperBot was not expecting to see decimal numbers like these:
10
10
</p>
11
-
<p>
12
11
<details>
13
12
<summary>
14
13
<h5>Example Code</h5>
@@ -17,7 +16,6 @@
17
16
<code>2.114596286197641</code><br>
18
17
<code>6.040964780197666</code><br>
19
18
</details>
20
-
</p>
21
19
<p>
22
20
Update the <code>console</code> statement to print a whole number between <code>0</code> and <code>9</code>.
0 commit comments