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 How to Make a Website Adding Pages to a Website Style New Pages

Eliot Murton
Eliot Murton
7,315 Points

Solved - Difficulties with adding second page.

As instructed in the video, I start by creating a new file called “about.html”. Copied the code from index over to the new page. In the navigation of the home page (index.html), I changed the selected class of the appropriate list item. I deleted everything in the “section”.

I am experiencing two problems.

The first is that the paragraphs I now write in the "About" page are all white so can only be seen if I highlight the area.

The second problem is that the profile picture will still not show as a circle, despite following the exact code of:

.profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }

Please help. I don't know why I am having these difficulties.

Eliot Murton
Eliot Murton
7,315 Points

I have now fixed the issue at making the picture round. That was fairly simple actually. The issue with the text being the same color as the back ground, I still have no idea about.

1 Answer

Mark McGuinness
PLUS
Mark McGuinness
Courses Plus Student 26,312 Points

Sounds like you have applied a color of white in the style sheet to the paragraph text on that page, but can't say for sure without seeing your code.