Learn Basic CSS by Building a Cafe Menu - Step 14

Hi, I’m new in this and I didn’t understand what I’m doing wrong, the hint says “Your styles.css file should have the h1, h2, p type selector.” Ive read in others post that this bug is normal in mobile phones, I hope someone can read this and help me, thanks.

Your code so far

/* file: index.Ext.html */

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

/* file: styles.Ext.css */


      h1, h2, p {
        text-align: center;
      }



Your mobile information:

23117RA68G - Android 15 - Android SDK 35

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

Link to the challenge:

Hi and welcome to the forum!
Yes, this step doesn’t pass on the mobile app. Your code is correct.
Have you tried using the web version only for this step?

1 Like

Hi! Thanks for help me, I will try again on the web version. Have a great day!

1 Like

Hey Buddy kindly do refresh your page or you can try a different new search engine.

Or you can clear catche of your chrome browser after that you will be able to pass this test.

Hope You Understand.

1 Like