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 trialArmando Galan-Cedeño
2,344 PointsBrowser not applying space around the fig element. Anything I am doing wrong?
Guil mentions that when using the fig element by default the browser will apply space around the content but when I do it the image stays the same and is not indented. Am I doing something wrong? Does it have to be indented or it does not make a difference?
Armando Galan-Cedeño
2,344 PointsThe way I posted my code in my last post came out awkward but once again i found my mistake, thanks again.
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 PointsWell done :) . Keep coding
1 Answer
Armando Galan-Cedeño
2,344 Points<section> <h2>About this site</h2> <p>This is a new section about VR</p>
<fig> <img src="img/vr-space.jpg" alt="User experiencing space in VR"> <figcaption>Virtual reality users can explore faraway places and feel as though they are right in the middle of the action. <fidcaption> <fig> <section>
Hey Aakash Srivastav, after going through my code I finally noticed my mistake and that is that I coded the <figure> element as <fig>. After I fixed it the vr-space.jpg image was just fine and indented. Thanks for taking the time to reply man.
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 PointsAakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 PointsHey Armando Galan-Cedeno , can you please post your code here?