Start by naming a fixed value and a value you can update. This task uses a food label and a favorite number rather than a scoreboard.
Variables give names to values so you can reuse them. const prevents reassignment of a name; let permits it. The example's += 2 is shorthand for returnedBooks = returnedBooks + 2. In your task, start at 5 and then assign 8 rather than adding 8.
A declaration introduces a name once. A later assignment uses that name without repeating let: writing returnedBooks = 9 replaces its current value. By contrast, returnedBooks += 2 reads the old value, adds 2, then stores the result.
The initial and updated probes sit on opposite sides of your assignment. They record the value at those two moments; changing the number later does not rewrite an earlier Console line.
const sectionLabel = "History";
let returnedBooks = 4;
returnedBooks += 2;
console.log(`${sectionLabel}: ${returnedBooks}`);
Edit script.js, Run to inspect each checkpoint, then Submit to check the completed tasks. The supplied probes do not need rewriting.
favoriteFood to "tacos"; the provided probe will log food: tacos.favoriteNumber to 5; the provided probe will log initial number: 5.favoriteNumber to 8; the provided probe will log updated number: 8.tacos | 8 on its own line using both variables.Use const for the food because it does not change.
Use let for the number because you need to reassign it.