4. Not printing to Console but code is right. Refresh Solution


#1

Hey all,

I spent a bunch of time trying to figure out what was wrong with my code on this problem. Upon submitting the code I was given the green light saying I passed, however nothing printed in the console.

Thanks to user elev8eng for his answer below, I found out that merely refreshing the browser and submitting again my code printed. If you feel your code is correct, try refreshing your browser.


#2

@setfloat,

++++ reset of session *****************
As you are manipulating with objects
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&copy 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