|
8 | 8 | <title>Math Operators Assignment - Steps 78 - 94</title> |
9 | 9 | </head> |
10 | 10 | <body> |
11 | | - <p onClick="randomNum()">Click this line of text (repeatedly) to display random numbers, below...</p> |
| 11 | + <p onClick="randomNum()"><u>Step 78</u>: Click this line of text (repeatedly) to display random numbers, below...</p> |
12 | 12 | <p id="Math"></p> |
13 | 13 | <hr /> |
14 | | - <p onClick="subtraction()">Click here for examples of subtraction...</p> |
| 14 | + <p onClick="subtraction()"><u>Step 80</u>: Click here for examples of subtraction...</p> |
15 | 15 | <p id="Subtraction"></p> |
16 | 16 | <hr /> |
17 | | - <p onClick="multiplication()">For multiplication, please click here for examples...</p> |
| 17 | + <p onClick="multiplication()"><u>Step 82</u>: For multiplication, please click here for examples...</p> |
18 | 18 | <p id="Multiplication"></p> |
19 | 19 | <hr /> |
20 | | - <p onClick="division()">And click here for examples of division, displaying below...</p> |
| 20 | + <p onClick="division()"><u>Step 82 (cont'd)</u>: And click here for examples of division, displaying below...</p> |
21 | 21 | <p id="Division"></p> |
22 | 22 | <hr /> |
23 | | - <p onClick="allAtOnce()">Clicking this line begins a JavaScript calculation involving multiple math operators;<br> |
| 23 | + <p onClick="allAtOnce()"><u>Steps 84 & 86</u>: Clicking this line begins a JavaScript calculation involving multiple math operators;<br> |
24 | 24 | <ol> |
25 | 25 | <li>A random number is chosen: <p id="RandNumb"></p>.</li> |
26 | 26 | <ul> |
|
32 | 32 | <li>Keep repeating with the result:<p id="Results"></p></li> |
33 | 33 | </ol> |
34 | 34 | <br> |
35 | | - ...which will eventually equal "1"!<br><br>This math gem works regardless of <em>WHICH</em> number you start with!</p> |
| 35 | + ...which will eventually equal "1"!<br><br>(This math gem works regardless of <em>WHICH</em> number you start with!)</p> |
36 | 36 | <p id="Multiples"></p> |
37 | 37 | <hr> |
38 | | - <p onClick=negation()>Click here for an example of the Negation (-) Operator, which returns the opposite (or negative) of an operand:</p> |
39 | | - <p id="negation"><br><p id="Negation"></p> |
40 | | - |
| 38 | + <p onClick=negation()><u>Step 88</u>: Click here for an example of the Negation (-) Operator, which returns the opposite (or negative) of an operand:</p> |
| 39 | + <p id="negation"><p id="Negation"></p> |
| 40 | + <hr> |
| 41 | + <p onClick="increment()"><u>Step 90</u>: Here's an example of the Increment (++) Operator, increasing a value by +1 (click this line of text):</p> |
| 42 | + <p id="Increment"></p> |
| 43 | + <hr> |
| 44 | + <p onClick="decrement()"><u>Step 90 (cont'd)</u>: ... while this is an example of the Decrement (--) Operator, decreasing a value by -1 (yes, click here):</p> |
| 45 | + <p id="Decrement"></p> |
41 | 46 | </body> |
42 | 47 | </html> |
0 commit comments