Your submit button should only have the text “Submit”. what is the code??
Well what is your code? We need to see what you have attempted. People here are not just going to give you the code. We would rather help you get the right code, so you actually understand what you’re doing. Use the preformatted button above which looks like </>. Post your code where it says, then we can help you move on
<h2>CatPhotoApp</h2> <main> <p>Click here to view more <a href="#">cat photos</a>.</p> <a href="#"><img src='//discourse-user-assets.s3.amazonaws.com/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg' 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="/submit-cat-photo"> <input type="text" placeholder="cat photo URL"> <button type="submit" value="Submit"> </button> </form> </main>
Theres no code here. You need to add the html code with the button you are having problems with. Again use the preformatted button that looks like </>. You can see it at the top of the reply box. Click it and add your HTML code.
I’ve edited your post for readability. 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 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.
Note: Backticks are not single quotes.
Put the text “Submit” inside your button tag.
whats wrong in my code?