parent
8121bc70e4
commit
b5c4359936
@ -0,0 +1,10 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Pick a site you really like (the more minimalist, the better)
|
||||||
|
- if you're unsure, check out
|
||||||
|
- https://www.awwwards.com/websites/minimal/
|
||||||
|
- https://foundation.zurb.com/templates.html (these are a easier)
|
||||||
|
- Think about the content on the site and what tags it might use
|
||||||
|
- Create an HTML doc containing as much of the site content as possible, with what tags you think work best for the given content
|
||||||
|
- Open up your browser's dev tools and inspect the site's HTML, to see how they approached the content.
|
||||||
|
- This varies depending on browser/operating system, so ask if you're not sure how to do this
|
||||||
@ -1,13 +0,0 @@
|
|||||||
# Lab
|
|
||||||
|
|
||||||
## Create HTML for this content
|
|
||||||
1. 
|
|
||||||
1. You do not have to style this yet. Just come up with the tags and structure for the page.
|
|
||||||
1. URL for image: http://blog.taxact.com/wp-content/uploads/Complete-Guide-to-Employee-Stock-Options-and-Tax-Reporting-Forms.jpg
|
|
||||||
1. Links do not have to go anywhere.
|
|
||||||
1. With each tag you create, `git add` the file, make a commit, and push it to origin
|
|
||||||
|
|
||||||
## Stretch:
|
|
||||||
|
|
||||||
1. Create an about.html which has similar content to this one. Have the "About" link send you to about.html. Have "Home" send you to the page you created in the "Create This Mockup" section.
|
|
||||||
1. Use what you know about CSS from fundamentals to style this.
|
|
||||||
|
Before Width: | Height: | Size: 31 MiB |
@ -0,0 +1,5 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Take all your old CSS and try to convert it to SASS as much as possible
|
||||||
|
- Use variables to store px/em/rem values and colors
|
||||||
|
- Use nesting so you don't have to write long selectors
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# SASS Lab
|
|
||||||
|
|
||||||
Real simple: go back to a CSS lab that you're most proud of and refactor it into SASS
|
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Go back and add colors (background and text) to your HTML doc from the last lab
|
||||||
|
- Use your browser's dev tools to get the exact colors the original site uses.
|
||||||
@ -1,9 +0,0 @@
|
|||||||
# Lab
|
|
||||||
|
|
||||||
## Create This Mockup
|
|
||||||
1. 
|
|
||||||
1. Using what you learned about CSS, style the HTML lab so it looks like the mockup.
|
|
||||||
|
|
||||||
## Stretch:
|
|
||||||
|
|
||||||
1. Create/style the About page mentioned in the Stretch section of the HTML lab.
|
|
||||||
|
Before Width: | Height: | Size: 31 MiB |
@ -0,0 +1,5 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Continue with your website: add padding, margin, border to elements
|
||||||
|
- If you have time, and it's necessary, add positioning
|
||||||
|
- See what the original did with your browser's dev tools
|
||||||
@ -1,14 +0,0 @@
|
|||||||
# Lab
|
|
||||||
|
|
||||||
## Create This Mockup
|
|
||||||
1. 
|
|
||||||
1. You do not have to use the exact photography in this mockup. Feel free to find your own
|
|
||||||
1. Do not worry about matching the fonts
|
|
||||||
1. For the "GET IN TOUCH" section, do not worry about creating form elements for name, email, subject, message, send. Just use standard elements that we've learned about (maybe divs?) and style them appropriately.
|
|
||||||
1. You won't get it all done. See how far you can get.
|
|
||||||
|
|
||||||
## Stretch:
|
|
||||||
|
|
||||||
1. Research form elements and add them in to match the mockup
|
|
||||||
1. Research fonts and find something that matches closely to the mockup
|
|
||||||
1. Finish the entire mockup!
|
|
||||||
|
Before Width: | Height: | Size: 84 KiB |
@ -0,0 +1,3 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
Continue with your site: try to substitute any `display:inline-block` with `display:inline-block; float:left`.
|
||||||
@ -1,18 +0,0 @@
|
|||||||
# Lab
|
|
||||||
|
|
||||||
## Create This Mockup With Only display:block; Elements
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
1. **DO NOT USE** `display:inline-block;` **OR** `display:inline;` **AT ALL. USE ONLY** `display:block;` **AND FLOATS.** Every element on the page must be have `display:block` assigned to it.
|
|
||||||
1. Use `overflow:auto;` and `clear:left;`/`clear:right;`/`clear:both;` to clear any unnecessary floating problems.
|
|
||||||
1. You do not have to use the exact photography in this mockup. Feel free to find your own
|
|
||||||
1. Do not worry about matching the fonts
|
|
||||||
1. For the "GET IN TOUCH" section, do not worry about creating form elements for name, email, subject, message, send. Just use standard elements that we've learned about (maybe divs?) and style them appropriately.
|
|
||||||
1. You won't get it all done. See how far you can get.
|
|
||||||
|
|
||||||
## Stretch:
|
|
||||||
|
|
||||||
1. Research form elements and add them in to match the mockup
|
|
||||||
1. Research fonts and find something that matches closely to the mockup
|
|
||||||
1. Finish the entire mockup!
|
|
||||||
|
Before Width: | Height: | Size: 84 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Continue with your site: resize the original site. What happens at various sizes?
|
||||||
|
- Try to mimic that
|
||||||
|
- As always, use your browser's dev tools to see what they did.
|
||||||
@ -1,4 +0,0 @@
|
|||||||
# Lab
|
|
||||||
|
|
||||||
## Create These Mockups
|
|
||||||
1. 
|
|
||||||
|
Before Width: | Height: | Size: 12 KiB |
@ -0,0 +1,9 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Add some fonts to your site
|
||||||
|
- See if you can find a font that matches (somewhat closely) that of the original site's fonts
|
||||||
|
- Get them from
|
||||||
|
- Google fonts
|
||||||
|
- Some other font site site (e.g. font squirrel, my fonts, etc)
|
||||||
|
- See if you can find and download or use the exact fonts that the website used
|
||||||
|
- you'll need to peek around in the original site's HTML to figure that out
|
||||||
@ -1,26 +0,0 @@
|
|||||||
# Fonts, Sprites, and Icon Fonts
|
|
||||||
|
|
||||||
## Fonts
|
|
||||||
Write some text in Google's "Rock Salt" font.
|
|
||||||
|
|
||||||
## Sprites
|
|
||||||
Use this sprite to create three icons: a smiley face, a frowny face, and a winking face.
|
|
||||||

|
|
||||||
|
|
||||||
## Icon Fonts
|
|
||||||
Do the same thing that you did for sprites, but use an icon font from http://www.fontello.com/
|
|
||||||
|
|
||||||
## Styling Forms
|
|
||||||
Create the following elements. Style their padding, border, and margin. Change their font-family, color, and background color:
|
|
||||||
|
|
||||||
1. text
|
|
||||||
2. checkbox
|
|
||||||
3. file
|
|
||||||
4. password
|
|
||||||
5. radio
|
|
||||||
6. search
|
|
||||||
7. submit
|
|
||||||
8. button
|
|
||||||
|
|
||||||
## Play selectors game
|
|
||||||
[http://flukeout.github.io/](http://flukeout.github.io/)
|
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Are there any places in your site that could use motion?
|
||||||
|
- Does the original site have any motion in it?
|
||||||
|
- if not, add some in places where you might like it
|
||||||
|
- maybe on hover, change a background color or text color slowly?
|
||||||
@ -1,7 +0,0 @@
|
|||||||
# Motion
|
|
||||||
|
|
||||||
##Transitions
|
|
||||||
Make a navigation that looks like [Huge's Nav](http://www.hugeinc.com/)
|
|
||||||
|
|
||||||
##Animations
|
|
||||||
Create make a div fly out at the screen like [this](https://www.youtube.com/watch?v=GaiZIulY4EU)
|
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
# Lab
|
||||||
|
|
||||||
|
- Rip it all up!
|
||||||
|
- Start again with just your HTML and reposition everything, using Flex Boxes
|
||||||
|
- Don't try to adjust your old css file
|
||||||
|
- instead, keep it for later
|
||||||
|
- once you've positioned everything nicely, use it to copy and paste things like fonts, animations, colors, etc
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# Flex Boxes
|
|
||||||
|
|
||||||
Try to beat this game: http://flexboxfroggy.com/
|
|
||||||
Loading…
Reference in new issue