Welcome to Saint-Glinglin! The village gazette is getting ready to go online, but this morning the sign on the newsroom door still says “Closed”. Your job is to open it: there is only one line to change.
Your mission
In public/index.php, on line 3, replace 'Closed' with 'Open', then click ▶ Run tests, top right.
The preview updates with every change: you will see the sign change.
What this line does
$pancarte = 'Closed';
$pancarte (French for sign) is a variable: a box with a name (it starts with $) that holds a value, here the text 'Closed'. Further down, <?php echo $pancarte; ?> prints what it holds into the page. Change the value, and the page follows.
The text stays between its straight quotes '…', and the line ends with a semicolon ;. If the preview shows an error, one of the two has usually gone missing.
Saint-Glinglin is a French village, and its gazette is written by French speakers: the code keeps their French names (
$pancarte,$village…). Each new name is translated the first time it appears.