# Exercise 01: Predict before reload

Work in a copy of examples/01. Do not edit the reference while following along.

## A. Predict (fully guided)
Write the results of `2 + 3 * 4` and `(2 + 3) * 4` before running them. Explain which operation happens first. Run both in your own local Console, then compare.

## B. Repair (one clue)
Change `console.log(siteName)` to `console.log(sitename)`. Read the first relevant error. Record its type and repair only the cause. Hint: names are case-sensitive.

## C. Transfer (less guidance)
Create a new plain-text welcome.js beside your copied page. Make it log a fictional event title and the result of 18 minus 6. Change the page to load welcome.js. Submit the files and one sentence distinguishing a missing file from a JavaScript error.

## Evidence
A saved source file, the predicted values and the observed Console output. Success: 14 and 20 for A, the original name restored for B, and your title plus 12 for C.

[Return to lesson](../lessons/01.html) · [Explained answer](../solutions/01.html)
