Tell us what’s happening:
Keep getting error message “ Your styles.css file should have the h1, h2, p type selector.” but I have all 3 selectors in style.css file. What am I doing wrong?
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:
iPhone - iOS17.6.1
Challenge: Learn Basic CSS by Building a Cafe Menu - Step 14
Link to the challenge: