This forum is now read-only. Please use our new forums at discuss.codecademy.com.

About You Forum

View Course » View Exercise

420 points
66def209d1c1ee67bc6c5aca0347c88e?s=140&d=retro
Submitted by
miladm_537a69bf548c357ee2000edd_dele
over 3 years ago

?/21 What's wrong with this?

<!DOCTYPE html>
 <head>
<style>
 body {
        text-align: center;
    }
  body {
    text-align: center;
    background: url("https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/splash.jpg");;
    color: white;
    font-family: Helvetica;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    p {
    font-size: 24px;
}
}
}
</style>
 </head>
<body>

     <img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">
     <p>Hi! I am learning how to make
my very own web page! I really like
blueberry muffins and long walks on
the beach.</p>
<input type="email"placeholder="Email">
<input type='submit'>
</body>

0 votes

permalink

  • combine those two body { ... } selectors into one
  • there seem to be extra } before your </style>, make sure they match up with a {, otherwise you should delete them
  • not sure which exercise you are working on, might have more suggestions depending on the exercise

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago