Since your code runs fine, do you know how to access your browser’s console log? I believe most if not all browsers make it accessible through the [F12] key. Google “browserName dev tools” if it doesn’t work. Once there, select console on the menu, and you should see your output (and errors when applicable).
Also, the script needs to either be pasted into the console, or embedded in an html page, which is simple. See just about any js example on W3schools to see how that should work. Later Codecademy tutorials cover how to embed JS code directly in HTML (as in the W3 examples) and embedding the script.js files themselves.
You can also stick it the output in an
alert() for a popup with your output if there isn’t an annoying amount of them to generate. Example:
alert('Race is 2-mile walk.');