Stuck on Make A Website Lesson 1 Exercise 7 with no error message showing


#1

https://www.codecademy.com/en/courses/make-a-website/lessons/site-structure/exercises/add-image?action=resume

I replaced the image like it said and it just says that step is wrong when it worked last time and no error messages are showing up.

<!DOCTYPE html>
<html>
<head>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
  <h1>Ollie Bike Sharing</h1>
  <h3>Share Your Pedals with the World.</h3>
  <p>Need a set of wheels while you're in town? Use Ollie to pair your perfect vacation with a stylish, affordable bike rental. Here is a <a href="cities.html">list</a> of cities where you can find us.</p>
</body> <img src="https://s3.amazonaws.com/codeacademy-content//projects/make-a-website/lesson-1/bikes2.jpg"/>
</html>


#2

You've added your<img> tag after your <body> tag and thus you're hitting errors as all code must be wrapped within the body and html

Try moving your img into your body and I'm sure you'll be able to progress :smiley:


#3

I'm sorry but i don't quite understand, could you show me an example of what you mean please?


#4

<html>
<body>
<h1>Correct</h1>
</body>
</html>

<html>
<body>
</body>
<h2>Incorrect</h2>
</html>

The first example is correct format because all the code is within the body and html tags.. Check your code to make sure you do the same :slight_smile:


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.