Help me Nest the existing input element inside a form element and assign

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

  **Your code so far**

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

<a href="#"><img src="" alt="A cute orange cat lying on its back."></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="/https//">
<input type="text" placeholder="cat photo URL" /> 
  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:


What do the failing tests say?

Your form should have an action attribute which is set to

Hi @a1fa_d0g !

Welcome to the forum!

Your url is wrong .

This is incorrect.

The failing test is telling you the correct url which is this.

When you were typing it out, you made a few mistakes.
That is why it is not passing.

Always just copy and paste to avoid errors.

Hope that helps!

Yes i fixed this error but the result is the same

Can I see your new code?

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 (’).

<form action="/">
  <input ="cat photo"/> 

Why did you change the input?

You will need to reset the lesson and not touch the input.

You had it correct earlier
<input type="text" placeholder="cat photo URL" />

You just needed to fix the url in the action attribute.

Hope that makes more sense!

like that right? but still doesn’t work

 <form action="/">
  <input type="text" placeholder="cat photo URL">


You are still adding a / at the beginning here

If you look at the correct url it doesn’t have it

If you look at the correct url it doesn’t have it

yes i’m not very attentive, thank you very much. Now it works.

1 Like

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