Main Page
- Drawing images
- Manipulating DOM
- DOM Creating content
- DOM working with data
1) Hello World, JavaScript
What is 6 times 7?
Input
xxxxxxxxxx
alert(6 * 7);
Output
alert(6 * 7);
alert(6 * 7);
2) Change Content
Where's Wally?
Input
xxxxxxxxxx
document.body.innerHTML = 'Wally was here';
Output
document.body.innerHTML = 'Wally was here';
document.body.innerHTML = 'Wally was here';