JS Console issue

Under the basics tab of JS part 1, i am following mosh to a T. I have all the same files and typing with no errors. currently after opening the web browser using the index.html live server run. and opening inspect mode i am trying to typeof name and typeof age
typeof name comes back as a string but after changing the object to = 1 it stays a string, its as if none of the information is porting over to the webpage from the VSC folders except for the word display from h1. Can anyone tell me what i need to do

figured it out, src wasnt converting to the correct value. it was just defined as β€˜any’
had to open a new file under html and copy and paste src = index.html after the function performed correct.

1 Like