Tell us what’s happening:
Your code so far
<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="https://bit.ly/fcc-relaxing-cat"></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= "/submit-cat-photo">
< input type="text" placeholder="cat photo URL">
</form>```
**Your browser information:**
Your Browser User Agent is: ```Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36```.
**Link to the challenge:**
https://www.freecodecamp.org/challenges/create-a-form-element
Hi, think you just need to delete the space between the < and input type.
It is now reading < input type=“text”…
it should read <input type="text…
Hope it works…
thanks ive been working on this for 2 days
it says your button should only have the text submit. unsure how to do this . this is my code
<input type="text" placeholder="cat photo URL">
<button type= "submit" </button>
</form>```
Hello, it is the small things that it takes time to get used to, don’t worry.
That one can cause a bit of confusion as you have to write submit twice for 2 different reasons.
Your code is:
<button type= “submit” and it should be:
Submit
The first Submit (type=“Submit”) is the type of action that the buttons will perform on the website, in this case it submits a picture. But buttons can have other type of actions like Reset to clear the form, for example.
The second Submit ( the Submit between the signs of > and <) is just the text that will appear on the Button.
it wants me to give the name attribute of indoor outdoor. i thought i have done that. here is my code.
<label><input type= "radio" name= "indoor outdoor"> outdoor</label>
The code is right… Now do the same for another radio button and name indoor…
2 radio buttons in total…
i did that it just didnt show up for some reason but it says im missing the name attribute of indoor and outdoor. i dont understand why
<label><input type= "radio" name= "indoor outdoor"> outdoor</label>
not showing up as what i have. i have both labels
LOL… Sorry mate, as I told you, it is always the small things, even I didn’t notice
The hyphen between “indoor outdoor” is missing…
it should read name=“indoor-outdoor”
im going to have to better at those small things they are killing takeing this couse thanks so much for your help