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 trialEthan macleod
430 PointsMY HTML and CSS are not connecting
<!DOCTYPE html> <html> <head> <title>Ethan's Resume</title> <link rel="stylesheet" href="css/resume.css"> </head> <body> <img src="http://placeimg.com/200/200/tech" alt="Web Developer"> <h1>Ethan Macleod</h1> <h2>Summary of Qualifications</h2> <ul> <li>Experience as a freelance web developer</li> <li>Experience with HTML, CSS, Javascript</li> <li>Diploma of Business Management</li> </ul> </body> </html>
body { font-family: "Arial"; color: red; }
.main-image { border: solid 10px black; border-radius: 50%; }
h1 { background-color: blue; }
1 Answer
Tayfun İlbakan
6,977 PointsYou are having with your source of CSS. When I copied your code changed source as my local files, it worked perfectly fine. Can you check your below commented area (showed in line 5, commented as <!-- and -->)?
<!DOCTYPE html>
<html>
<head>
<title>Ethan's Resume</title>
<link rel="stylesheet" href="css/resume.css"> <! -- ARE YOUR SURE YOUR CSS FILE IS UNDER CSS FOLDER AND NAMED AS RESUME.CSS? -->
</head>
<body>
<img src="http://placeimg.com/200/200/tech" alt="Web Developer">
<h1>Ethan Macleod</h1>
<h2>Summary of Qualifications</h2>
<ul>
<li>Experience as a freelance web developer</li>
<li>Experience with HTML, CSS, Javascript</li>
<li>Diploma of Business Management</li>
</ul>
</body>
</html>
Ethan macleod
430 PointsEthan macleod
430 Pointsyes, it worked. thanks a lot!