Im stuck on creating the logo image


#1
<!DOCTYPE html>
<head>
<style>
<img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">

    body {
        text-align: center;
        background: black;
        color: white;
        font-family: Helvetica;
    }
h1 {
    text-align: center;
}   

p{
    text-align: center;
}
</style>
</head>
<body>

<img src="https://codecademy-content.s3.amazonaws.com/courses/web-beginner-en-3pc6w/images/avatar.jpg" height="250" width="250">

<h1>Robert Pollock</h1>
<p>Hello there! I am a beginner at making my own website. I am a young entreprenuer and seeking new ways to make money and impact the world in which I live in. If you have any questions or concerns email me @ roblenpo@hotmail.com below</p>
<input type="email" placeholder="Email">
<input type="submit">
</body>

Replace the h1 tag with the img tag
#2

@pymaster62555

Hi, can you post your code using this format:

```
Replace this line with your code, do not remove backtips
```

#3

how do you do that?........................................


#4

nevermind i figured it out and can you please help me??


#5

@pymaster62555

There's problem with nesting elements...

Put this in the body tag, not in the style tag.


#6

i did what you said and it still is showing the error :frowning:


#7

see it still says error even though i placed it under the body


#8

@pymaster62555

Can you paste the instructions it gave you?


#9

yes i have done that but it still said there was in error so i snipped the picture to you as you can see, but the error still pops up :frowning:


#10

@pymaster62555

Put a space between > and the width. Add a slash next to > for XML syntax. Like this:

<img src="some link" />

#11

i did it and now look...


#12

@pymaster62555

I think it tells you to remove the h1 tag.


#13

if i do that it will remove my name :o


#14

how did you do you'res


#15

@pymaster62555,
They want you to replace the h1-Tag
leaving you with

<!DOCTYPE html>
<html>
    <head>
        <style>
          body { 
              text-align: center;
              background: black;
              color: white;
              font-family: Helvetica;
          }
        </style>

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

#16

Yes it will, but you can put it back in the next exercise.


#17

oh ok thanks!!!! let me see if that works


#18

A post was split to a new topic: The Lesson Says to Replace h1