[Solved]Why isn't javascript's latest code running in browser? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

[Solved]Why isn't javascript's latest code running in browser?

I have been running my js on chrome. But the changes I did doesn't show up. (It is to be noted that i saved my files and refreshed the page) When i enter into inspect-> source, it looks like the browser is running a cached or older version of the code. How do i fix it? P.s: My chrome is in the latest version https://www.sololearn.com/post/1241417/?ref=app https://www.sololearn.com/post/1241418/?ref=app Edit:The problem is solved. I went to settings and cleared "catched images and files". Thanks for trying to solve it though

16th Aug 2021, 2:42 AM
Tausimman Minuha¯\_(ツ)_/¯
Tausimman Minuha¯\_(ツ)_/¯ - avatar
5 Answers
+ 1
maybe you need to update your hungry browser.
16th Aug 2021, 2:45 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
May update Chrome Browser. Are you using Live Server?
16th Aug 2021, 2:59 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
+ 1
I am not using live server. (I don't know what live server is in js honestly. Kindly tell me about it. I have only used live server in scss) I will try updating chrome thanks
16th Aug 2021, 3:01 AM
Tausimman Minuha¯\_(ツ)_/¯
Tausimman Minuha¯\_(ツ)_/¯ - avatar
+ 1
You can also use live server for js. What is Live Server? Live Server is an extension also available in VS Code by which you don't need to reload your website everytime when you make changes in your html, css, js documents. It will start a server at your localhost.
16th Aug 2021, 3:03 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
0
You mean update chrome?
16th Aug 2021, 2:46 AM
Tausimman Minuha¯\_(ツ)_/¯
Tausimman Minuha¯\_(ツ)_/¯ - avatar