You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`input` elements are used to allow the user to type in their information and is used with a `type` attribute to determine the kind of information it is.
33
+
34
+
The `label` tags are used to label the input.
35
+
36
+
The `name` attribute is used to label the fields when sending the form data to the server.
37
+
38
+
The `for` and `id` attributes are used to associate the label to the input and should have matching values.
39
+
40
+
A form can contain any HTML markup (paragraphs, lists, etc.) in addition to form specific HTML tags.
41
+
42
+
[Each part of a form is considered a paragraph](http://dev.w3.org/html5/spec-LC/forms.html#forms) and can be separated using `<p>` elements.
<p>It's important to note at the beginning that a lot of material will be covered and their site will not be 100% complete by the end of the day. The goal of the day is to learn about the concepts. However, they will have most of the project done by the end of the day and "homework" and additional resources are provided at the end to help them complete their project. It's a lot to cover in one day and today will be a "guided tour."</p>
47
+
<p>It's important to note at the beginning that a lot of material will be covered and their site will not be 100% complete by the end of the day. The goal of the day is to learn about the concepts. However, they will have about 75% of the project done by end of the day and "homework" and additional resources are provided at the end to help them complete their project. It's a lot to cover in one day and today will just be a "guided tour."</p>
48
48
<p>All code blocks in white are editable and CSS changes will be reflected in the slide. For exercises, all instructions listed under <strong>bonus</strong> are for those who complete the exercises early to make sure learners at all different levels have something to work on.</p>
49
49
</div>
50
50
</header>
@@ -1653,7 +1653,7 @@ <h2>Class Exercise - Positioning the Header & Nav</h2>
1653
1653
</section>
1654
1654
1655
1655
<sectionclass="slide" data-markdown>
1656
-
##Class Exercise: Background Images
1656
+
##Class Exercise #8: Background Images
1657
1657
1658
1658
So far, we've used `background` to add colours. We can also use it to add images. We've added images in the HTML using `img` but we can also set images as a background style using CSS.
1659
1659
@@ -1693,7 +1693,7 @@ <h2>Class Exercise - Positioning the Header & Nav</h2>
1693
1693
</section>
1694
1694
1695
1695
<sectionclass="slide">
1696
-
<h2>Class exercise: Background-size</h2>
1696
+
<h2>Class exercise #8: Background-size</h2>
1697
1697
1698
1698
<p>Thanks to CSS3, we can now change the size of a background image. </p>
1699
1699
<p><code>background-size</code> is the longhand property. To include it in the shorthand <code>background</code> property, it <em>must</em> be included after <code>background-position</code>, separated with the <code>/</code> character. </p>
Forms are used to capture information from a user. The information processing and form submission usually requires the use of a server-side language such as PHP, Ruby or Python. But there are different services available to help do the processing for us without writing any of these languages!
1747
1747
1748
-
Today we're going to use http://forms.brace.io/ to submit our form info and the information will be forwarded to your email. Simple!
1748
+
Let's look at the markup first.
1749
1749
1750
1750
All forms begin with the `form` element and requires
1751
1751
two attributes, `method` (defines how the form will communicate with the web server) and `action` (provides the file path to where the form script is processed after the form is submitted.
1752
1752
1753
-
Since we're using a 3rd party service, the `action` value is their url *and* the email you want the form to be submitted to.
<p>On your contact page, under the header, create a new <code><section></code> tag. Add the below markup <em>in between</em> the <code>section</code> element.</p>
<p>Your contact page and form should look similar to <ahref="project/examples/exercise9-contact.html">Example 9</a>.</p>
1764
1788
1765
-
`input` elements are used to allow the user to type in their information and is used with a `type` attribute to determine the kind of information it is.
1789
+
<divclass="presenter-notes">
1790
+
<p>Give an general overview of what each from control is used for as you are adding in the code. There's further resources available in the next slide.</p>
1766
1791
1767
-
The `label` tags are used to label the input.
1792
+
<p>This will be the official last exercise for the day. Though there are plenty of other lessons in the next steps/homework section. If you find yourself with extra time, congratulate the class on picking up the concepts so well and either give them free time to tweak their projects, pick one of the homework assignments to go through together. Save some time to briefly cover the next steps.</p>
1793
+
</div>
1794
+
</section>
1768
1795
1769
-
The `name` attribute is used to label the fields when sending the form data to the server.
1796
+
<!-- <section class="slide" data-markdown>
1797
+
##Forms
1770
1798
1771
-
The `for` and `id` attributes are used to associate the label to the input and should have matching values.
1772
-
1773
-
A form can contain any HTML markup (paragraphs, lists, etc.) in addition to form specific HTML tags.
1774
-
1775
-
[Each part of a form is considered a paragraph](http://dev.w3.org/html5/spec-LC/forms.html#forms) and can be separated using `<p>` elements.
1776
-
1777
-
**Example:** [MDN form example](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms/How_to_structure_an_HTML_form/Example)
1778
-
</section>
1799
+
Forms are used to capture information from a user. The information processing and form submission usually requires the use of a server-side language such as PHP, Ruby or Python. But there are different services available to help do the processing for us without writing any of these languages!
1779
1800
1780
-
<sectionclass="slide" data-markdown>
1781
-
##Exercise #9 - Contact Form
1801
+
Today we're going to use http://forms.brace.io/ to submit our form info. Through this service, the information will be forwarded to your email. Simple!
1782
1802
1783
-
On your contact page, under the header, create a `<section>` tag. Add the below markup *in between* the `section` element.
1803
+
All forms begin with the `form` element and requires
1804
+
two attributes, `method` (defines how the form will communicate with the web server) and `action` (provides the file path to where the form script is processed after the form is submitted.
1784
1805
1785
-
Brace.io requires that you verify your email. The verification email will be sent on the first form submit so make sure you test your form first!
1806
+
Since we're using a 3rd party service, the `action` value is their url *and* the email you want the form to be submitted to.
<p>On your contact page, under the header, create a new <code><section></code> tag. Add the below markup <em>in between</em> the <code>section</code> element.</p>
1819
+
<p>Brace.io requires that you verify your email first. The verification email will be sent on the <strong>first</strong> form submit so make sure you test your form first!</p>
<p>Your contact page and form should look similar to <a href="project/examples/exercise9-contact.html">Example 9</a>.</p>
1844
+
<p>For more information about forms, <a href="framework/extras-form-controls.html">go here</a>.</p>
1808
1845
1809
-
Your contact page and form should look similar to [Example 9](project/examples/exercise9-contact.html).
1810
-
</section>
1846
+
<div class="presenter-notes">
1847
+
<p>Give an general overview of what each from control is used for as you are adding in the code. There's further resources available in the link provided in this slide.</p>
1848
+
</div>
1849
+
</section> -->
1811
1850
1812
1851
<sectionclass="slide">
1813
1852
<h2>Center aligning with margin</h2>
@@ -1985,7 +2024,7 @@ <h2>Center aligning with margin</h2>
1985
2024
1986
2025
You will need to register a domain name (www.mysite.com) and get hosting. Here are a couple domain & hosting options:
0 commit comments