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 trialequippers
Courses Plus Student 595 PointsMy class CSS is not being applied. I make sure I have my "." in place when writing it in my CSS file.
My class CSS is not being applied. I make sure I have my "." in place when writing it in my CSS file.
------HTML------- <h2 class="section title">Summary of Qualifications</h2>
------CSS------ .section-title { text-transform: uppercase; }
1 Answer
Shay Paustovsky
969 PointsHi Katie,
There's a (' - ') between section and title which indicates that they are 2 separate classes. but in the .CSS you've written it like it's one class. instead of:
.section-title {
text-transform: uppercase;
}
like this
.section {
text-transform: uppercase;
}
.title {
text-transform: uppercase;
}
OR IT'S SIMPLY A MISSING (' - ') between class values. if a class attribute has 2 or more values not separated by commas it means this element has multiple classes and can be referred in the CSS in each of those classes.
Hope this has helped you, HAPPY CODING
Shay
Erik L
Full Stack JavaScript Techdegree Graduate 19,470 PointsI have a question, how do we copy and paste snapshots of code into the comments?
equippers
Courses Plus Student 595 Pointsequippers
Courses Plus Student 595 PointsI see my problem and it is now fixed. Sorry! ------HTML------- <h2 class="section-title">Summary of Qualifications</h2>