When you change your JavaScript file, you need to save it. After saving it, you need to refresh your browser window for the changes to take effect.
This is one of the most common errors that people face when they find their JavaScript didn’t work—they either forget to save, forget to reload, or both.
Next time, when your code doesn’t update, try saving and refreshing.
Make sure you check “disable HTTP Cache” in your console’s settings.
Disable HTTP cache
Happy Learning💛
Top comments (0)