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 trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the CSS

Cannot text transform my .section-title

Code for class adding: <h2 class="section-title">Summary of Qualifications</h2>

CSS code for section-title: .section-title { text-transform:capitalize; }

The program doesn't recognize capitalize as a command (it isn't blue), but does recognize the text-transform command (orange)

Can you post a snapshot?

https://w.trhou.se/gq2ezcjn36 Here it is, hope you can help me because I am too frustrated with it right now...

2 Answers

charlie g
charlie g
12,417 Points

Hello Andrew, you forgot to add the class="section-title" in Resume.html

Ah just had been doing work too long and overlooked. Thank you!

First I changed resume.html to Resume.html in index.html to match the case of the file name. In Resume.html I didn't see:

<h2 class="section-title">Summary of Qualifications</h2>.

It is just:

<h2>Summary of Qualifications</h2>

without the class attribute.

Here is an updated snapshot with the two fixes. The only difference in styling 'Summary of Qualifications' with capitalize is now the O in Of is capitalized.