Submit Button To A Code

Can you help me?I believe it’s right but the freecodecamp tell me it’s wrong

Your code so far

<link href="" rel="stylesheet" type="text/css">
  .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;

<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=""></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<form action="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">

<button type="submit">this button submits the form</button>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36.

Link to the challenge:

The test messages (below) are telling you exactly what to fix.

Your form should have a button inside it.

The key word in the above message is inside.

Your submit button should only have the text “Submit”.

What text does your submit button have? Is it only “Submit”?

I don’t understand can you send me a photo

What exactly do you not understand about what I said/asked above?

The button should be nested inside the form element. If you do not understand how to nest one element in another, take a look the following challenge you have already successfully completed.

I also asked you what text does your submit button have? If the instructions would have said your submit button should only have the text “Hello”, which of the following would meet that criteria?

<button>this button has Hello and other text</button>

1 Like