Skip to content

Commit 0577e40

Browse files
committed
Clarified variable names of the 3 main numbers; added prelim Step 164 text
1 parent 0f05af7 commit 0577e40

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Project8_string_methods/index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,15 @@
3232
<p id="NumberToString"></p>
3333
<hr>
3434
<p>Step 163 (toPrecision):</p>
35-
<p>Choose a single number below (3-10), and a random number will be<br> reformatted to display the exact number of digits you entered.</p>
36-
<input id="SingleNumr" type="number" placeholder="# ???" min="3" max="10" value=""></input><br>
37-
<p id="OriginalRandomNumr"></p>
38-
<button id="TheButton" onClick="toRandomNumr()">Click ME</button>
39-
<p id="NewRandomNumr"></p>
35+
<p>Choose a single number below (3-58), and a random number will be<br> reformatted to display the exact number of digits you entered.</p>
36+
<input id="ChosenNumber" type="number" placeholder="# ???" min="3" max="58" value=""></input><br>
37+
<p id="RandomNumber"></p>
38+
<button id="Button163" onClick="toRandomNumr()">Click ME</button>
39+
<p id="PreciseNumber"></p>
4040
<hr>
4141
<p>Step 164 (toFixed & valueOf):</p>
42+
<p>Click, and the random number (above) will be rounded to the specificed number of decimals.</p>
43+
<p id="FixedNumber"></p>
44+
<button id="Button164" onClick="displayError()">Noc HERE</button>
4245
</body>
4346
</html>

0 commit comments

Comments
 (0)