Solution to implementing an accessible date picker (#35262)

* feat: add challenge solution

* fix: remove whitespace and filler comments
pull/31025/head
Dana Ottaviani 2019-02-17 20:25:41 -05:00 committed by Randell Dawson
parent d5df6b1721
commit 9562bf0baa
1 changed files with 18 additions and 2 deletions

View File

@ -77,7 +77,23 @@ tests:
## Solution
<section id='solution'>
```js
// solution required
```html
<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="date" id="pickdate" name="date">
<input type="submit" name="submit" value="Submit">
</form>
</section>
</main>
<footer>&copy; 2018 Camper Cat</footer>
</body>
```
</section>