Lesson 13, add an ID to <h2> error

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/web-beginner-en-WF0CF/2/4?curriculum_id=50579fb998b470000202dc8b

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
“Oops, try again. Did you remember to add the intro ID to the h2 header?”

```

Replace this line with your code.

Result

Introduction

Classes and IDs in CSS

Classes and IDs are super easy in CSS. You're using them right now!

Regular HTML Selectors

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.

<do not remove the three backticks above>

@jtilleyonline,
To assign an id-Attribute into your HTML Element
you will have to use the assignment operator
like

<h2 id="intro">Introduction</h2>

You will also have to change your class-attribute’s

3 posts were split to a new topic: Did you remember to set #intro’s color to #B83C3A?"

2 posts were split to a new topic: I’m still confused on the part where class and id differ

Your using semicolons. Try using an equal sign instead.

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