Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialHossein Kamalifar
Courses Plus Student 12,016 PointsNext, create a placeholder called warning. Set its font-weight to bold and color to red.
h
.roundy {
width: 150px;
border-radius: 50%;
}
.img-author {
@extend .roundy;
}
.warning {
font-weight: blod;
color: red;
}
5 Answers
james south
Front End Web Development Techdegree Graduate 33,271 Pointsthe syntax for a placeholder is to use the percent sign % not a dot. you are targeting a class called warning, not creating a placeholder called warning. then of course spell bold correctly.
Dipika Purohit
Courses Plus Student 20,955 Points%warning { font-weight: bold; color: red; }
Robert Bennett
11,927 PointsHi, Hossein Kamalifar This is just a typo!!! font-weight: blod; it should read == "bold"
Simple mistake, I always try to proof read my work...
This should help
.warning {
font-weight: bold;
color: red;
}
Hossein Kamalifar
Courses Plus Student 12,016 Pointsthanks for answering my question :)
Thirumalai vasan
iOS Development Techdegree Student 1,534 Points.roundy { width: 150px; border-radius: 50%; }
.img-author { @extend .roundy; }
%warning { font-weight: bold; color: red; }
Robert Bennett
11,927 PointsRobert Bennett
11,927 PointsAs per James South said, .img-author { @extend .roundy; You put a dot or period before roundy. @extend :roundy; It should be this : before roundy.
I hope this helps.
Hossein Kamalifar
Courses Plus Student 12,016 PointsHossein Kamalifar
Courses Plus Student 12,016 Pointsthanks:)