Click here to test out the example exam questions listed below:
| example code | result |
|---|---|
| alert("x" + 2 + 3); | x23 |
| alert("x" + (2+3)); | x5 |
| alert("2" + "3"); | 23 |
| alert(2 + "3"); | 23 |
| alert(2 + 3 + "x"); | 5x |
| alert(2 + 3); | 5 |
For the second problem, we first reviewed some notes on CSS. I will update those between now and Thursday, but after Thursday's lecture, that topic will be frozen, and there will be nothing new about CSS you'll need to know for the final exam.