Am trying to save my style in a style.css file but it keeps displaying this message that “Your styles.css file should have the h1, h2, p type selector”. Please what should I do, it keeps displaying the same error message.
My code so far
/* file: index.Ext.html */
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<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;
}
My mobile information:
Infinix X6525 - Android 13 - Android SDK 33
Challenge:** Learn Basic CSS by Building a Cafe Menu - Step 14
Link to the challenge: