diff --git a/backbone/exercise_steps/step4/models.js b/backbone/exercise_steps/step4/models.js index 27c8deab..b1497179 100644 --- a/backbone/exercise_steps/step4/models.js +++ b/backbone/exercise_steps/step4/models.js @@ -18,7 +18,8 @@ var ChatMessage = Backbone.Model.extend({ var ChatMessages = Backbone.Collection.extend({ model: ChatMessage, + url: 'http://backchat-backend.appspot.com/messages', comparator: function(message) { return message.get('time'); } -}); \ No newline at end of file +}); diff --git a/htmlcss-1day/css-boxmodel/exercise_descrip.html b/htmlcss-1day/css-boxmodel/exercise_descrip.html new file mode 100755 index 00000000..824f8b94 --- /dev/null +++ b/htmlcss-1day/css-boxmodel/exercise_descrip.html @@ -0,0 +1,44 @@ + + + + + CSS 2: Box Model Exercise + + + + + + + + +
+

CSS 2: Box Model Exercise

+

The goal is to create a webpage that looks like the screenshot below. Follow these steps:

+ +

+ +

+ + + + + + diff --git a/htmlcss-1day/css-boxmodel/exercise_screenshot.png b/htmlcss-1day/css-boxmodel/exercise_screenshot.png new file mode 100755 index 00000000..e2bb20d8 Binary files /dev/null and b/htmlcss-1day/css-boxmodel/exercise_screenshot.png differ diff --git a/htmlcss-1day/css-boxmodel/exercise_solution.html b/htmlcss-1day/css-boxmodel/exercise_solution.html new file mode 100755 index 00000000..b1fa88c6 --- /dev/null +++ b/htmlcss-1day/css-boxmodel/exercise_solution.html @@ -0,0 +1,57 @@ + + + + + Fox + + + +
+

Fox

+ + + +
+

+ Fox is a common name for many species of carnivorous mammals belonging to the Canidae family. Foxes are small to medium-sized canids (slightly smaller than the median-sized domestic dog), characterized by possessing a long narrow snout, and a bushy tail (or brush). +

+ +

+Members of about 37 species are referred to as foxes, of which only 12 species actually belong to the Vulpes genus of 'true foxes'. By far the most common and widespread species of fox is the red fox (Vulpes vulpes), although various species are found on almost every continent. The presence of fox-like carnivores all over the globe has led to their appearance in both popular culture and folklore in many cultures around the world (see also Foxes in culture). The gray fox is one of only two canine species known to climb trees; the other is the raccoon dog. +

+
+ +
+ + + diff --git a/htmlcss-1day/css-boxmodel/slides.html b/htmlcss-1day/css-boxmodel/slides.html new file mode 100755 index 00000000..bed4019e --- /dev/null +++ b/htmlcss-1day/css-boxmodel/slides.html @@ -0,0 +1,927 @@ + + + + + + + CSS: Box Model + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + + + +
+

CSS: Box Model

+
+ + + + + + +
+

The Box Model

+
+

All elements are treated as boxes by the browser's rendering engine (either "inline" or "block" boxes).

+

A box consists of content, padding, border, and margin:

+ + +
+
+ + + + + +
+

Margin

+
+

The margin is a transparent area around the box - the background of the box does not apply to it. It separates the box from other elements.

+

15 pixels on all sides:

+
margin: 15px;
+

10px on top, 5px right, 3px bottom, 20px left:

+

margin: 10px 5px 3px 20px;
+

10px on top:

+
margin-top: 10px;
+ +
+
+ + + + + +
+

Auto Margin

+
+

If the margin is set to "auto" on a box that has a width, it will take up as much space as possible.

+

A centered box:

+
+<div style="margin:auto; width:300px;">Hi</div>
+
+
Hi
+

A flush-right box:

+
+<div style="margin-left:auto; margin-right:5px;
+  width:300px;"> Hi</div>
+
+
Hi
+
+
+ + + + + +
+

Border

+
+

The border property styles the edge around the box and is specified as "thickness style color".

+

A solid red border:

+
+border: 1px solid #ff0000;
+
+

A thick dotted black top border:

+
+border-top: 4px dotted #000000;
+
+

2 different border styles:

+
+border-top: 4px dotted #000000;
+border-bottom: 1px solid #ff0000;
+
+
+
+ + + + + +
+

Border Thickness

+
+

Border thickness can also be specified with border-width property and can be different on each side (like margin). +

10px on all sides:

+
+border-width: 10px;
+
+

10px on top, 5px right, 3px bottom, 20px left:

+

+border-width: 10px 5px 3px 20px;
+
+
+
+ + + + + +
+

Border Style

+
+

Border style can also be specified using the border-style property.

+
+border-style:dashed;
+
+
+border-style:double;
+
+
+border-style:groove;
+
+
+border-style:outset;
+
+
+border-style:inset;
+
+
+border-style:ridge;
+
+ +
+
+ + + + + +
+

Border Color

+
+

Border color can also be specified with border-color property.

+

Green on all sides:

+
+border-color: rgb(0, 240, 0);
+
+

White on top, black right, red bottom, green left:

+
+border-color: #fff black #ff0000 #00ff00;
+
+ +
+
+ + + + + +
+

Padding

+
+

The padding property specifies whitespace between the border and the content.

+

15px on all sides:

+
+padding: 15px;
+
+

10px on top, 5px right, 3px bottom, 20px left:

+

padding: 10px 5px 3px 20px;
+

10px on top:

+
padding-top: 10px;
+ +
+
+ + + + + +
+

Exercise Time

+
+ Exercise #2: Box Model +
+
+ + + +
+ +
+ + + + + diff --git a/htmlcss-1day/css-floats/exercise_descrip.html b/htmlcss-1day/css-floats/exercise_descrip.html new file mode 100755 index 00000000..93f25e22 --- /dev/null +++ b/htmlcss-1day/css-floats/exercise_descrip.html @@ -0,0 +1,46 @@ + + + + + CSS 2: Layout Exercise + + + + + + + + +
+

CSS 2: Layout Exercise

+

The goal is to create a webpage that looks like the one below. Follow these steps: +

+ +

+ +

+ + + + + + diff --git a/htmlcss-1day/css-floats/exercise_screenshot.png b/htmlcss-1day/css-floats/exercise_screenshot.png new file mode 100644 index 00000000..85ff8c04 Binary files /dev/null and b/htmlcss-1day/css-floats/exercise_screenshot.png differ diff --git a/htmlcss-1day/css-floats/exercise_solution.html b/htmlcss-1day/css-floats/exercise_solution.html new file mode 100755 index 00000000..908a8a4f --- /dev/null +++ b/htmlcss-1day/css-floats/exercise_solution.html @@ -0,0 +1,177 @@ + + + + + GirlDevelopIt + + + +
+ + + +

About

+ +

It can be intimidating for women to learn and ask questions when they are in an extreme minority. While open and welcoming, today's budding developer community is up to 91% male. If we can empower more females with the confidence in their technological capabilities we can begin to change this landscape. +

+ + +
+

Projects

+ +
+ +

Upcoming Classes

+ + + + + + + + + + + + + + + + + +
LocationTopic
New YorkJavaScript & jQuery
New YorkHTML & CSS
+ +

Sign Up!

+
+ +
+ +
+ +
+
+ Gender: + + + + +
+
+ +
+ +
+ + + +
+01000111 01001001 01010010 01001100 01000100 01000101 01010110 01000101 01001100 01001111 01010000 01001001 01010100 01000111 01001001 01010010 01001100 01000100 01000101 01010110 01000101 01001100 01001111 01010000 01001001 01010100 00100000 01010011 01011001 01000100 01001110 01000101 01011001 +
+ + + diff --git a/htmlcss-1day/css-floats/slides.html b/htmlcss-1day/css-floats/slides.html new file mode 100755 index 00000000..4db188e4 --- /dev/null +++ b/htmlcss-1day/css-floats/slides.html @@ -0,0 +1,855 @@ + + + + + + + CSS: Floats + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+

CSS: Floats

+
+ + + +
+

Float

+
+

The float property is used to float boxes on the sides of other boxes, allowing other content to flow around it. First used to wrap text around images.

+
+<div style="border:1px solid black"> 
+  <img style="float:right" src="fox.jpg">
+  Pamela Fox has worked in ....
+</div>
+
+
+ +Pamela Fox has worked in the Developer Programs group at Google for the last 2 years. She dedicates most of her time to supporting the Google Maps API, but spends her free time mashing up other APIs and developer tools. Before that, she graduated from the University of Southern California (USC), where she majored in Computer Science, minored in Linguistics and 3d animation, and helped grow the video games department. +
+
+
+ + + + + +
+

Float

+
+

The float property can also be used to float non-IMG elements, but make sure to specify a width for the floated element.

+ +
+<div>
+  <div style="float:left; width:50px; background-color:yellow; ">
+    H<br>O<br>M<br>E
+  </div>
+  Hi, this is my personal website, where you'll find out everything about my inner desires, hopes, dreams, and incredibly exciting daily life.
+</div>
+<div>Contact me for more info.</div>
+
+ +
+
+ H
O
M
E +
+ Hi, this is my personal website, where you'll find out everything about my inner desires, hopes, dreams, and incredibly exciting daily life. +
+
Contact me for more info.
+ +
+
+ + + + + +
+

Clear

+
+

The clear property can be used to specify that an element should not wrap around floated elements above it. +

+ +
+<div style="float:left; width:50px; background-color:yellow; ">
+  H<br>O<br>M<br>E
+</div>
+<div>
+  Hi, this is my personal website, where you'll find out everything about my inner desires, hopes, dreams, and incredibly exciting daily life.
+</div>
+<div style="clear:both">Contact me for more info.</div>
+
+ +
+ H
O
M
E +
+
+ Hi, this is my personal website, where you'll find out everything about my inner desires, hopes, dreams, and incredibly exciting daily life. +
+
Contact me for more info.
+
+ +
+
+ + + + + +
+

Page Layouts

+
+

With all these CSS properties combined, you can create nice looking non-linear page layouts.

+ +

More sample layouts

+
+
+ + + + + +
+

Exercise Time

+
+ Exercise #3: Page Layout +
+
+ + +
+ +
+ + + + + diff --git a/htmlcss-1day/css-grouping/exercise_before.html b/htmlcss-1day/css-grouping/exercise_before.html new file mode 100755 index 00000000..12ed0a95 --- /dev/null +++ b/htmlcss-1day/css-grouping/exercise_before.html @@ -0,0 +1,21 @@ + + + + + Fox + + +

Fox

+ + + +

+Fox is a common name for many species of carnivorous mammals belonging to the Canidae family. Foxes are small to medium-sized canids (slightly smaller than the median-sized domestic dog), characterized by possessing a long narrow snout, and a bushy tail (or brush). +

+ +

+Members of about 37 species are referred to as foxes, of which only 12 species actually belong to the Vulpes genus of 'true foxes'. By far the most common and widespread species of fox is the red fox (Vulpes vulpes), although various species are found on almost every continent. The presence of fox-like carnivores all over the globe has led to their appearance in both popular culture and folklore in many cultures around the world (see also Foxes in culture). The gray fox is one of only two canine species known to climb trees; the other is the raccoon dog. +

+ + + diff --git a/htmlcss-1day/css-grouping/exercise_descrip.html b/htmlcss-1day/css-grouping/exercise_descrip.html new file mode 100755 index 00000000..e18f6b5f --- /dev/null +++ b/htmlcss-1day/css-grouping/exercise_descrip.html @@ -0,0 +1,43 @@ + + + + + CSS 2: Grouping Exercise + + + + + + + + +
+

CSS 2: Grouping Exercise

+

The goal is to create a webpage that looks like the screenshot below. Follow these steps:

+
    +
  • Copy this webpage. +
  • Create a div for the paragraphs and style it appropriately. +
  • Create a span for the first sentence of each paragraph, and style appropriately. +
  • Resize the image to match the width of the div. +
+

+ +

+ + + + + + diff --git a/htmlcss-1day/css-grouping/exercise_screenshot.png b/htmlcss-1day/css-grouping/exercise_screenshot.png new file mode 100755 index 00000000..0edd5176 Binary files /dev/null and b/htmlcss-1day/css-grouping/exercise_screenshot.png differ diff --git a/htmlcss-1day/css-grouping/exercise_solution.html b/htmlcss-1day/css-grouping/exercise_solution.html new file mode 100755 index 00000000..046616d5 --- /dev/null +++ b/htmlcss-1day/css-grouping/exercise_solution.html @@ -0,0 +1,41 @@ + + + + + Fox + + + +

Fox

+ + + +
+

+ Fox is a common name for many species of carnivorous mammals belonging to the Canidae family. Foxes are small to medium-sized canids (slightly smaller than the median-sized domestic dog), characterized by possessing a long narrow snout, and a bushy tail (or brush). +

+ +

+Members of about 37 species are referred to as foxes, of which only 12 species actually belong to the Vulpes genus of 'true foxes'. By far the most common and widespread species of fox is the red fox (Vulpes vulpes), although various species are found on almost every continent. The presence of fox-like carnivores all over the globe has led to their appearance in both popular culture and folklore in many cultures around the world (see also Foxes in culture). The gray fox is one of only two canine species known to climb trees; the other is the raccoon dog. +

+
+ + + diff --git a/htmlcss-1day/css-grouping/slides.html b/htmlcss-1day/css-grouping/slides.html new file mode 100755 index 00000000..87b86fc9 --- /dev/null +++ b/htmlcss-1day/css-grouping/slides.html @@ -0,0 +1,863 @@ + + + + + + + CSS: Grouping Elements + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+
+

CSS: Layout

+

+
+
+ + + +
+

Block & Inline Elements

+
+

There are two types of elements in the CSS world: "inline" and "block".

+

A browser generally renders a new line after any "block" elements in the HTML.

+

Examples:

+
    +
  • inline: INPUT, A, IMG, BR, a few others... +
  • block: P, H1, UL, LI, TABLE, almost everything else... +
+
+
+ + + + + +
+

Grouping Elements

+
+

A grouping element lets you style multiple elements as a whole.

+

SPAN creates an inline element.

+
<span> Hello <a href="world.com">World </a>! </span>
+

DIV creates a block element.

+
<div> <p>Hello</p> <p>World</p> </div> 
+
<div> Hello <a href="world.com">World </a>! </div> 
+
+
+ + + + + +
+

Width & Height

+
+

The width and height properties can be used to resize block level elements and IMG elements. +

+

A narrow div:

+
+<div style="width:30px;">Hello World!</div>
+
+
Hello World!
+

A distorted image:

+
+<img style="width:100px; height: 30px;" url="cat.jpg">
+
+ + +
+
+ + + + + +
+

Overflow

+
+

The overflow property specifies what happens when content overflows the specified dimensions. The default is "visible", which means it flows outside.

+
<div style="height: 25px;">Hi!</div>
+
+Hi! +
+

The "hidden" value will trim the content at the border:

+
<div style="height: 25px; overflow:hidden;">Hi!</div>
+
+
+Hi! +
+
+
+ + + + + +
+

Overflow: Auto

+
+

The "auto" value can be used to tell the browser to add scrollbars if the content overflows.

+
+<div style="overflow: auto; width: 60px; height: 25px;">
+  Hello World</div>
+
+
+Hello World +
+

The overflow-y and overflow-x properties can be used to specify different settings for each direction.

+
+<div style="overflow-x: auto; overflow-y: hidden;
+  width: 60px; height: 25px;"> Hello World</div>
+
+
+Hello World +
+
+
+ + + + + +
+

Exercise Time

+
+ Exercise #1: Grouping Elements +
+
+ + + + + +
+ +
+ + + + + diff --git a/htmlcss-1day/css-location/slides.html b/htmlcss-1day/css-location/slides.html new file mode 100644 index 00000000..8525e19f --- /dev/null +++ b/htmlcss-1day/css-location/slides.html @@ -0,0 +1,791 @@ + + + + + + + CSS: Selectors + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+

CSS Location

+
+ + + + +
+

CSS files

+
+

CSS can also be defined in a separate file, and imported using either the link element or the @import statement in CSS. + +

Linked stylesheet:

+
+<head>
+<link rel="stylesheet" type="text/css" href="main.css">
+</head>
+
+ +

Imported stylesheet:

+
+<style>
+@import url("main.css")
+</style>
+
+
+
+ + + + + +
+

Inline CSS

+
+

CSS styles can be assigned to individual HTML elements via the style attribute:

+ +
+<tag style="property1: value; property2: value;"> </tag>
+
+ +
+<h1 style="color:red; text-decoration: underline;">Hello</h1>
+
+ +

Inline styles will have precedence over all other styles. Inline CSS should be avoided as it increases maintenance cost and blurs line between presentation and content.

+
+
+ + + +
+ +
+ + + + + diff --git a/htmlcss-1day/css-positioning/exercise_descrip.html b/htmlcss-1day/css-positioning/exercise_descrip.html new file mode 100644 index 00000000..54261468 --- /dev/null +++ b/htmlcss-1day/css-positioning/exercise_descrip.html @@ -0,0 +1,59 @@ + + + + + CSS 2: Positioning Exercise + + + + + + + + +
+

CSS 2: Positioning Exercise

+

The goal is to use the CSS position property to create a webpage that looks like the one below. +

+

Here's what it looks like with a window width of 800x530: +

+

+ +

+

Here's what it looks like when the window is 400x475 - notice how elements resize: +

+

+ +

+

Here are recommended steps for making this happen: +

    +
  • Create a blank web page with just html, head, body, and a style + tag. +
  • Change the background of the page to be a sky blue and have a background image of clouds. +
  • Create a div for the grass - position it at the bottom and give it an appropriate height. +
  • Create a div for the "Farm Party!" banner - position it near the top center area, and style the text + so that it's red. For a bonus, use a fun custom font (like from Google Web Fonts) and give it the appearance of a black stroke. +
  • For each of the images shown, search for an appropriate image on Google Image search - it doesn't have to be the exact same. Try searches like "sheep animated gif" + and if you need to, restrict the results to just "clip art". When you find the image, create a img for it on the page. +
  • Position each of the img elements appropriately. The sheep should be around the bottom left, the cow should be on the horizon, the dude + should be dancing in the middle, the tree should be on the front right, and the sun should be around the upper right. +
  • As a bonus, position a picture of your face on top of the dude, and watch yourself have a farm party! +
+ + + + + + diff --git a/htmlcss-1day/css-positioning/exercise_solution.html b/htmlcss-1day/css-positioning/exercise_solution.html new file mode 100644 index 00000000..5ac5f503 --- /dev/null +++ b/htmlcss-1day/css-positioning/exercise_solution.html @@ -0,0 +1,106 @@ + + + + Farm Party! + + + + + + + + + + + +
+ + + + + + + + + + + + \ No newline at end of file diff --git a/htmlcss-1day/css-positioning/slides.html b/htmlcss-1day/css-positioning/slides.html new file mode 100755 index 00000000..8abb86c8 --- /dev/null +++ b/htmlcss-1day/css-positioning/slides.html @@ -0,0 +1,857 @@ + + + + + + + CSS: Positioning + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + + +
+

CSS: Positioning

+
+ + + +
+

Position: Normal

+
+

The position property is used to specify a positioning scheme for an element. The default is "static" which puts the element in the "normal" flow.

+

In normal flow, inline boxes flow from left to right, wrapping to next line when needed. +

+
<img src="logo.png"><img src="logo.png"><img src="logo.png">
+ +
+
+ + + + + +
+

Position: Normal

+
+

In normal flow, block boxes flow from top to bottom, making a new line after every box.

+
+<h1 style="border:1px solid black">Greetings</h1>
+<p style="border:1px solid red">Hola, novato</p>
+<div style="border:1px solid black"> Hey, dude>!</div>
+
+

Greetings

+

Hola, novato

+
Hey, dude
+
+
+ + + + + +
+

Position: Relative

+
+

The "relative" value will still put the element in the normal flow, but then offset it according to top/left/right/bottom properties.

+
+<div style="position: relative; left: 80px; top: 20px;
+  height: 100px; background-color: yellow;">
+  Hello, hi!
+</div>
+
+
Hello, hi!
+ +
+
+ + + + + +
+

Position: Absolute

+
+

The "absolute" value will take the element out of the normal flow and position it in relation to the window (or the closest non-static element).

+
+<div style="position: absolute; top: 10px; right: 10px; 
+  background-color: yellow">
+ Up here
+</div>
+
+
+<div style="position: absolute; bottom: 10px; left:60px; 
+  background-color: green">
+ Down here
+</div>
+
+
Up here
+
+ Down here +
+
+
+ + + + + +
+

z-Index

+
+

The z-index property specifies the stack order of positioned elements, in the case that they are overlapping. The element with highest z-index goes on top.

+ +
+<div style="position: absolute; bottom: 10px; left:60px; 
+  background-color: green"> Bottom </div>
+<div style="position: absolute; bottom: 15px; left:60px; 
+  background-color: green; z-index: 2;"> Top </div>
+
+ +
Bottom
+
Top
+
+
+ + + +
+

Exercise Time

+
+ Exercise: Farm Party +
+
+ + +
+ +
+ + + + + diff --git a/htmlcss-1day/css-properties/exercise_descrip.html b/htmlcss-1day/css-properties/exercise_descrip.html new file mode 100755 index 00000000..54467e66 --- /dev/null +++ b/htmlcss-1day/css-properties/exercise_descrip.html @@ -0,0 +1,40 @@ + + + + + CSS 1: Properties Exercise + + + + + + + + +
+

CSS 1: Properties Exercise

+

Starting with the solution from the selectors exercise, + add property value pairs to the CSS rules so that the page looks like the screenshot below. +

+

+ +

+ + + + + + diff --git a/htmlcss-1day/css-properties/exercise_screenshot.png b/htmlcss-1day/css-properties/exercise_screenshot.png new file mode 100644 index 00000000..d6fe7701 Binary files /dev/null and b/htmlcss-1day/css-properties/exercise_screenshot.png differ diff --git a/htmlcss-1day/css-properties/exercise_solution.html b/htmlcss-1day/css-properties/exercise_solution.html new file mode 100755 index 00000000..dca5e23c --- /dev/null +++ b/htmlcss-1day/css-properties/exercise_solution.html @@ -0,0 +1,127 @@ + + + + + GirlDevelopIt + + + + GirlDevelopIt Logo + +

About

+ +

It can be intimidating for women to learn and ask questions when they are in an extreme minority. While open and welcoming, today's budding developer community is up to 91% male. If we can empower more females with the confidence in their technological capabilities we can begin to change this landscape. +

+ +

Our Locations

+ + +

Upcoming Classes

+ + + + + + + + + + + + + + + + + +
LocationTopic
New YorkJavaScript & jQuery
San FranciscoHTML & CSS
+ +

Sign Up!

+
+ +
+ +
+ +
+
+ Gender: + + + + +
+
+ +
+ +
+ +

+ Twitter | Facebook | Flickr + + + diff --git a/htmlcss-1day/css-properties/slides.html b/htmlcss-1day/css-properties/slides.html new file mode 100644 index 00000000..c5ef77e7 --- /dev/null +++ b/htmlcss-1day/css-properties/slides.html @@ -0,0 +1,1104 @@ + + + + + + + CSS: Properties + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ +
+

CSS Properties

+
+ + + + + + +
+

Declarations (Property Value Pairs)

+
+

+Each property can have one or more space separated values. +

+
+font: italic 12px sans-serif;
+color: #333;
+background-color: red;
+
+
+
+ + + + + +
+

Properties: color

+
+

The "color" property changes the text color. Colors can be specified either by name, for the most common colors, or by hexadecimal value. +

+
+color: red;
+color: #ff0000;
+color: rgb(255, 0, 0); 
+
+

+This property is inherited, which means it'll also be applied to all descendant elements but can be overridden by more specific rules. This rule makes all the body text red unless specified otherwise: +

+
+body {
+  color: red;
+}
+
+

+ Explain hexadecimal math here, how FF is 0-15, with a 16 place and 1 place, so its 15*16 + 15*1 +

+ +
+
+ + + + + +
+

Properties: background-color

+
+

The "background-color" property changes the background color. Besides the BODY element, all elements default to a transparent background. +

+background-color: black;
+background-color: #000000;
+background-color: rgb(0,0,0); 
+
+ +
+body {
+  background-color: yellow;
+}
+
+table {
+  background-color: #FFCC00;
+}
+
+ +
+
+ + + + + +
+

Finding colors

+
+

To find colors or color schemes for your webpage, you can use: +

+ +
+
+ + + + + +
+

Property: font-family

+
+

The "font-family" property specifies the font family (or "font face") of the text. You can specify either a specific font name or a generic family name (serif, sans-serif, monospace, cursive). +

+
+font-family: "Times New Roman";
+font-family: sans-serif;
+
+

+A comma separated list of font families can be specified if you want the browser to prefer one but use the others as backup options. +

+
+font-family: "Times New Roman", serif;
+font-family: "Arial", sans-serif;
+font-family: Courier, monospace;
+
+ + +
+
+ + + + + +
+

Finding fonts

+
+

Several websites exist that help you pick fonts for your website and to customize it with non-default fonts:

+ +

Live examples of custom fonts: 2012 JSConf, Teach the World to Code

+ +
+
+ + + + + +
+

Property: font-size

+
+

The "font-size" property specifies the size of a font. It can be specified as a fixed size in various units, a percentage, or as a predefined keyword. +

+ +
+font-size: 1.5em;
+font-size: 12px;
+font-size: 100%;
+font-size: larger;
+
+
+
+ + + + + + + +
+

Property: font-size (px)

+
+

The "px" unit lets you size font in terms of pixels, which is the unit also used to size images and other elements. It is easier to understand than em, but doesn't work as well when printing or resizing. +

+
+h2 {
+  font-size: 17px; 
+}
+
+ +

Normal Headline

+

Resized Headline

+
+
+ + + + + +
+

Property: font-size (keywords)

+
+

There are various keywords that can be used if you're not as worried about the precise sizing: xx-small, x-small, small, medium, large, x-large, xx-large. +

+
+p.footnote {
+  font-size: small;
+}
+
+

There are also two relative keywords, that act similar to em's in setting size relative: smaller, larger.

+
+p.intro {
+  font-size: larger;
+}
+
+ +
+
+ + + +
+

Property: font-size (em)

+
+

The "em" unit lets you set the size of the text relative to the text around it. This makes the page resize nicely in proportion if the user changes their default font-size. The default size is "1em".

+ +
+p {
+  font-size: 0.9em; 
+}
+
+strong {
+  font-size: 1.5em; 
+}
+
+ +

Hello there!

+ +
+
+ + +
+

Property: font-size (%)

+
+

The size can also be specified as a percentage, which works similar to "ems", and can be used in conjunction with other units. +

+
+body { 
+  font-size: 12px; 
+}
+
+h1 { 
+  font-size: 200%; 
+}
+
+h1 a { 
+  font-size: 75%; 
+}
+
+ +
+

Header Link

+ Text! +
+
+
+ + + + + +
+

Property: font-style

+
+

The "font-style" property specifies the font style of the text, either "normal" by default or "italic". +

+ +
+font-style: italic;
+
+ +

+Italicized text. +

+ +
+
+ + + + + +
+

Property: font-weight

+
+

The "font-weight" property specifies the thickness of the font. The default is "normal" and the typical override is "bold". You can also specify "bolder", "lighter", or a number from 100 to 900.

+ +
+font-weight: bold;
+
+ +

+Bold text! +

+
+
+ + + + + +
+

"Shorthand" properties

+
+

A "shorthand" property in CSS lets you specify multiple properties in one property, for conciseness purposes. Instead of specifying each "font-" property separately, you can bundle them up in one "font" property. +

+
+table.geeky {
+  font-weight: bold;
+  font-style: italic;
+  font-size: 10px;
+  font-family: sans-serif;
+}
+
+

Those four rules can be written as:

+
+table {
+  font: italic bold 10px sans-serif;
+}
+
+

The "font" property expects values ordered as font-style, font-variant, font-weight, font-size, and font-family, and any of the first three can be left off.

+ +
+
+ + + + + +
+

Other text properties

+
+
+line-height: 10px;
+
+

+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis aliquam convallis ligula ut suscipit. Phasellus hendrerit, enim scelerisque... +

+
+text-align: center;
+
+

+Centered text. +

+
+text-decoration: underline;
+
+

Underlined text

+
+text-indent: 20px;
+
+

Indented text.

+
+
+ + + + + + +
+ +
+ + + + + diff --git a/htmlcss-1day/css-selectors/exercise_descrip.html b/htmlcss-1day/css-selectors/exercise_descrip.html new file mode 100755 index 00000000..3c100ac5 --- /dev/null +++ b/htmlcss-1day/css-selectors/exercise_descrip.html @@ -0,0 +1,50 @@ + + + + + CSS 1: Selectors Exercise + + + + + + + + +
+

CSS 1: Selectors Exercise

+

Starting with the solution from the HTML 2 exercise, + add CSS rules to the webpage so that it looks like the screenshot below. +

+

First figure out what selector you can use to select a part of the page, + adding class or id attributes to the HTML if necessary. +

+

Then create the CSS rule with that selector and the color property (e.g. color: red). + Useful color names are + red, blue, green, yellow, + purple, orange, darkred, and lightblue. +

+

Note that there are often multiple ways to achieve the same result in CSS. Try to use a mix of the different types of selectors- id, class, position in document, etc. +

+

+ +

+ + + + + + \ No newline at end of file diff --git a/htmlcss-1day/css-selectors/exercise_screenshot.png b/htmlcss-1day/css-selectors/exercise_screenshot.png new file mode 100644 index 00000000..4caf8733 Binary files /dev/null and b/htmlcss-1day/css-selectors/exercise_screenshot.png differ diff --git a/htmlcss-1day/css-selectors/exercise_solution.html b/htmlcss-1day/css-selectors/exercise_solution.html new file mode 100755 index 00000000..5bfadf1b --- /dev/null +++ b/htmlcss-1day/css-selectors/exercise_solution.html @@ -0,0 +1,119 @@ + + + + + GirlDevelopIt + + + + GirlDevelopIt Logo + +

About

+ +

It can be intimidating for women to learn and ask questions when they are in an extreme minority. While open and welcoming, today's budding developer community is up to 91% male. If we can empower more females with the confidence in their technological capabilities we can begin to change this landscape. +

+ +

Our Locations

+ + +

Upcoming Classes

+ + + + + + + + + + + + + + + + + +
LocationTopic
New YorkJavaScript & jQuery
San FranciscoHTML & CSS
+ +

Sign Up!

+
+ +
+ +
+ +
+
+ Gender: + + + + +
+
+ +
+ +
+ +

+ Twitter | Facebook | Flickr + + + diff --git a/htmlcss-1day/css-selectors/slides.html b/htmlcss-1day/css-selectors/slides.html new file mode 100644 index 00000000..1e3efa0f --- /dev/null +++ b/htmlcss-1day/css-selectors/slides.html @@ -0,0 +1,1245 @@ + + + + + + + CSS: Selectors + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+
+

CSS

+

Selectors

+
+
+ + + + + + + +
+

Anatomy of a Website

+
+

Your Content +

+ HTML: Structure

+

+ CSS: Presentation

+

= Your Website

+ +

A website is a way to present your content to the world, using HTML and CSS to present that content & make it look good.

+
+
+ + + + + +
+

CSS: What is it?

+
+

CSS = Cascading Style Sheets

+ +

CSS is a "style sheet language" that lets you style the elements on your page. +

+ +

CSS is embedded inside HTML, but it is not HTML itself.

+
+
+ + + + + +
+

CSS: What can it do?

+
+

text

+

color

+

size

+
+

position

+
+ +

Want proof? + Check out CSS Zen Garden +

+ +
+
+ + + + + +
+

Anatomy of CSS

+
+

CSS consists of "style rules". Each style rule consists of a "selector" and "declarations" of property-value pairs: +

+ +
 
+selector {
+  property: value;
+  property: value;
+}
+
+ +
+body {
+  color: yellow;
+  background-color: black;
+}
+
+ +
+
+ + + + + +
+

CSS in HTML

+
+

CSS can be embedded in HTML in several ways. One way is to include all CSS in a style tag, usually inside the head tag:

+ +
+<html>
+<head>
+<style>
+body {
+  color: yellow;
+  background-color: black;
+}
+</style>
+</head>
+
+ +
+
+ + + + +
+

Selectors

+
+ + + + + + +
+

The Selector

+
+
+selector {
+  property: values;
+}
+
+ +

+The selector is used to select which elements in the HTML page will be given the styles inside the curly braces. +

+ + +
+
+ + + + + +
+

Types of Selectors

+
+
    +
  1. element +
  2. id +
  3. class +
  4. position in document +
+
+
+ + + + + +
+

Types of Selectors: element

+
+
+p {
+}
+
+ +

+Selects all p elements in the entire document. +

+
+
+ + + + + +
+

Types of Selectors: id

+
+
+#header {
+}
+
+

+Selects any element with the id “header", e.g. +

+
+<p id="header"></p>
+
+ +

+Element ids are unique, so that should only be one element. +

+

+The "#" is how you tell CSS "this is an id." +

+
+
+ + + + + +
+

Types of Selectors: class

+
+
+.warning {
+  color: red;
+}
+
+ +

Selects any element with the class name “warning”, e.g.

+
+<p class="warning"></p>
+
+ +

Multiple elements can have the same class name.

+ +

The "." is how you tell CSS "this is a class name."

+ +
+
+ + + + + +
+

Types of Selectors: class

+
+

An element can have only 1 id but multiple classes, so you can take advantage of that for greater flexibility.

+

+
+.intro {
+  background-color: blue;
+}
+.desc {
+  color: red;
+}
+
+ +
+<p class="desc intro">hi</p> -> hi
+<p class="desc">hi</p> -> hi
+<p class="intro">hi</p> -> hi
+
+
+
+ + + + + +
+

Types of selectors: position in document

+
+
+ul em {
+  color: yellow;
+}
+
+ +

Selects any em element that's a descendant of a ul element. +

+The " " (space) is how you say "find a descendant." +

+ +
+<body>
+ <ul>
+  <li><em>Hi</em></li>
+ </ul>
+ <p><em>Bye</em></p>
+</body>
+
+
+
+ + + + + +
+

Types of selectors: id + position

+
+
+#related-brands li {
+  color: gray;
+}
+
+

+Selects any <li> element that is a descendant of any element with an id that equals "related-brands." +

+
+<ul id="related-brands">
+  <li>Rice Krispies</li>
+  <li>NutriGrain</li>
+</ul>
+
+

+Tip: Try it out in the Selectoracle. +

+ +
+
+ + + + + +
+

Types of selectors: element + class

+
+
+li.special {
+  color: yellow;
+}
+
+

+Selects any li element with a class attribute that +contains the word "special". +

+
+<ul>
+  <li>Rice Krispies</li>
+  <li class="special">NutriGrain</li>
+</ul>
+
+

+Warning: If you place a space after the ".", it'll look for descendants of li with class of "special." +

+
+
+ + + + + +
+

Types of selectors: ALL!

+
+
+#header div.content form p em.required {
+  color: white;
+}
+
+

+Selects any em element with a class attribute that contains the word "required" that is a descendant of a p element that is a descendant of a form element that is a descendant of a div element with a class attribute that contains the word "content" that is a descendant of any element with an id attribute that equals "header". +

+ +
+
+ + + + + +
+

Types of selectors: pseudo classes

+
+

A set of "pseudo classes" can style anchor elements depending on their state.

+
+a:link { /* unvisited link */
+  color: red;
+}
+a:visited { /* visited link */
+  color: blue;
+} 
+a:hover { /* moused over link */
+  color: green;
+}  
+a:active { /* current link */
+  color: purple;
+} 
+a:focus {  /* focused link */
+  color: purple;
+} 
+
+
+
+ + + + + +
+

Grouping selectors

+
+

You can group selectors to apply the same style to all of the selectors by separating them with commas:

+ +
+a:hover, a:active, a:focus {
+  background-color: yellow;
+}
+
+
+
+ + + + + +
+

The selector: Cascade rules

+
+

Generally:

+
    +
  • id is more specific than a class, class is more specific than element. +
  • the longer the selector, the more specific it is +
  • If style rules are equally specific, the last one wins! +
+ +

Example:

+
+#a #b h1 { color: red; } /* winner! */
+#a h1 { color: blue; }
+
+
+
+ + +
+

CSS Style

+
+ + + +
+

Coding Conventions

+
+

It is possible to write CSS like this: +

+selector{property:values}selector{property:values}
+
+ +

But it's preferred to write it like this:

+
+selector {
+  property: values;
+}
+
+selector {
+  property: values;
+}
+
+

Notice: space between "selector" and "{", 2 spaces before property-value pair, space after "property:", semi-colon after "values", line between rules. +

+ +
+
+ + + + + +
+

Naming Conventions

+
+

Some rules to follow when making IDs and class names:

+
    +
  • Describe the content, not the presentation ("warning", not "redbox"). +
  • Use all lowercase, and hyphens when needed for readability ("header-info", not "headerInfo"). +
  • Use hyphens to show that a class or ID is part of something else. (e.g. "footer", "footer-copyright", and "footer-logo"). +
+
+
+ + + +
+

Comments

+
+

Comments will be ignored by the browser and are useful for documenting your styles to other humans or commenting out rules.

+ +
+/* Comment here */
+p 
+{
+  margin: 1em; /* Comment here */
+  padding: 2em; 
+  /* color: white; */
+  background-color: blue;
+}
+
+/*
+  multi-line 
+  comment here
+*/
+
+ +
+
+ + + + + + +
+ +
+ + + + + diff --git a/htmlcss-1day/html-basics/exercise_descrip.html b/htmlcss-1day/html-basics/exercise_descrip.html new file mode 100755 index 00000000..46d45e81 --- /dev/null +++ b/htmlcss-1day/html-basics/exercise_descrip.html @@ -0,0 +1,41 @@ + + + + + + HTML 1: Exercise + + + + + + + + +
+

HTML 1: Exercise

+

Create a webpage that looks like the screenshot below.

+

You can copy the logo, text, and hyperlink URLs from girldevelopit.com. +

+

Bonus: If you have time after, send it through the W3C validator and fix any issues it reports. +

+

+ +

+ + + + + diff --git a/htmlcss-1day/html-basics/exercise_screenshot.png b/htmlcss-1day/html-basics/exercise_screenshot.png new file mode 100644 index 00000000..de841c56 Binary files /dev/null and b/htmlcss-1day/html-basics/exercise_screenshot.png differ diff --git a/htmlcss-1day/html-basics/exercise_solution.html b/htmlcss-1day/html-basics/exercise_solution.html new file mode 100755 index 00000000..2fb2d31b --- /dev/null +++ b/htmlcss-1day/html-basics/exercise_solution.html @@ -0,0 +1,38 @@ + + + + + GirlDevelopIt + + + GirlDevelopIt Logo + +

About

+ +

+ It can be intimidating for women to learn and ask questions when they are in an extreme minority. While open and welcoming, today's budding developer community is up to 91% male. If we can empower more females with the confidence in their technological capabilities we can begin to change this landscape. +

+ +

Our Locations

+ + +
+ Twitter | Facebook | Flickr + + + diff --git a/htmlcss-1day/html-basics/htmllogo.jpg b/htmlcss-1day/html-basics/htmllogo.jpg new file mode 100644 index 00000000..17356e22 Binary files /dev/null and b/htmlcss-1day/html-basics/htmllogo.jpg differ diff --git a/htmlcss-1day/html-basics/screenreader.jpg b/htmlcss-1day/html-basics/screenreader.jpg new file mode 100644 index 00000000..a4a85086 Binary files /dev/null and b/htmlcss-1day/html-basics/screenreader.jpg differ diff --git a/htmlcss-1day/html-basics/screenshot_chromedevtools.png b/htmlcss-1day/html-basics/screenshot_chromedevtools.png new file mode 100644 index 00000000..2f5ec02b Binary files /dev/null and b/htmlcss-1day/html-basics/screenshot_chromedevtools.png differ diff --git a/htmlcss-1day/html-basics/slides.html b/htmlcss-1day/html-basics/slides.html new file mode 100644 index 00000000..a82613e7 --- /dev/null +++ b/htmlcss-1day/html-basics/slides.html @@ -0,0 +1,1300 @@ + + + + + + + Lesson: HTML + + + + + + + + + + +
+ +
+ +
+ + + +
+

HTML

+
+ + + + + + +
+

Anatomy of a Website

+
+ +

Content: Text, Media +

+  HTML: Structure + Semantics

+

+   CSS: Presentation + Design

+

+    JS: Interactivity

+

= Your Website + + +

+
+ + + + + +
+

HTML: "HyperText Markup Language"

+
+ +

+ + It is: +

+

+ - A text file that is "marked up" with tags
+ - Saved with .html extension
+ - The native language of web browsers.
+

+

+ +

+ + It should be: +

+
    +
  • Semantic
  • +
  • Accessible
  • +
+ +
+

☞ Read more: How disabled people use the internet +

+
+
+ + + +
+

Anatomy of an HTML tag

+
+

Each tag has a "start tag", "end tag", some content in between, and optional attributes.

+ +
+<tagname attribute="value">
+  content
+</tagname>
+
+<a href="http://www.google.com" >
+  Google
+</a>
+
+ +

Think of a tag as a "command" to the browser and of the attributes as modifiers of that command.

+ +
+
+ + + + + +
+

The Basic HTML file

+
+
+<!DOCTYPE html>
+<html>
+</html>
+
+ +

The doctype isn't an actual tag, but it needs to be at start at every HTML page to tell browser which version of HTML you're using (HTML5 here).

+

The html tag is always the first, root tag in the page.

+ +
+
+ + + +
+

Head

+
+
+<!DOCTYPE html>
+<html>
+ <head>
+  <meta charset="utf-8">
+  <title>Title of your page goes here</title>
+ </head>
+</html> 
+
+

The head contains "meta" information about the page, information that the browser needs before rendering.

+ +
+
+ +
+

The Body

+
+
+<!DOCTYPE html>
+<html>
+ <head>
+  <meta charset="utf-8">
+  <title>Title of your page goes here</title>
+ </head>
+ <body>
+  Bulk of your content here.
+ </body>
+</html> 
+
+

The body contains the actual content of the page.

+
+
+ + + + +
+

What goes in the body?

+
+ + + + + + +
+

Headlines

+
+
+<h1>Header 1</h1>
+<h2>Header 2</h2>
+...
+<h6>Header 6</h6>
+
+ +

Header 1

+

Header 2

+... +
Header 6
+
+
+ + + + + +
+

Paragraphs

+
+
+<p>Paragraph 1</p>
+<p>Paragraph 2</p>
+<p>Paragraph 3</p>
+
+ +

Paragraph 1

+

Paragraph 2

+

Paragraph 3

+
+
+ + + + + +
+

Line Breaks

+
+ +
+<p>
+Imagine there's no Heaven <br>
+It's easy if you try <br>
+No hell below us  <br>
+Above us only sky <br>
+</p>
+
+ +

+Imagine there's no Heaven
+It's easy if you try
+No hell below us
+Above us only sky
+

+ +

Notice: This tag does not need to be closed, since it doesn't encapsulate anything.

+ +
+
+ + + + + +
+

Lists

+
+
+<ul>
+  <li>Item 1</li>
+  <li>Item 2</li>
+  ...
+</ul>
+
+ +
    +
  • Item 1
  • +
  • Item 2
  • + ... +
+
+
+ + + + + +
+

Ordered Lists

+
+
+<ol>
+  <li>Item 1</li>
+  <li>Item 2</li>
+  ...
+</ol>
+
+ +
    +
  1. Item 1
  2. +
  3. Item 2
  4. + ... +
+
+
+ + + + + +
+

Formatted Text

+
+
+<em>Emphasized Info</em>
+
+Emphasized Info +
+<strong>Important Info!</strong>
+
+Important Info! + +
+<p>
+You can have <em>emphasized info</em>
+and <strong>important info</strong>
+in the same paragraph.
+</p>
+
+ +

+You can have emphasized info and important info +in the same paragraph. +

+ +
+
+ + + +
+

Images

+
+
+<img src="http://www.google.com/images/srpr/logo1w.png" 
+  alt="Google">
+
+ +Google + +
+<img src="http://www.google.com/images/srpr/logo1w.png" 
+  alt="Google" height="50">
+
+ +Google + +
+<img src="http://www.myspacegraphicsandanimations.com/images/
+lights-christmas-graphic55.gif" alt="">
+ + +

+☞ +When Should Alt Text Be Blank? + +

Show how to copy/paste image URL in browser, explain dangers of hotlinking.

+ +
+
+ + + + + +
+

Links

+
+
+<a href="http://www.google.com">Google</a>
+
+ +Google + +
+<a href="http://www.google.com">
+  <img src="http://www.google.com/images/srpr/logo1w.png" 
+    alt="Google">
+</a>
+
+ + +Google + + +
+<a href="http://www.google.com" target="_blank">Google</a>
+
+Google (in new window) + +

+☞ +Why External Links Should Open in New Tabs +
+
+ + +
+

Internal Links

+
+
+<p>Jump to <a href="#chapter1">the first chapter!</a> </p>
+
+<h1 id="chapter1">Chapter 1</h1>
+
+<p>Most exciting story in the world. To be continued...</p>
+
+<p>Read more on
+<a href="http://en.wikipedia.org/wiki/Fox#Diet">Wikipedia</a>
+</p>
+     
+ +

Jump to the first chapter!

+ +

Chapter 1

+ +

Most exciting story in the world. To be continued...

+ +

Read more on Wikipedia

+ +
+
+ + + +
+

HTML Comments

+
+
+<!-- I can comment for humans here. -->
+
+<!--
+I can write a comment that
+spans multiple lines too.
+-->
+      
+ + Commonly used by snippet providers (like AddThis): +
+<!-- AddThis Button BEGIN -->
+<div class="addthis_toolbox addthis_default_style ">
+  <a class="addthis_button_preferred_1"></a>
+</div>
+<script src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f921b5f4f8898ae">
+</script>
+<!-- AddThis Button END -->
+      
+
+
+ + + +
+

HTML Readability

+
+
    +
  • Use quotes around attributes +
  • Indent to represent nesting +
  • Use same capitalization +
+ Bad:
+
+<ul><li><a href=http://www.google.com>Google</a></li>
+<LI>Yahoo</LI></UL>
+      
+ Good:
+
+ <ul>
+   <li><a href="http://www.google.com">Google</a></li>
+   <li>Yahoo</li>
+ </ul>
+      
+ Using + Whitespace for Readability in HTML/CSS +
+
+ +
+

Developing & Debugging

+
+ + +
+

HTML: Editors

+
+

Since HTML files are just text files, many programs can be used to create them. Some programs provide special assistance for handling HTML, like syntax-highlighting or autocompletion. +

+ + + + + + + + + + + + + + +
WindowsMacOnline
FreeNotepad++TextWrangler, Smultron Cloud9 IDE, JSBin
$$E-Text EditorSublimeText, + TextMate, Coda, Espresso
+ +

+

+ +
+

+
+
+ + +
+

HTML Debugging

+
+
    +
  • Chrome: Right-click -> "Inspect Element" +
  • Firefox: Right-click -> "Inspect Element" -> "HTML" +
  • IE: Open Tools -> Developer Tools +
+

Chrome:
+ +

+
+
+ + +
+

HTML Validators

+
+

Browsers will often render HTML that has mistakes in it, using different error correction strategies.

+

To check that your HTML is actually valid according to the standard, run it through the W3C validator. +

+
+
+

You can also install the validator add-on for Firefox.

+
+
+ + + + + +
+

HTML Resources

+
+

When you're on your own and trying to code HTML, do a search for the tag you're using ("img tag" or "li tag") and you will usually find good references at the top. +

+

W3Schools is a simple to read reference with interactive examples & will often be the top result. The HTML spec is the official reference, but can be harder to read. +

+

For more tutorial type sites, check out Mozilla Developer Network and the Opera Web Standards curriculum. +

+
+
+ + + +
+

Exercise Time

+
+ Exercise: HTML Basics +
+
+ + + +
+ +
+ + + + + diff --git a/htmlcss-1day/html-embeds/beatingheart.swf b/htmlcss-1day/html-embeds/beatingheart.swf new file mode 100644 index 00000000..78992e07 Binary files /dev/null and b/htmlcss-1day/html-embeds/beatingheart.swf differ diff --git a/htmlcss-1day/html-embeds/exercise_descrip.html b/htmlcss-1day/html-embeds/exercise_descrip.html new file mode 100644 index 00000000..d714fe43 --- /dev/null +++ b/htmlcss-1day/html-embeds/exercise_descrip.html @@ -0,0 +1,47 @@ + + + + + HTML 1: Embed + + + + + + + + +
+

HTML 1: Embed

+ +

In this exercise, you'll create a webpage of many embedded elements. For some of these, you may have to google to figure out how to get embed codes - some sites make it easier/more obvious than others.

+
    +
  • Create a new blank page with just a header (“All About Dogs”). + +
  • Add an embedded Google Map that shows dog parks in San Francisco. +
  • Add Facebook comments to your page. +
  • Add a Twitter button to the page. +
  • Add an embedded Flickr slideshow of photos tagged with “dog”. +
  • Create a Google custom search engine that searches across multiple dog sites and embed the search box on the page. +
  • For each of the embeds, add comments around them to show where they start and end, and add an h2 to split the page up into sections. + +
+ + + + + + + diff --git a/htmlcss-1day/html-embeds/exercise_solution.html b/htmlcss-1day/html-embeds/exercise_solution.html new file mode 100644 index 00000000..0620b096 --- /dev/null +++ b/htmlcss-1day/html-embeds/exercise_solution.html @@ -0,0 +1,70 @@ + + + + + All About Dogs + + +

All About Dogs

+ +

Before: 1 requests ❘ 1.44KB transferred ❘ 270ms (onload: 541ms, DOMContentLoaded: 541ms)

+ +

Maps of dog parks

+ +
View Larger Map + + +

What do you think about dog parks?

+ +
+ +
+ + +

Follow us on Twitter!

+ + + + + +

Some cool looking dogs from Flickr

+ + + + +

Want more info? Search my fav dog sites

+ +
Loading
+ + + + +

After: 155 requests ❘ 557.22KB transferred ❘ 23.40s (onload: 6.58s, DOMContentLoaded: 3.45s)

+ +
+ + diff --git a/htmlcss-1day/html-embeds/slides.html b/htmlcss-1day/html-embeds/slides.html new file mode 100644 index 00000000..e066cd6f --- /dev/null +++ b/htmlcss-1day/html-embeds/slides.html @@ -0,0 +1,913 @@ + + + + + + + Lesson: HTML 2 + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+

Embeds

+
+ +
+

Iframes

+
+ + +
+

The iframe element

+
+

You can use HTML to embed other webpages in your own page using an iframe element pointing at a URL: +

+ +
+<iframe src="https://www.pamelafox.org"
+  width="500" height="300"></iframe>
+
+ + +
+
+ + + + + +
+

Iframe embeds

+
+

The iframe element makes it easy for websites to become embeddable on other websites, and for users to share content that they've created on a site.

+ +

Most websites don't naturally look good when embedded at small sizes, so websites create special versions that are designed for embeddability, and the provide users with those URLs.

+ +
+
+ + + + + +
+

Iframe embeds: Docs

+
+

In its "Publish" dialog, Google Docs provides this HTML for embedding a presentation on your site:

+
+<iframe
+src="https://docs.google.com/present/embed?id=dggjrx3s_2119zdj9k4cf"
+width="410" height="342"></iframe>
+
+ + +
+
+ + + + + +
+

Iframe embeds: Calendar

+
+

In settings, Google Calendar provides this HTML for embedding a calendar:

+
+<iframe
+src="http://www.google.com/calendar/embed?src=en.usa%23holiday%40group.v.calendar.google.com" 
+width="600" height="400"></iframe>
+
+ + +
+
+ +
+

Iframe embeds: Social widgets

+
+ +

Many social widgets are implemented as tiny iframes.

+ +

+ Twitter: + +

+ +

+ Facebook: + +

+ +

+ Disqus:
+ +

+ +
+
+ + +
+

Multimedia

+
+ + + +
+

The object and embed tags

+
+

The cross-browser way to embed non-native files (requiring plugins). +

+ +
+<object width="480" height="385">
+  <param name="movie"
+     value="http://www.youtube.com/v/BHtGcZ9XqjY"/>
+  <param name="allowFullScreen"
+     value="true"/>
+  <param name="allowscriptaccess"
+     value="always"/>
+
+  <embed src="http://www.youtube.com/v/BHtGcZ9XqjY"
+         type="application/x-shockwave-flash"
+         allowscriptaccess="always" 
+         allowfullscreen="true" width="480" height="385"/>
+
+</object>
+
+ +
+
+ + + +
+

Example embed

+
+

The code from the previous slide produces:

+
+ + + + + + + + + +
+
+ + +
+

Multimedia in HTML5

+
+

We now don't need plugins for many types of multimedia!

+ +
+
+ +
+

Exercise Time

+
+ Exercise: Embeds +
+
+ +
+ +
+ + + + + diff --git a/htmlcss-1day/html-forms/exercise_descrip.html b/htmlcss-1day/html-forms/exercise_descrip.html new file mode 100755 index 00000000..852396a0 --- /dev/null +++ b/htmlcss-1day/html-forms/exercise_descrip.html @@ -0,0 +1,43 @@ + + + + + HTML 2: Exercise + + + + + + + + +
+

HTML 2: Exercise

+

Starting with the webpage from the previous exercise, + add tags to the webpage so that it looks like the screenshot below. +

+

Bonus: If you have time, try using new HTML5 form types in the form as well.

+

Bonus: If you have time after, send it through the W3C validator and fix any issues it reports. +

+

+ +

+ + + + + + diff --git a/htmlcss-1day/html-forms/exercise_screenshot.png b/htmlcss-1day/html-forms/exercise_screenshot.png new file mode 100644 index 00000000..0fc203c7 Binary files /dev/null and b/htmlcss-1day/html-forms/exercise_screenshot.png differ diff --git a/htmlcss-1day/html-forms/exercise_solution.html b/htmlcss-1day/html-forms/exercise_solution.html new file mode 100755 index 00000000..5bedca34 --- /dev/null +++ b/htmlcss-1day/html-forms/exercise_solution.html @@ -0,0 +1,85 @@ + + + + + GirlDevelopIt + + + GirlDevelopIt Logo + +

About

+ +

It can be intimidating for women to learn and ask questions when they are in an extreme minority. While open and welcoming, today's budding developer community is up to 91% male. If we can empower more females with the confidence in their technological capabilities we can begin to change this landscape. +

+ +

Our Locations

+ + +

Upcoming Classes

+ + + + + + + + + + + + + + + + + +
LocationTopic
New YorkJavaScript & jQuery
San FranciscoHTML & CSS
+ +

Sign Up!

+
+ +
+ +
+ +
+
+ Gender: + + + + +
+
+ +
+ +
+ +

+ Twitter | Facebook | Flickr + + + diff --git a/htmlcss-1day/html-forms/form_diagram.png b/htmlcss-1day/html-forms/form_diagram.png new file mode 100644 index 00000000..c125e813 Binary files /dev/null and b/htmlcss-1day/html-forms/form_diagram.png differ diff --git a/htmlcss-1day/html-forms/slides.html b/htmlcss-1day/html-forms/slides.html new file mode 100644 index 00000000..77d99587 --- /dev/null +++ b/htmlcss-1day/html-forms/slides.html @@ -0,0 +1,1112 @@ + + + + + + + Lesson: HTML 2 + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+

Forms

+ +

+
+ +

+
+ +
+

Forms: Browser-to-Server Communication

+
+ + + +
+
+ +
+

The Form HTML

+
+ +
+<form action="http://imagine-it.org/processform.php" 
+  method="get">
+  <input type="text" name="first">
+  <input type="text" name="last">
+  <button type="submit">Send Data</button>
+</form>
+
+ +
+
+
+ +
+ +
+
+ +
+

The Form HTTP Request: GET

+
+

Request:

+
+GET /processform.php?first=Pamela&last=Fox HTTP/1.1
+Host: imagine-it.org
+
+ +

Response:

+
+200
+<doctype html>
+<html>
+  <head>
+    <title>Welcome to my website!</title>
+    …
+</html>
+
+ +
+
+ +
+

Form element

+
+
+<form action="http://imagine-it.org/processform.php" 
+  method="get">
+</form>
+
+ +
+<form action="http://imagine-it.org/processform.php" 
+  method="post">
+</form>
+
+ +
+
+ +
+

The Form HTTP Request: POST

+
+

Request:

+
+POST /processform.php HTTP/1.1
+Host: imagine-it.org
+first=Pamela&last=Fox
+
+ +

Response:

+
+200
+<doctype html>
+<html>
+  <head>
+    <title>Welcome to my website!</title>
+    …
+</html>
+
+ +
+
+ +
+

Input element

+
+ + +
+<input type="text" name="animal">
+
+ + + +
+<input type="text" name="animal" value="Fox">
+
+ + +
+
+ + +
+

Button element

+
+ +
+<button type="submit">Submit order</button>
+
+ + + +
+<button type="reset">Start over</button>
+
+ + + +
+<button type="button">Customize</button>
+
+ + +
+
+ + + +
+

Label element

+
+ + +
+<label> Animal:
+<input type="text" name="animal">
+</label>
+
+ +Or
+
+<label for="animal"> Animal: </label>
+<input type="text" name="animal" id="animal">
+
+ + + +
+
+ + + + +
+

Checkboxes

+
+ + +Yes/No questions:
+
+<label> Extra cheese?
+<input type="checkbox" name="cheese"/>
+</label>
+
+ + + +

+Multiple options:
+
+Pizza Toppings:
+<input type="checkbox" name="bacon" id="bacon">
+<label for="bacon">Bacon</label>
+<input type="checkbox" name="cheese" id="cheese">
+<label for="cheese">Extra Cheese</label>
+
+ +Pizza Toppings: + + + + + +
+
+ + + + + +
+

Radio buttons

+
+ +Multiple choice: +
+<fieldset>
+  <legend>Pizza Size:</legend>
+  <label for="small">Small</label>
+  <input type="radio" name="size" id="small" value="small">
+  <label for="medium">Medium</label>
+  <input type="radio" name="size" id="medium" value="medium">
+  <label for="large">Large</label>
+  <input type="radio" name="size" id="large" value="large">
+</fieldset>
+
+ +
+ Pizza Size: + + + + + + +
+ +
+
+ + + + +
+

The select element

+
+ +
+<label for="crust">Crust type:</label>
+<select name="crust" id="crust">
+  <option value="thin">Thin</option>
+  <option value="thick">Thick</option>
+  <option value="cheese">Cheese</option>
+</select>
+
+ + + +
+
+ + + + + +
+

Textarea element

+
+ +
+<label>Delivery instructions: <br>
+<textarea name="delivery"></textarea>
+</label>
+
+ + +
+<label>Write a haiku on your love for pizza: <br>
+<textarea name="haiku" rows="3" cols="40"></textarea>
+</label>
+
+ +
+
+ + + + +
+

Forms in HTML5

+
+ + <input type="email" placeholder="bla@email.com">
+ +

+ <input type="range" min="0" max="50" value="10">
+ +

+ <input type="search" results autosave>
+ +

+ <input type="color">
+ +

+ <input type="date" min="2010-08-14" max="2011-08-14">
+ + +
+
+ + + +
+

Exercise Time

+
+ Exercise: Forms +
+
+ + + +
+ +
+ + + + + diff --git a/htmlcss-1day/html-history/html5logo.png b/htmlcss-1day/html-history/html5logo.png new file mode 100644 index 00000000..81d1fcba Binary files /dev/null and b/htmlcss-1day/html-history/html5logo.png differ diff --git a/htmlcss-1day/html-history/mosaic.png b/htmlcss-1day/html-history/mosaic.png new file mode 100644 index 00000000..5471e959 Binary files /dev/null and b/htmlcss-1day/html-history/mosaic.png differ diff --git a/htmlcss-1day/html-history/servergraph.png b/htmlcss-1day/html-history/servergraph.png new file mode 100644 index 00000000..d102b082 Binary files /dev/null and b/htmlcss-1day/html-history/servergraph.png differ diff --git a/htmlcss-1day/html-history/slides.html b/htmlcss-1day/html-history/slides.html new file mode 100644 index 00000000..f0746a90 --- /dev/null +++ b/htmlcss-1day/html-history/slides.html @@ -0,0 +1,841 @@ + + + + + + + Lesson: HTML + + + + + + + + + + +
+ +
+ +
+ + +
+

History of HTML

+
+ +
+

1989: The Motivation

+
+

CERN Physicist Tim Berners-Lee needed “a pool of information which could grow and evolve with the organisation and the projects it describes.” +

+
+
+

☞ Read more: Information Management: A Proposal +

+
+
+ +
+

1989: The Invention

+
+ +

Berners-Lee invented the World Wide Web, HTTP, and wrote the first HTML page. +

+ + +
+

☞ Read more on CERN

+
+
+ +
+

1993: It Starts Small

+
+

Berners-Lee presented the WWW at the IETF conference in a small session:

+ + +
+

☞ Read more: IETF 26 Proceedings

+
+
+ +
+

1993: And Gets Bigger!

+
+

NCSA creates the free "Mosaic" browser, and adds bookmarks, images, and a better UI:

+ + +
+

☞ Read more: NCSA Mosaic

+
+
+ + +
+

1993 onwards: The Explosion

+
+ + + +
+

☞ Read more: History of the Internet

+
+
+ +
+

1994: The World Wide Web Consortium

+
+

Berners-Lee founds the W3C to standardize HTML for all browsers to follow.

+ +
    +
  • 1995: HTML 2.0 +
  • 1997 (Jan): HTML 3.2 +
  • 1997 (Dec): HTML 4.0 +
  • 1999: HTML 4.01 +
+
+

☞ Read more: HTML Version History

+
+
+ + +
+

2004: The WHATWG & HTML5

+
+ +

Browser developers got frustrated with W3C progress and created a new standards committee + to write the "HTML5" spec, which adds:

+ +
    +
  • Form input types
  • +
  • Audio/video
  • +
  • 2d/3d Graphics
  • +
  • Data storage
  • +
  • New semantic tags
  • +
  • Drag-and-drop
  • +
  • ...and more!
  • +
+

In 2008, the W3C adopted it as a standard. +

+
+ + +
+ +
+ + + + + diff --git a/htmlcss-1day/html-history/timbernerslee.jpg b/htmlcss-1day/html-history/timbernerslee.jpg new file mode 100644 index 00000000..985eb8bf Binary files /dev/null and b/htmlcss-1day/html-history/timbernerslee.jpg differ diff --git a/htmlcss-1day/html-history/webdiagram.gif b/htmlcss-1day/html-history/webdiagram.gif new file mode 100644 index 00000000..23c5e7b1 Binary files /dev/null and b/htmlcss-1day/html-history/webdiagram.gif differ diff --git a/htmlcss-1day/html-history/wwwbof.png b/htmlcss-1day/html-history/wwwbof.png new file mode 100644 index 00000000..952daba6 Binary files /dev/null and b/htmlcss-1day/html-history/wwwbof.png differ diff --git a/htmlcss-1day/html-http/slides.html b/htmlcss-1day/html-http/slides.html new file mode 100644 index 00000000..8f635db2 --- /dev/null +++ b/htmlcss-1day/html-http/slides.html @@ -0,0 +1,902 @@ + + + + + + + Server Protocol + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+
+

DNS & HTTP

+
+
+ + +
+
+ +
+

Step 1: The URL Breakdown

+
+

http://www.howstuffworks.com/web-server.html: +

+ +
http the protocol +
www.howstuffworks.com the server name +
web-server.html the file name +
+
+
+ + + + + +
+

Step 2: Server Name -> IP

+
+

The browser asks "name servers" to figure out what IP the server name corresponds to.

+ +
+nslookup www.howstuffworks.com
+a462.g.akamai.net 20  IN  A 213.254.17.94
+
+
+
+ + + + + +
+

IP Addresses

+
+

In IPv4, 32-bit numbers that uniquely address each machine on the internet:

+
216.27.61.137
+ +

In IPv6, the numbers are much longer (so there are more available addresses.):

+
2001:0db8:85a3:0000:0000:8a2e:0370:7334
+ +

Your "self" IP address is always:

+
127.0.0.1
+ +

Find out your IP online or by using ifconfig.

+ + +
+
+ + + + + + + + + +
+

Step 3: Browser -> Server

+
+

The browser connects to the IP at port 80, the default port, and sends an HTTP request for the specified file.

+ +

Request:

+
+GET /web-server.html HTTP/1.1
+Host: www.howstuffworks.com
+
+ +

Response:

+
+200
+Content-Type: text/html
+<doctype html>
+<html>
+  <head>
+    <title>HowStuffWorks "How Web Servers Work" </title>
+    …
+</html>
+
+ +
+
+ +
+

HTTP Request

+
+

"HyperText Transfer Protocol"

+ +

The browser sends a request which contains: +

    +
  • A verb, like: GET, POST, PUT, DELETE. +
  • A HTTP protocol version, like 1.1. +
  • A path on the server, like: /web-server.html. +
  • A host, like: www.howstuffworks.com +
  • Additional optional headers with more information for the server. +
  • Optional content, like when the request is from a form. +
+ +
+GET /web-server.html HTTP/1.1
+Host: www.howstuffworks.com
+
+
+
+ +
+

HTTP Response

+
+ +

The server sends a response which contains:

+
    +
  • A status code, like: 200 (success), 404 (not found), and 403 (forbidden). +
  • Optional headers, to give more information, like: Content-Length, Cache-Control. +
  • Optional content, like HTML or JSON. +
+ +
+200
+Content-Type: text/html
+<doctype html>
+<html>
+  <head>
+    <title>HowStuffWorks "How Web Servers Work" </title>
+    …
+</html>
+
+ +
+
+ + +
+ +
+ + + + + diff --git a/htmlcss-1day/html-tables/exercise_descrip.html b/htmlcss-1day/html-tables/exercise_descrip.html new file mode 100644 index 00000000..64d5afa6 --- /dev/null +++ b/htmlcss-1day/html-tables/exercise_descrip.html @@ -0,0 +1,42 @@ + + + + + HTML 2: Exercise + + + + + + + + +
+

HTML 2: Exercise

+

Starting with the webpage from the first exercise, + add tags to the webpage so that it looks like the screenshot below. +

+

Bonus: If you have time after, send it through the W3C validator and fix any issues it reports. +

+

+ +

+ + + + + + diff --git a/htmlcss-1day/html-tables/exercise_solution.html b/htmlcss-1day/html-tables/exercise_solution.html new file mode 100644 index 00000000..9ecf2083 --- /dev/null +++ b/htmlcss-1day/html-tables/exercise_solution.html @@ -0,0 +1,57 @@ + + + + + GirlDevelopIt + + + GirlDevelopIt Logo + +

About

+ +

It can be intimidating for women to learn and ask questions when they are in an extreme minority. While open and welcoming, today's budding developer community is up to 91% male. If we can empower more females with the confidence in their technological capabilities we can begin to change this landscape. +

+ +

Our Locations

+ + +

Upcoming Classes

+ + + + + + + + + + + + + + + + + +
LocationTopic
New YorkJavaScript & jQuery
San FranciscoHTML & CSS
+ +

+ Twitter | Facebook | Flickr + + + diff --git a/htmlcss-1day/html-tables/slides.html b/htmlcss-1day/html-tables/slides.html new file mode 100644 index 00000000..3efbcf4d --- /dev/null +++ b/htmlcss-1day/html-tables/slides.html @@ -0,0 +1,893 @@ + + + + + + + Lesson: HTML 2 + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + + +
+

Tables

+
+ + + + + + +
+

Tables

+
+

Tables are useful for displaying tabular data on the web, like research study results.

+ + +
+
+ + + + + + +
+

The table element

+
+

The TABLE element contains all the elements that make up a table - the header, rows, and columns. +This example shows a table of monthly savings. +

+ +
+<table border="1">
+  <thead>
+   <tr>
+    <th>Month </th>
+    <th>Savings </th>
+   </tr>
+  <tbody>
+   <tr>
+    <td>January </td>
+    <td>$100 </td>
+   </tr>
+</table>
+
+ + + + + + + + + + + + +
MonthSavings
January$100
+ +
+
+ + + + + +
+

The table header

+
+

Most tables start with a header row with the names of the columns. The thead element starts the header area, the tr element creates a row, and th elements create cells in the row.

+ +
+<table border="1">
+  <thead>
+   <tr>
+    <th>Month </th>
+    <th>Savings </th>
+    </tr>
+    ....
+</table>
+
+ + + + + + + +
Month Savings
+ +
+
+ + + + + +
+

The table body

+
+

Tables can consist of any number of data rows after the header. The tbody element begins the body (data) area, the same tr element creates a row, and td elements create data cells in each row. +

+ +
+<table border="1">
+  ....
+  <tbody>
+   <tr>
+    <td>January </td>
+    <td>$100 </td>
+   </tr>
+</table>
+
+ + + + + + + + + + + + + + + + +
MonthSavings
January$100
February$50
+
+
+ +
+

Tables: Not for Layout

+
+

Before we had better techniques, tables were often used to layout a webpage, but this is now strongly discouraged.

+ +

We will discuss better ways to do layout when we cover CSS.

+
+
+ + +
+

Exercise Time

+
+ Exercise: Tables + +
+
+ + + +
+ +
+ + + + + diff --git a/htmlcss-1day/html-web/diagram_browserparts.png b/htmlcss-1day/html-web/diagram_browserparts.png new file mode 100644 index 00000000..185729a9 Binary files /dev/null and b/htmlcss-1day/html-web/diagram_browserparts.png differ diff --git a/htmlcss-1day/html-web/diagram_browsers.png b/htmlcss-1day/html-web/diagram_browsers.png new file mode 100644 index 00000000..d0ed26b4 Binary files /dev/null and b/htmlcss-1day/html-web/diagram_browsers.png differ diff --git a/htmlcss-1day/html-web/diagram_browsershare.png b/htmlcss-1day/html-web/diagram_browsershare.png new file mode 100644 index 00000000..b4c38843 Binary files /dev/null and b/htmlcss-1day/html-web/diagram_browsershare.png differ diff --git a/htmlcss-1day/html-web/diagram_clients.png b/htmlcss-1day/html-web/diagram_clients.png new file mode 100644 index 00000000..57f14637 Binary files /dev/null and b/htmlcss-1day/html-web/diagram_clients.png differ diff --git a/htmlcss-1day/html-web/diagram_web.png b/htmlcss-1day/html-web/diagram_web.png new file mode 100644 index 00000000..c5850521 Binary files /dev/null and b/htmlcss-1day/html-web/diagram_web.png differ diff --git a/htmlcss-1day/html-web/screenshot_viewsource.png b/htmlcss-1day/html-web/screenshot_viewsource.png new file mode 100644 index 00000000..01276b65 Binary files /dev/null and b/htmlcss-1day/html-web/screenshot_viewsource.png differ diff --git a/htmlcss-1day/html-web/slides.html b/htmlcss-1day/html-web/slides.html new file mode 100644 index 00000000..f447f770 --- /dev/null +++ b/htmlcss-1day/html-web/slides.html @@ -0,0 +1,832 @@ + + + + + + + Intro to the Web + + + + + + + + +
+

Press key to advance. Zoom in/out: Ctrl or Command + +/-.

+
+ +
+ +
+ +
+ + +
+
+

Intro to the Web

+

+
+
+ + + +
+

The Web

+
+ web diagram +
+
+ + + +
+

Clients

+
+

Clients are computers that access the web in any way.

+ clients +
+
+ + +
+

Browsers

+
+

Browsers are programs that render content on the web, most often HTML pages and related resources.

+

HTML is a "markup language" that describes a webpage. When you're on a webpage, you can "view source" to see the HTML that the browser is rendering.

+ +
+
+ + +
+

Browsers

+
+

Various companies and organizations provide browsers, and each browser varies in how it displays webpages.

+ +

Current browser versions

+
+
+ + + +
+

Browser Usage

+
+

Browser popularity varies year by year. Developers must decide which browsers they want their webpage to work well in.

+ +

Current browser stats

+
+
+ +
+

Browser -> Server

+
+ + +
+
+ +
+

Servers

+
+

Servers are just programs running on a computer that serve up content.

+

Sometimes they serve up static files, and are exposed like a file system.

+

Sometimes they can be scripted using "server-side" programming languages (PHP, Python, Perl, Java, etc.) to serve more dynamic pages. +

+
+
+ + +
+

The Web

+
+ web diagram +
+
+ + +
+ +
+ + + + + diff --git a/htmlcss-1day/htmlcss-1day.zip b/htmlcss-1day/htmlcss-1day.zip deleted file mode 100644 index 09ccefff..00000000 Binary files a/htmlcss-1day/htmlcss-1day.zip and /dev/null differ diff --git a/htmlcss-1day/index_students.html b/htmlcss-1day/index_students.html new file mode 100644 index 00000000..61877e11 --- /dev/null +++ b/htmlcss-1day/index_students.html @@ -0,0 +1,127 @@ + + + + + GirlDevelopIt SF: Intro to Web Development + + + + + + + + +
+

GirlDevelopIt SF: Intro to HTML/CSS

+ +

Day 1: HTML

+ + +

Day 2: CSS

+ + + + +
+ + + \ No newline at end of file diff --git a/jsweb/index.html b/jsweb/index.html index 44ef052c..8b337561 100644 --- a/jsweb/index.html +++ b/jsweb/index.html @@ -3,7 +3,7 @@ Teaching Materials: JS 200 - +