This forum is now read-only. Please use our new forums! Go to forums
banner
Close banner
Oops, try again. Did you remember to add the standout class to the first h3 header?
hello I am stucked here. hope will get some help here.
<h2 id="intro">Introduction</h2>
<h3 class="Standout">Classes and IDs in CSS</h3>
<p class="standout">Classes and IDs are super easy in CSS. You're using them right now!</p>
and CSS #intro{ color:#b83c3a; }
.standout{ color:#f7ac5f; font-family:Verdana; }
but i get this massage. “Oops, try again. Did you remember to add the standout class to the first h3 header?”
Answer 55ce2bf19113cb046500010d
1 vote
Mine looks right to me…
</head>
<body>
<h2 id="intro">Introduction</h2>
<h3 id="standout">Classes and IDs in CSS</h3>
<p id="standout">Classes and IDs are super easy in CSS. You're using them right now!</p>
<h3>Regular HTML Selectors</h3>
<p>If you don't bother with a class or ID, an HTML element just gets
the regular CSS styling for that element—or the default styling if you
don't specify any particular styling on the stylesheet.
</p>
But I keep getting an error saying I missed the standout in h3 :(
Here’s my CSS:
#intro {
color: #B83C3A;
} #standout { color: #F7AC5F; font-family: Verdana; }
Am I missing something? I’m going cross eyed from scrutinising it!
Answer 55c7f6079113cb64b00004b8
0 votes
you capitalized the first “standout”. They both need to be lower case, other wise they are different tags.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
Managed to work out what I did wrong (with some help!). Instead of putting classes, I was using the id tag; and instead of .standout in the CSS, I was using #standout. It’s all good now.