the code
p id="demo" /p
script:
var text = "";
var i; // i is the counter
for (i = 1; i //greater than 21; i++) {
//i starts at 0; i++ incrememnts i by one
text += "The number is " + i + "br";
// += oparator appends the value
}
document.getElementById("demo").innerHTML = text;
/script
Missile List
Missile List
You have $1000, you spend $30 on shoes,
$350 on a computer, and get $25 for your birthday.
How much do you have now?
Caveman Al has 14 stones,
caveman Bob has thirteen fish,
you can buy one fish for 1 stone,
and caveman Al wants to buy 14 fish.
Will caveman Bob have enough fish?
A = Yes B = No C = IDK
Output here
Output here
TYPE IN YOUR OUTPUTS FROM BEFORE!
DO IT!
DO IT!
DO IT!
#
Where it is
Brightness
Model
1 = left mouse button 2 = right mouse button 3 = right and left button
4 = scroll wheel 5 = left and scroll wheel 6 = right and scroll wheel 7 = all of em'
Click somewhere in the doc. An alert box will tell you if the ALT key was pressed when the onmousedown event occured
TIP:try to press and hold down the ALT key before you click the DOC.
P.S. hover over the "paragraphs above", hold ALT. and click it!
A function is triggered when you roll the mouse wheel over div. The function sets the font-size of div to 35 pixels.
Note: The wheel event is not supported in Safari and IE8 (and earlier).