Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.