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

Michael Salagovich
Michael Salagovich
693 Points

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"

Bartłomiej Wilczyński
Bartłomiej Wilczyński
4,803 Points

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

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 50,933 Points

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"