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 Refactor the Layout

Footer not on the end of the page

In the course "Making a website", the footer is where we put adittional info, but it's not sticking to the end of the page. It shows up just after the end of the content.

Does the footer needs to be set manually to the bottom of the page or there is something wrong with my code?

4 Answers

Vilius Grižas
Vilius Grižas
2,753 Points

Firstly, there's nothing wrong with your code.

In the lesson he just doesn't make the footer appear on the bottom of the page. Here's a link to the finished page and in the contact page you can clearly see that the footer is not sticking to the bottom. http://treehousewebsite.com

Here's a video that gave me the understanding of how does the code work. (Start at mintue 17:30, peanut butter jelly sandwich https://www.youtube.com/watch?v=KUB-aJXquUA&index=2&list=PLhQjrBD2T383Q2VtqEaQn8nZh-681av20) )

Hope that helps :)

You guys are very helpful. Thanks for the rapid and nice response :)

I couldn't stick the footer using flexbox because the footer and sections are wrapped by the same DIV #wrapper.. right? I tried here but didn't work