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)