Merge pull request #13287 from cdrainxv/fix/edit-label-text
Edited label text in description and challenge codepull/13294/head
commit
34280a7cb4
|
@ -614,7 +614,7 @@
|
|||
"You may have noticed the <code>text</code> and <code>submit</code> input types in prior challenges, and HTML5 introduced an option to specify a <code>date</code> field. Depending on browser support, a date picker shows up in the <code>input</code> field when it's in focus, which makes filling in a form easier for all users.",
|
||||
"For older browsers, the type will default to <code>text</code>, so it helps to show users the expected date format in the label or as placeholder text just in case.",
|
||||
"Here's an example:",
|
||||
"<blockquote><label for="input1">Enter a date (MM-DD-YYYY):</label><br><input type="date" id="input1" name="input1"><br></blockquote>",
|
||||
"<blockquote><label for="input1">Enter a date:</label><br><input type="date" id="input1" name="input1"><br></blockquote>",
|
||||
"<hr>",
|
||||
"Camper Cat is setting up a mortal combat tournament and wants to ask his competitors to see what date works best. Add an <code>input</code> tag with a <code>type</code> attribute of \"date\", an <code>id</code> attribute of \"pickdate\", and a <code>name</code> attribute of \"date\"."
|
||||
],
|
||||
|
@ -628,7 +628,7 @@
|
|||
" <h2>Mortal Combat Tournament Survey</h2>",
|
||||
" <form>",
|
||||
" <p>Tell us the best date for the competition</p>",
|
||||
" <label for=\"pickdate\">Preferred Date (MM-DD-YYYY):</label>",
|
||||
" <label for=\"pickdate\">Preferred Date:</label>",
|
||||
" ",
|
||||
" <!-- Add your code below this line -->",
|
||||
" ",
|
||||
|
|
Loading…
Reference in New Issue