This forum is now read-only. Please use our new forums! Go to forums
13/23 Error
Here is the error I am receiving:
Oops, try again. Did you remember to set .standout’s color to #F7AC5F?
Here are my files: (HTML)
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<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>
<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>
</body>
</html>
(CSS) #intro { color: #B83C3A; } .selector { font-family: Verdana; color: #F7AC5F; }
Answer 543bc0909c4e9d142d002459
2 votes
very good you post both your html code and css code, very few people who do that.
in your css, you defined your class as .selector, but selector is mostly used to indicate a placeholder, your class you defined in html (standout) should be the name in the css file.
so .standout { font-family: Verdana; color: #F7AC5F; }
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
3 comments
Oh wow. I can’t believe I did that! I was real tired last night, and I just wanted to get done with this part. Thanks stetim! Also, regarding posting the code, I usually roam around the Q&A seeing if I can be of any help, and I usually see you asking people to post their code, lol.
Anyways, thanks!
small mistakes like this happen, good it is fixed now. i would like to help people, but without code it is hard to help
I agree completely. Thanks again.