This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Associate label with input. Include name in input. #92
Merged
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
07d0968
Associate label with input. Include name in input.
SamOdum 2f42307
Merge branch 'master' into fix-label
SamOdum fb98498
Reverted input name attribute addition
SamOdum 1283158
Merge branch 'fix-label' of https://github.com/SamOdum/frontend-bootc…
SamOdum bf1dc3a
Reverted accidental changes
SamOdum cc77576
Merge branch 'master' into fix-label
micahgodbolt File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
<html> | ||
<body> | ||
<div | ||
class="codepen" | ||
data-theme-id="36294" | ||
data-prefill | ||
data-editable="true" | ||
data-height="100%" | ||
data-theme-id="1" | ||
data-default-tab="js,result" | ||
> | ||
<pre data-lang="css"> | ||
|
||
<body> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you please revert all the changes to this file aside from adding the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
<div class="codepen" data-theme-id="36294" data-prefill data-editable="true" data-height="100%" data-theme-id="1" | ||
data-default-tab="js,result"> | ||
<pre data-lang="css"> | ||
|
||
body { | ||
font: 1.2em sans-serif; | ||
|
@@ -34,25 +28,25 @@ | |
margin-top: 10px; | ||
} | ||
</pre> | ||
<pre data-lang="html"> | ||
<pre data-lang="html"> | ||
<div class="tiles"> | ||
<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" name="email"/> | ||
<input class="submit" value="Submit" type="submit" /> | ||
</div> | ||
</div> | ||
</div> | ||
</pre> | ||
<pre data-lang="js"> | ||
<pre data-lang="js"> | ||
// Count the number of 'a' characters in the email form. | ||
// Update button to reflect that number. | ||
|
||
</pre | ||
> | ||
</div> | ||
</pre> | ||
</div> | ||
|
||
<script async src="https://static.codepen.io/assets/embed/ei.js"></script> | ||
</body> | ||
|
||
<script async src="https://static.codepen.io/assets/embed/ei.js"></script> | ||
</body> | ||
</html> | ||
</html> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this form won't be submitted via POST, the name property shouldn't be necessary as far as I'm aware. If you've seen guidance to the contrary, would you mind sharing a link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right. The name attribute is for server-side processing.