Can't se my js file in console

Im on the last part of javascript course.
we are supposed to practice doing small .js files and I’m doing person.js but the code won’t show up in console? I use console.log(“fva, kv, dd”); and everything looks correct but the code doesn’t show up in console? I see it in the browser and under sources.
whats the problem do u think?
thanks//

Hey @JonBen, hope you are great.

Could you please share an screenshot of your console, also your code will be nice to take a look on it :face_with_monocle:

Please follow this guide to post your code correctly:
https://academy.ivanontech.com/lessons/how-to-post-code-in-the-forum

Carlos Z

1 Like
console.log("tore, 070775544, liebäcksgatan");

Oh ok, browsers are not mean to run directly a JS code, so you will need to create an html doc and inside of the scripts tags of it, type your JS code, if you are watching the JS course, take your time to watch the videos where they explain the console and run JS in a html document :nerd_face:

Carlos Z

yea right thank you, been doing html docs the whole course but in the end I understood it as we should wright only JS in atom. but it makes sense!
thank you @thecil, you’re the man!

1 Like