The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.
thanks , jwilkins.oboe for your answer .
so I checked and " Installed extensions You haven’t installed any extensions " also my zoom level in on 100% also checked , no Dark Mode and Ad Blocker and also all the other exercise until that one worked and also the one after , just that one doesnt
Thanks Fierceincii ,
looks like the code is running without errors and do what it suppose to do , but when i run the test , it does not except it .
so i checked and i saw those two errors in the console "
/page-data/fcc08bc5ac7-7f9b-408a-8c98-c21db21fc267/page-data.json:1 Failed to load resource: the server responded with a status of 404 ()
/fcc08bc5ac7-7f9b-408a-8c98-c21db21fc267:1 Failed to load resource: the server responded with a status of 404 ()"
so I copied the source code that i get from the browser when i inspect it .
/* Add your code below this line */
/* Add your code above this line */
It does sound like a potential cache issue. Copy the code, reset the challenge, press F12 then left-click and hold the reload button and select “empty cache and hard reload” at the bottom. Paste in your code and try the submit again.
You can also try in a new InPrivate window just to test (but you won’t be logged in so you have to do it again).
If that doesn’t work it is possibly some network issue, which will usually clear itself at some point. If it doesn’t let us know.
Hi Iasjorg ,
thanks for the reply .
i followed your instructions , the empty cache and hard reload didnt helped
also opened an incognito window and tried it and it didnt work .
everything else works just this section isnt .
this is the error i saw in the console , its 404