CSS ID number sign

What am i missing here?

The exercise says: To select an element’s ID with CSS, we prepend the id name with a number sign ( # ). For instance, if we wanted to select the HTML element in the example above, it would look like this:

But when i go to see solution because my code is wrong it dispays: id=‘article-title’


I believe that the example is showing #large-title{ }
as an example id, to show you how to format them. But the actual solution is one where the id is article-title.

That is the intended attribute to write into the specified HTML element.

<h2 id="article-title">Article Title</h2>

Your example above is what is written into the CSS (style sheet) to specify that singular element.

id="article-title"  =>  attribute

#article-title      =>  selector