Week 6
Main topic: Javascript arrays and for-loops
-
HTML tutorial
- Forms
-
CSS tutorial
- Visibility and Layout
-
Javascript tutorial
- Loops & Iterables
Tasks
Remember to keep your code organized!
For each week, make a new folder. Example: week6
Keep each task in a seperate HTML file. Example: task1.html
Hints
let myElement = document.getElementById("name-of-my-id");
- myElement.innerHTML
- myElement.value
- myElement.onclick
let myArray = [];
- myArray.push()
- myArray.pop()
- for (let i = 0; i < myArray.length; i++) { .. }
- for (let item of myArray) { .. }