Add an Accessible Date Picker - struggling with my code

Hi guys,

someting goes wrong with my code. I can´t find the error by myself. Can someone help me, please?

My code so far:

<body>

<header>

<h1>Tournaments</h1>

</header>

<main>

<section>

<h2>Mortal Kombat Tournament Survey</h2>

<form>

<p>Tell us the best date for the competition</p>

<label for=“pickdate”>Preferred Date:</label>

<input type=“2” id=“pickdate” name=“pickdate”>

<label for=“date”> Pickdate:</label>

<input type=“date” id"date" name=“date”><!-- Add your code above this line -->

<input type=“submit” name=“submit” value=“Submit”>

</form>

</section>

</main>

<footer>&copy; 2018 Camper Cat</footer>

</body>

Can you please copy/paste your code into a section which starts with 3 backticks on the line before and the line after the code you pastes?

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.

markdown_Forums

It makes it easier for us to copy/paste to test your code.

In the future for other challenges, just click the Ask for Help button and your code will automatically populate with the proper formatting.

Thanks.

You do not need to add another label element. All you need to do is add an input element (which you have done), but the id should be “pickdate”. Also, make sure you use = between the id attribute and its value “pickdate”

Hi @RandellDawson:

I didn´t get it. Can you write down the code, please?

What part of the instructions or my answer do you not understand, so I can try to explain it differently.

I read you answer carefully and tried to solve the challenge.

I was building a new tag, exactly how you described it. But something went wrong. I wasn´t able to solve the challenge.

I solved the challenge on my own. :slight_smile: