How do I tackle #6 in building survey form project?
Please give your code or Link to your code.
<form> <input input type="text" id="email" name="email" required> </form>
if you are doing it on codepen can you please the link to your pen?
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 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 (’).
@elo1, as previously stated it would best if we could see all of your code rather than just a few lines.
If you don’t post a link to your pen then please follow the instructions when posting your code.
- Have you searched for something like “html5 email validation”? It looks like you referenced the lesson which is good but email is different than text when wanting to put a specific validation error.
- You have
inputtwice. Only need the first instance.
- I see what could potentially be another issue but without seeing all of your code I cannot confirm so I won’t mention it.
Hope that helps.