Skip to content

Commit

Permalink
Add forms lists and tables
Browse files Browse the repository at this point in the history
  • Loading branch information
BideoWego committed Nov 15, 2016
1 parent a804b9b commit f320cb6
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ demo_html_in_action
HTML in action!


**NOTE:** *This repo is copyrighted material for your private use only and not to be shared outside of Viking Code School.*



13 changes: 8 additions & 5 deletions forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,23 @@ <h1>Sign Up Form</h1>
<legend>Credentials</legend>

<label for="email">Email</label>
<input type="text" name="email">
<input type="email" name="email" placeholder="Email" required>

<label for="password">Password</label>
<input type="text" name="password">
<input type="password" name="password" placeholder="Password" required>

<label for="password-confirm">Password</label>
<input type="password" name="password-confirm" placeholder="Retype your passowrd" required>
</fieldset>

<fieldset>
<legend>Name:</legend>

<label for="first-name">First Name</label>
<input type="text" name="first-name">
<input type="text" name="first-name" placeholder="First name">

<label for="first-name">First Name</label>
<input type="text" name="first-name">
<input type="text" name="first-name" placeholder="Last name">
</fieldset>

<fieldset>
Expand All @@ -72,7 +75,7 @@ <h1>Sign Up Form</h1>
<br>
<label for="about">About</label>
<br>
<textarea name="about"></textarea>
<textarea name="about" placeholder="Tell us about yourself..."></textarea>

<br>
<label for="hobbies">Hobbies</label>
Expand Down
47 changes: 45 additions & 2 deletions lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,51 @@ <h1>HTML in Action</h1>
</header>


<!-- Image -->
<img src="/assets/images/html5.png" alt="HTML5">
<!-- Unordered Lists -->
<h2>Unordered Lists</h2>
<ul>
<li>Bananas</li>
<li>Oranges</li>
<li>Apples</li>
<li>Pears</li>
</ul>


<!-- Ordered Lists -->
<h2>Ordered Lists</h2>
<ol>
<li>Bananas</li>
<li>Oranges</li>
<li>Apples</li>
<li>Pears</li>
</ol>


<!-- Nested Lists -->
<h2>Nested Lists</h2>
<ol>
<li>Bananas</li>
<li>Oranges</li>
<li>Apples</li>
<li>Pears</li>
<li>
<ul>
<li>Bananas</li>
<li>Oranges</li>
<li>Apples</li>
<li>Pears</li>
<li>
<ol>
<li>Bananas</li>
<li>Oranges</li>
<li>Apples</li>
<li>Pears</li>
</ol>
</li>
</ul>
</li>
</ol>


<!-- Main Footer -->
<footer>
Expand Down
41 changes: 39 additions & 2 deletions tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,45 @@ <h1>HTML in Action</h1>
</header>


<!-- Image -->
<img src="/assets/images/html5.png" alt="HTML5">
<!-- Simple Table -->
<h2>Simple Table</h2>
<table>
<tr>
<td>First Name</td>
<td>Last Name</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
</tr>
<tr>
<td>Jane</td>
<td>Doe</td>
</tr>
</table>


<!-- Table with Head and Body -->
<h2>Table with <code>thead</code> and <code>tbody</code></h2>
<table>
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>Doe</td>
</tr>
<tr>
<td>Jane</td>
<td>Doe</td>
</tr>
</tbody>
</table>


<!-- Main Footer -->
<footer>
Expand Down

0 comments on commit f320cb6

Please sign in to comment.