Learn Basic CSS by Building a Cafe Menu - Step 12

Tell us what’s happening:
It gives an error saying i shouldn’t add a new style tag and that i should make my changes on the existing one. Well, thats what i did, the output is also correct. What am i suposed to do?

thanks in advance

Your code so far

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
      h1 {
        text-align: center;
      h2 {
        text-align: center;
      p {
        text-align: center;
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 12

Link to the challenge:

For this project you should be using a css style sheet rather than any style tags in the html itself.

so i should create a new .css file containing all this css stuff rather than putting it on the html document itself?

and how do i create the style sheet? im trying to figure it out but i have no ideia how do i create the new css file

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.

looks like “dark reader” extension was messing it up, i’ve had this same issue with dark reader before, isn’t there any extension like this one that doesn’t cause errors on freecodecamp? oh and thanks for the help

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