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 Responsive Web Design and Testing Adjust the Profile Page and Header

Rwanda Muhammad
seal-mask
.a{fill-rule:evenodd;}techdegree
Rwanda Muhammad
Full Stack JavaScript Techdegree Student 4,116 Points

My two column layout not working for the CONTACT PAGE and ABOUT PAGE.

Resending my codes, there was a mistake, i did not place the codes for ABOUT PAGE under the correct media screen. I made the right adjustments however still no two column layout.

@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 (3n + 1) { clear: left; }

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

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

}

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

}

CONTACT.html

</header>
<div id="wrapper">
<section id="primary"> <h3>General Information</h3> <p>I am not available for design, but I am willing to make contact with other students such as I.</p> <p>I can be reach best by email. Only contact me by phone for urgent matters. Thank You.</p> </section>
<section id="secondary"> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"><a href="tel:916-555-5555">916-555-5555</a></li> <li class="mail"><a href="mailto:rwanda@example.com">rwanda@example.com</a></li> </ul>
</section>
<footer>

3 Answers

Rwanda Muhammad
seal-mask
.a{fill-rule:evenodd;}techdegree
Rwanda Muhammad
Full Stack JavaScript Techdegree Student 4,116 Points

I figure it out, i traced my steps back, I had misspelled the link <link rel="stylesheet" href="css/responsive.css">, thanks anyway, all is working now!!! : )

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

Media Queries go alwasy at the bottom.

Rwanda Muhammad
seal-mask
.a{fill-rule:evenodd;}techdegree
Rwanda Muhammad
Full Stack JavaScript Techdegree Student 4,116 Points

Trying to explain my question, I copy and paste file responsive.css and CONTACT.HTML, i can see where it might appear that way, but there are two different files, I assure you the Media Queries are at the bottom of the page...Cannot figure out where I went wrong.

Aurelian Spodarec
Aurelian Spodarec
10,801 Points

I don't know, I need to see the whole HTML and CSS file.