Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML Introduction to HTML and CSS Adding a New Web Page Write the CSS

Cannot get my html to link up to my css - please help

<!DOCTYPE html>
<html>
  <head>
    <title>Mike George Resume</title>
    <link rel="stylesheet" href="resume.css ">
  </head>
  <body>
      <img src="http://placeimg.com/200/200/nature" alt="Mike George, Web Developer"
    <h1>Mike George, Web Develepor</h1>
    <h2>Summary of Qualifications</h2>
     <ul>
      <li>Experience as a freelance web developer</li>
      <li>Experience with HTML, CSS, and Javascript</li>
      <li>Bachelor of Science, Economics</li>
     </ul>
   </body>
</html>

resume.css

body {
  font-family: "Arial";
}

.main-image {
  border: solid black 4px;
  border-radius 50%;
}

Cannot figure out where I am going wrong, name of css file is "resume.css"

Maybe your resume.css is nested inside a folder and you forget to type a path to to, for example - href="css/resume.css"

1 Answer

You have a space after resume.css here:

<link rel="stylesheet" href="resume.css ">

and you are missing a closing bracket here:

<img src="http://placeimg.com/200/200/nature" alt="Mike George, Web Developer"