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

JavaScript

Adam Beer
Adam Beer
11,314 Points

The right HTML structure inside the React.js

Hi folks!

I have a small issue in my React/Html and I don't undestand what is the wrong but I think the problem the structure of HTML file. Check these pictures, and maybe someone can help me.

First picture: How looks like the UI and the App.js render() section.

Second picture: How looks like the footer.

Third - Fourth - Fifth pictures: I gave to <footer> margin-top: 500px if I change it to 250px nothing happends. And below the <Instagram /> I gave a <hr /> but this is working abnormally. I want the Insta images below to seperate the <footer>

Sixth picture: The <footer> gets the margin-top:500px, but it looks like the last <article> equal to the <footer>, but why? I don't understand.

Thanks for the help!

Adam Beer
Adam Beer
11,314 Points

Oh man, yes of course, sorry, I forgot this. I am confused because I can't solved this. This is the github REPO. Thanks for the help!