Solution does not work on Chrome

Continuing the discussion from freeCodeCamp Challenge Guide: Make Typography Responsive:

Even though the solution and my solution is exactly the same, the test does not pass for my solution.

Sometimes extensions will interfere with freeCodeCamp. Adblockers are one of the ones that prevent tests from running correctly.

2 Likes

Ok, removing Adblocker did not make it work either.

It’s possible that you have another extension that is interfering. It’s also possible that your browser cache got in a weird state.
Try

  • “Reset All Code”
  • Delete the freeCodeCamp session storage and local storage
  • Refresh
  • Log into freeCodeCamp again
  • Retry the challenge (you can just paste in your old solution if you like)

If that doesn’t work there’s probably something like an extension fighting with freeCodeCamp.

It is because of the space between width and the colon :

width :

Should be:

width:

2 Likes

@lasjorg is the real MVP.

1 Like

:sob: So Stupid of me. I used some auto formatter and it did this to me :sob:

If you’re writing your code in a text editor that does automatic formatting, you should be able to change the formatter settings not to put a space before colons.

1 Like

Thanks a lot for sticking around and for this suggestion !