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 Add Iconography

My contact page reads: Not Found The requested URL /Contact.html was not found on this server.

My contact page reads:

Not Found

The requested URL /Contact.html was not found on this server.

3 Answers

Hi Raymon,

A few things to check would be:

  • The contact page is in the root of the site or the location at least matches where you have referenced it.
  • The name of the file matches what you have, e.g. contact.html instead of contact-us.html.
  • The casing matches in both the file name and the code, e.g. contact.html instead of Contact.html

Hope that helps in some way.

-Rich

Thanks Rich

No problem :)

Im having another issue Rich:

I can't figure why my code will except on the @media challenge.

after i right the code it says " Bummer! Be sure to set the width of gallery list items to 28.3333% when the browser is wider than 480px."

but I don't know what I'm doing wrong that code i wrote validates on the css validator site, here's what I'm writing.

Hi Raymon,

Can you drop your code in to a new forum question please and I'll take a look?

Thanks :)

-Rich

@media screen and (min-width: 480px) {

/*********************** TWO COLUMN LAYOUT ***********************/

#primary { width: 50%; float: left; }

#secondary { width: 40%; float: right;
}

/*********************** PAGE: PORTFOLIO ***********************/

#gallery li { width: 28.3333%; }

#gallery li:nth-child (4n) { clear:left; }

/*********************** PAGE: ABOUT ***********************/

.profile-photo { float: left; margin: 0 5% 80px 0; }

}

@media screen and (min-width: 660px) {

/*********************** HEADER ***********************/

nav { background: none; float: right; font-size: 1.125em; margin-right: 5%; text-align: right; width: 45%; }

#logo { float: left; margin-left: 5%; text-align: left; width: 45%; }

h1 { font-size: 2.5em; }

h2 { font-size: 0.825em; margin-bottom: 20px }

header { border-bottom: 5px solid #599a68; margin-bottom: 60px; }

}

Hi Raymon,

Without seeing the exact challenge it looks as though you could be adding more than you need.

On the challenge page, if you click the 'Ask a Question' button to the right of the challenge box it will add your code in to a new forum question and give a link to the challenge for others to test.

Hope that helps.

-Rich