# JS Console issue

**URL:** <https://forum.codewithmosh.com/t/js-console-issue/9309>\
**Category:** JavaScript\
**Created:** [December 20, 2021, 6:03pm UTC](https://forum.codewithmosh.com/t/js-console-issue/9309 "2021-12-20T18:03:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![demoralizingtalent](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@demoralizingtalent](https://forum.codewithmosh.com/u/demoralizingtalent)\
**Post date:** [December 20, 2021, 6:03pm UTC](https://forum.codewithmosh.com/t/js-console-issue/9309/1 "2021-12-20T18:03:31Z")

</div>

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

 ![unknown_2021.12.20-12.02](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/a/ab7d075ac91d7cdd255abf2311bbffe44e061ad1.png)  
 ![unknown_2021.12.20-12.04](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/268c8bf29fcf8b9c754cd8a988cdbfdc5733c16a.jpeg)

---

<div class="post-metadata">

**Author:** ![demoralizingtalent](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@demoralizingtalent](https://forum.codewithmosh.com/u/demoralizingtalent)\
**Post date:** [December 20, 2021, 6:42pm UTC](https://forum.codewithmosh.com/t/js-console-issue/9309/2 "2021-12-20T18:42:03Z")

</div>

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.
