This activity focuses on outputting/manipulating strings and dates as content of HTML elements.
Beginner activities based on a simple Tip Calculator.
Javascript features used in this script:
- Right after the yellow text in the first code example
- Anything in quotes: "textval"
- document.getElementById("textval").value+=val
- The first example they show
- Any list in square brackets ['words', 'words', 'words']