Submitted over 2 years ago
Responsive Advice generator using sematic html, css and Javascript
@vincentstoop
Design comparison
SolutionDesign
Solution retrospective
This is my solution for this challenge. I'm having difficulties in making my javascript code work in Firefox. On my macbook it works in Chrome, Safari and Opera, but in Firefox it only works on page load, but for some reason it doesn't work when I click the button, even though all console.log
statements do appear in the inspector. I hope someone knows the solution for this issue...
Community feedback
- @lipe11Posted over 2 years ago
hi... the issue is the cache on firefox.
you can fix it like this
fetch(url, {cache: 'no-cache'})
cheers
Marked as helpful0@vincentstoopPosted over 2 years ago@lipe11 Thanks! This does indeed solve the issue!
Cheers!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord