Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Foundations Selectors Type, Class, and ID Selectors

Ive been stuck in this question and I seriously need help

I don't know what I'm doing wrong. Help ?

<!DOCTYPE html>
    <title>CSS Selectors</title>
    <link rel="stylesheet" href="cc1-main-styles.css" type="text/css" media="screen">
    <link rel="stylesheet" href="style.css" type="text/css" media="screen">
    <h1><em>Hello</em> World!</h1>
    <div id="main">
        <p class="intro">
            <em>Lorem ipsum dolor</em> sit amet, consectetur adipiscing elit. Nunc pulvinar consequat tortor, nec venenatis erat elementum scelerisque. Curabitur sit amet risus nisi. Aenean aliquet euismod augue at viverra. Ut varius arcu in lorem iaculis ullamcorper. Integer eu rutrum quam.
/* Complete the challenge by writing CSS below */
body { background-color: lightblue; }

h1 {
    color: darkblue;

p em {
  color: red;

<div id="my-attribute"></div>

<p class="intro">
.intro {font-weight: bold;}

1 Answer

Curtis Murley
Curtis Murley
2,766 Points

Get rid of all the < > tag's in your .css

.intro {font-weight: bold;}

is all you need

Chase Lee
Chase Lee
29,275 Points

Curtis is right. You most definitely will not use HTML code such as tags in CSS files.