Create a Form Element Student

Create a Form Element Student
0

#1

Hello. :slight_smile
Looking for sum help code problem. student learning.

**Nest your text input element within a form element. **
This part of the code I did OK.
example:

Put I have other problem > Make sure your form has an action attribute which is set to /submit-cat-photo

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src='//discourse-user-assets.s3.amazonaws.com/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg'></a>

<form action="/https://bit.ly/fcc-relaxing cat-to-submit-cat- action=" data-form/>

<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<input type="text" placeholder="cat photo URL">

#2

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#3

Hints Below:

#1) The instructions want you to nest the text box in the form element. The text box is the following html:

<input type="text" placeholder="cat photo URL">

#2) Form elements need a </form>.

#3) There should only be one action attribute in the form element and it should be assigned “/submit-cat-photo”