Skip to content

Commit 737b6c0

Browse files
committed
'Random Background Color Changer' docs: README.md update main REAEME.md (variation_2)
1 parent a846737 commit 737b6c0

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ In this project, you will help CamperBot build a random background color changer
1010
<summary>
1111
<h4>Description of the Tasks</h4>
1212
</summary>
13+
<details>
14+
<summary>
15+
<h5>Step 3</h5>
16+
</summary>
17+
<p>
18+
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:
19+
</p>
20+
<p>
21+
<details>
22+
<summary>
23+
<h5>Example Code</h5>
24+
</summary>
25+
<code>0.015882899879771095</code><br>
26+
<code>2.114596286197641</code><br>
27+
<code>6.040964780197666</code><br>
28+
</details>
29+
</p>
30+
<p>
31+
Update the <code>console</code> statement to print a whole number between <code>0</code> and <code>9</code>.
32+
</p>
33+
<p>
34+
Remember that you worked with a method in the Role Playing Game that rounds a number down to the nearest whole number.
35+
</p>
36+
</details>
1337
<details>
1438
<summary>
1539
<h5>Step 4</h5>

__3__step__/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
<a id=top></a>
22

3+
<details>
4+
<summary>
5+
<h4>Description of the task</h4>
6+
</summary>
7+
<h3>Step 3</h3>
8+
<p>
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+
</p>
11+
<p>
12+
<details>
13+
<summary>
14+
<h5>Example Code</h5>
15+
</summary>
16+
<code>0.015882899879771095</code><br>
17+
<code>2.114596286197641</code><br>
18+
<code>6.040964780197666</code><br>
19+
</details>
20+
</p>
21+
<p>
22+
Update the <code>console</code> statement to print a whole number between <code>0</code> and <code>9</code>.
23+
</p>
24+
<p>
25+
Remember that you worked with a method in the Role Playing Game that rounds a number down to the nearest whole number.
26+
</p>
27+
</details>
28+
329
# Random Background Color changer
430

531
Debugging is the process of going through your code, finding any issues, and fixing them.

0 commit comments

Comments
 (0)