Lesson 7.2 Changing the image


#1



Lesson 7.2 Changing the image element by setting the value of the src.


The code is working fine, I just don't know how to set the value for the src and change the image.

I need to change bike1 to bike2 but when I change the numbers it will fail me.
Not sure what it wants?
Please help.


<!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>
  <h4>This is a new skill i could like to keep working on!</h4>
</body>
  <p>Pargraph text here</p>
  <p>Need a set of wheels while you're in town? Use Ollie to pair your perfect vacation with a stylish, affordable bike rental.</p>
</html>
<p>Here is a list of cities where you can find us.</p>
       <img src =" https://s3.amazonaws.com/codeacademy-contect/projects/make-a-website/lesson-1/bikes1.jpg"/>

<img src="https://s3.amazonaws.com/codeacademy-content/projects/make-a-website/lesson-1/bikes2.jpg "/>

<img src="https://s3.amazonaws.com/codeacademy-content/projects/make-a-website/lesson-1/bikes2.jpg"/>


#2

@alemm1
You are changing code OUTSIDE of the HTML-Definition
try it with

<!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>
  <h4>This is a new skill i could like to keep working on!</h4>
  <p>Pargraph text here</p>
  <p>Need a set of wheels while you're in town? Use Ollie to pair your perfect vacation with a stylish, affordable bike rental.</p>
<p>Here is a list of cities where you can find us.</p>
       <img src =" https://s3.amazonaws.com/codeacademy-contect/projects/make-a-website/lesson-1/bikes1.jpg"/>

<img src="https://s3.amazonaws.com/codeacademy-content/projects/make-a-website/lesson-1/bikes2.jpg "/>

<img src="https://s3.amazonaws.com/codeacademy-content/projects/make-a-website/lesson-1/bikes2.jpg
</body>
</html>

#3

Thanks for the help.


#4

A post was split to a new topic: Lesson 7 - 2 Changing the image