Learn CSS Variables by Building a City Skyline - Step 4

Tell us what’s happening:
Describe your issue in detail here.


Sorry, your code does not pass. Keep trying.


You should have one self-closing link element.
Your code so far

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>City Skyline</title>
    <link rel="stylesheet" href="styles.css" /> 

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn CSS Variables by Building a City Skyline - Step 4

Link to the challenge:

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL-F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Thanks for your help! I got it to work in incognito mode. Do you know why? I did try the other options and none of them worked.

it could be that your regular mode is running an extension that is preventing the test from working properly.
To find out, you have to disable all your extensions and test without them.
(then add them back one by one till you find a culprit or more than one culprit)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.