From 432ae832824cc78da83ff6bc1557f27f5c60cb1b Mon Sep 17 00:00:00 2001 From: Sam Odum <46067752+SamOdum@users.noreply.github.com> Date: Mon, 11 Mar 2019 16:54:20 +0100 Subject: [PATCH] Associate label with input. Include name in input. (#92) * Associate label with input. Include name in input. * Reverted input name attribute addition * Reverted accidental changes --- step1-03/demo/README.md | 2 +- step1-03/demo/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/step1-03/demo/README.md b/step1-03/demo/README.md index 16a4335..a4a6716 100644 --- a/step1-03/demo/README.md +++ b/step1-03/demo/README.md @@ -6,7 +6,7 @@ In this demo we are going to cover a few core basics of the language that will h ```html
- +
``` diff --git a/step1-03/demo/index.html b/step1-03/demo/index.html index b898315..718ca88 100644 --- a/step1-03/demo/index.html +++ b/step1-03/demo/index.html @@ -39,7 +39,7 @@ input[type='submit'] { <div> <h2>Contact Us</h2> <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> </div>