Learn Basic CSS by Building a Cafe Menu - Step 16

Tell us what’s happening:
Describe your issue in detail here.
The error message is : Your link element should have an href attribute with the value styles.css………I don’t understand
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <link href="style.css"

<!-- User Editable Region -->

      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
/* file: styles.css */
h1, h2, p {
  text-align: center;

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/93.0.4577.78 Mobile/15E148 Safari/604.1

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

Link to the challenge:

Yes, the error message is correct because in you your code

you have style.css instead styles.css

1 Like

Thanks Broo😅……A sillly typo

…causing a silly error :sweat_smile:

It’s not a crime, every developer or software engineer has been into such silly mistakes. I have been a victim in some many cases.
kindly mark your question solved.
Happy coding…

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