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

Andrew Scheidweiler
Andrew Scheidweiler
870 Points

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)

Andrew Scheidweiler
Andrew Scheidweiler
870 Points

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

Andrew Scheidweiler
Andrew Scheidweiler
870 Points

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

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 51,773 Points

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.