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 trialRaymon Hadder
693 PointsMy 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
Rich Bagley
25,869 PointsHi 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
Raymon Hadder
693 PointsIm 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.
Rich Bagley
25,869 PointsHi Raymon,
Can you drop your code in to a new forum question please and I'll take a look?
Thanks :)
-Rich
Raymon Hadder
693 Points@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; }
}
Rich Bagley
25,869 PointsHi 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
Raymon Hadder
693 PointsRaymon Hadder
693 PointsThanks Rich
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsNo problem :)