I finished the first step, and I have typed out the second step but when I click “Run”, the instructions to not advance. I have it programmed correctly, and the console updates depending on what I code, but the instructions do not advance.
Here’s what I have:
var hungerLevel = 5;
if (hungerLevel > 7) {
console.log(‘time to eat!’);
} else {
console.log(‘Let’s eat later’);
}
t
in time to eat!
should be capitalized:
console.log('Time to eat!');
@jack.mceligot
Could you provide the link to this exercise
just make sure all capital are put where needed
I changed it, and I have it printed exactly as I should, but still nothing happens. I don’t get an error message either.
I just reset the exercise and typed everything exactly as I had before, and it worked. I think this exercise is buggy or something.
@jack.mceligot
Maybe…a refresh Browser would have helped…
++++ reset of session *****************
under certain circumstances you can shoot your Browser in an
inconsistent state.
Therefor it is of an advantage to know that you have 2 reset facilities:
One is the use of the F5-key which does a refresh Browser
and
Two, select© your code
Then use the Reset Code button of the course-window,
then paste your code back in.
Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.