Front-end Web Development/Notes
Notes from previous Frontend Web Development classes.
Class for 2012-04-16: CSS selectors and the box model
We expanded on last week's site to make this site, which added complex selectors and margin rules.
Class for 2012-04-09: the basics
We created this simple site to demonstrate HTML and CSS basics.
Class for 2012-03-26
Download the site we walked through. It's a responsive site with slight jQuery magic and a bunch of semantic HTML and CSS trickery. A good rollup of all the stuff we've learned in the class.
Class for 2012-03-12
Verbatim notes for my personal use:
What to do:
- Always start with HTML
- Add presentation and behavior next
- Assume nothing about your audience
- Be as semantic as possible
- Use www.html5please.com
What not to do:
- Use inline style tags
- Implement security on the frontend
- Expect links to work only with JS - modals, AJAX, etc.
- Tell users to upgrade
- Start with a rich site and then work backward
- Starting with the basics makes cross-browser testing easier
- Makes your site more modular - can switch stylesheets or remove behavior on-the-fly
- Makes development in teams easier
- App- or game-like sites might be hard to support
- Supporting all browsers off-the-bat might slow down productivity
- Can't use cool new CSS3/HTML5 stuff in production yet
- Create a simple site with an HTML5 sectioning elements
- Add CSS
- Add JS
- Show site without CSS and JS added on
- Show site in IE6
- Install ChromeVox and read through site
- Explain browser "hacks"
- Explain JS feature testing (modernizr)
- Show what not to do
- Show HTML5 Boilerplate
Class for 2012-03-05
Other great resources:
- Simurai's lab
- CSS3 Please!
- When can I use...
- Jeffrey's portfolio - see Menorah and Draggy under HTML5 Toys
Class for 2012-02-27
We worked on this blog and turned it into a mobile-accessible website. We also talked about user agent strings, frameworks like jQuery Mobile and Sencha Touch, and talked about the future of HTML5/CSS3 in mobile website development.
Class for 2012-02-20
We took a look at a page containing every currently valid HTML element. Many of them are considered "HTML5", but that's just because they're new.
Class for 2012-02-13
Class for 2012-02-06
Class for 2012-01-30
We took all of this and turned it into this site.
Class for 2012-01-23
I made accounts on my web hosting, but I suggested students get web hosting space at NearlyFreeSpeech.Net, which will set you up with a pay-as-you-go site. It's free until you start getting a significant amount of traffic.
Class for 2012-01-16
Class for 2011-12-19
Class for 2011-12-12
Consider downloading FileZilla for a head start.
Here's a simpler mockup we used for the 7:30 recap:
Class for 2011-12-05
We turned a mockup into HTML and CSS. This is the mockup we used:
Please consider downloading the GNU Image Manipulation Tool (GIMP), as we might be opening it up to work with this mockup. Photoshop or Fireworks will work swimmingly if you have them, though.
Class for 2011-11-22
Two articles worth reading for a thorough understanding of CSS positioning: