19/21 email input problem


#1

https://www.codecademy.com/courses/web-beginner-en-3pc6w/2/7#

hey so I have the problem where I get the error "Oops, try again. Where did your email input go? Add an "" element at the bottom." but I already have the on the bottom. How can i solve this?


<!DOCTYPE html>
<head>
  <style>
    body {
 background-size: cover;
 background-position: center center; 
 background-repeat: no-repeat;
 color: white;
 font-family: Helvetica;
 background-attachment: fixed;
 text-align: center;
 background: url("https://secure.static.tumblr.com/1951068c0d8ebde92386c3a0060ed6a0/tvai0o9/2RDnp6s56/tumblr_static_tumblr_static_c5ytdyezqxw0sogok0c48gw8o_640.png";
    }
   p  {
    text-align: center;
    font-size: 24px;
    }
input {
    border: 0;
    padding: 10px;
    font-size: 18px;
    }
  </style>
</head>

<body>
<img src= "https://s-media-cache-ak0.pinimg.com/564x/87/31/73/8731732aee0266ae2f199a4c9380253f.jpg;

<p> Hi my name is Vaidehi and I'd love to meet new people to share stories with.</p>

<input type="email"placeholder="Email";> 
<input type="submit">
</body>.


#2

Hi @vaidehi_gupta,

If it may help please see the code snippet from your code you pasted below. There are comments to point out just a few details really, some of them are more minor, but in this instance it looks like your main error was that you had not correctly closed the tag, and the quote gremlins had paid you a visit, stealing the closing double quote " for the img src attribute. :slight_smile:

Hopefully the snippet will get you where you need to go :slight_smile:

<body>
<img src= "https://s-media-cache-ak0.pinimg.com/564x/87/31/73/8731732aee0266ae2f199a4c9380253f.jpg"> <!-- add closing quote and closing bracket, remove semi-colon--> 

<p> Hi my name is Vaidehi and I'd love to meet new people to share stories with.</p>

<input type="email"placeholder="Email"> <!-- remove semi-colon-->
<input type="submit">
</body> <!-- remove full stop/period -->

#3

thanks! what a small error it was!


#4

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