Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Associate label with input. Include name in input. #92

Merged
merged 6 commits into from Mar 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion step1-03/demo/README.md
Expand Up @@ -6,7 +6,7 @@ In this demo we are going to cover a few core basics of the language that will h

```html
<div id="contact-form">
<label>Email</label><input id="email" type="email" />
<label for="email">Email</label><input id="email" type="email"/>
<input class="submit" value="Submit" type="submit" />
</div>
```
Expand Down
2 changes: 1 addition & 1 deletion step1-03/demo/index.html
Expand Up @@ -39,7 +39,7 @@
&lt;div&gt;
&lt;h2&gt;Contact Us&lt;/h2&gt;
&lt;div id=&quot;contact-form&quot;&gt;
&lt;label&gt;Email&lt;/label&gt;&lt;input id=&quot;email&quot; type=&quot;email&quot; /&gt;
&lt;label for=&quot;email&quot;&gt;Email&lt;/label&gt;&lt;input id=&quot;email&quot; type=&quot;email&quot;/&gt;
&lt;input class=&quot;submit&quot; value=&quot;Submit&quot; type=&quot;submit&quot; /&gt;
&lt;/div&gt;
&lt;/div&gt;
Expand Down