How to link CSS on codepen

Pls can anyone help me out in what’s wrong,my code isn’t linking with the CSS on codepen

Below is my link

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; TECNO K7 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36.

Challenge: Build a Tribute Page

Link to the challenge:

Hello there.

Some things to note when using CodePen:

  1. CodePen does not expect any content outside the body tags in the HTML box.
  2. All meta, link, and script information must be put in the :gear: settings section of the HTML editor.
  3. You do not need to/cannot link the CSS in your HTML, just place the CSS in the appropriate section.
  4. The editors offer the ability to format and analyze your code, providing useful information about forgotten closing tags etc.
  5. Keep the script tag when forking the pen with the test script <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

If you are still confused with how to use CodePen, please read the official documentation.

Also note that you should not copy the sample project, but make the project with your own style and conctent.

Hope this helps

1 Like

In codepen html box is just for stuff inside the <body> tag…
If you want to add anything in <head> section, then you can add it in settings…
another thing: https://domain/path.css is not a valid document, you can write all of your css in codepen css box…