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
Kevan Puddicombe
Courses Plus Student 2,845 Pointshtml link css and photos rant working
<!DOCTYPE HTML>
<html>
<head>
<title>Miss Pretentious</title>
<meta charset="utf-8">
</head>
<body style="background-color:#c2f0f0;">
<h1 style="text-align:center;">Miss Pretentious</h1>
<h2>Yumm</h2>
<a href="http://italianfood.com"><img src="Pasta_2006_6.jpg" alt="food" width="50%" height="50%"></a>
<p>"My first hit of flavours is an instant yum"</p>
<h2>fuck yeah</h2>
<a href="http://food.com"><img src="Cajsa_Wargs_middagsbord_1.jpg" alt="food" width="50%" height="50%"></a>
<p>"I'm so glad there are people that take the time to master of flavour somthing we all take for granted"</p>
<h3>Slurp</h3>
<a href="http://epicurious.com"><img src="5961847891_6baa360956_o.jpg" alt="food" width="50%" height="50%"></a>
<p>"the sounds of my young childhood consist of these four headers"</p>
<h4>aaaah!!</h4>
<a href="http://www.jamieoliver.com"><img src="food-salad-healthy-vegetables.jpg"alt="food" width="50%" height="50%"></a>
<p>" the finsihing sounds of your plate and check please"</p>
</body>
</html>
5 Answers
Shawn Denham
Python Development Techdegree Student 17,802 PointsI Kevin,
Not clear on what you are asking.
Kevan Puddicombe
Courses Plus Student 2,845 Pointssorry i'm not to sure how to screen shot my whole html? my photos are not loading to my page now they where all morning now there is a "?" in the photo box this happened when i was trying to link the html to the css.
Shawn Denham
Python Development Techdegree Student 17,802 PointsIf you look down below the "post answer" text area you will see a link to the Markdown Cheatsheet" It will tell you how to post code here in the forum.
Kevan Puddicombe
Courses Plus Student 2,845 Pointsi dunno this really annoying how to upload a sheet to the community .
Iain Simmons
Treehouse Moderator 32,305 PointsSo, the photos will only work if they are in the same directory as the HTML file, and have the exact same filename.
You only have inline styles, not a separate, linked CSS file, so not sure what you mean about link css not working.
Iain Simmons
Treehouse Moderator 32,305 PointsIain Simmons
Treehouse Moderator 32,305 PointsHI Kevan Puddicombe, I've formatted your code in a code block. Please refer to the Markdown Cheatsheet (linked below the question/answer/comment box) for instructions on how to format a code block.