Hey there can anyone help me please

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<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>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
</form>
<button type="submit">Submit</button>
</main>
  **Your browser information:**

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

Challenge: Add a Submit Button to a Form

Link to the challenge:

<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
</form>
<button type="submit">Submit</button>

The challenge task mentions that you need to add a button as the last element of your form element. But you don’t yet have a button element inside of your form element. You have placed it outside of your form element.

Hope this helps! :smiley:

its not working …please help me out…im stucking for few days with this

Can I see your current code?

Here is how to write code in the forum.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).


See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Give 3 consecutive backticks, then paste your current code in the next line. Finally, give 3 more backticks after the line where your code ends.

<input type="text" placeholder="cat photo URL">
  </form>
<button type="submit">Submit</button>
</main>
</form>
<button type="submit">Submit</button>

Here, the button should be in the line before your closing form tag. The structure should be something like this:

<form action=" ">
  <input type=" " placeholder=" ">
  <button type="submit">Submit</button>
</form>

@Roshni05,
The lesson tells you to Add a button as the last element of your form element with a type of submit, and Submit as its text
if this is still your code
<button type="submit">Submit</button>
it is correct.

The failing message says Your form should have a button inside it

The error is that you have added the button outside of the form element.