Wednesday 19 December 2012

MCSD - 70-480 Exam Prep - HTML5

I have been reading HTML5 and CSS3: Develop with Tomorrow's Standards Today. Those are some notes I have prepared later on for some quick revision. Someone might find it quite useful.

Note: This is work in progress and by no means finished!


New Syntax

No more special doctypes only one!

<!DOCTYPE html>

New Tags

  • <header>
  • <footer>
  • <nav> 
    • Some sort of navigation
  • <section>
    • Section defines a large portion of the document. Article is a smaller (could be many of them together) normally within a section.
  • <article>
  • <aside>
    • Something extra to the content (quotes, diagrams etc)
    • NOT SIDE MENUS etc.
  • <progress>
    • Not implemented yet in any browsers
  • <meter>
    • Not implemented yet in any browsers

Falling back

HTMLShiv
  •      To simply add those tags to browsers that might not support do...
    • document.createElement("nav");

New input types

  • range
    • min/max
  • number (spin box)
    • min/max/step
  • date
  • email
  • url
  • color
Test to see if they are working by simply creating element 
var input = document.createElement("input")
input.setAttribute("type", "color")
To test if it supports it if(input.type !== "text") 

Modernizr is also good plugin to help with a headache. 

New attributes

  • Attributes starting with data-* will be ignored and are used by JS to keep data rather than injecting it into classes etc.
  • autofocus
  • placeholder
  • autocomplete=[on/off] ?? shouldn't it be [true/false]
  • contenteditable[true/false] - need to handle post backs manually

Monday 3 December 2012

MCSD - Exam 70-480 Preparation

I'm in a process of preparing for an exam (480) which is
- 480: Programming in HTML5 with JavaScript and CSS3


It is a part of MCSD certification from Microsoft.

I'm not going to be using Microsoft training so I have to research a bit and find materials I need to master those topics. In here I'll add few resources that I'm going to be using to prepare. It is very much fluid list.

Free
  1. Blogged By Chris - Blog - Very usefull
Books

  1. HTML5 & CSS3 For The Real World - $3.99 (on 2012/12/04)
  2. HTML5 and CSS3: Develop with Tomorrow's Standards Today (Pragmatic Programmers) - $15.40 (on 2012/12/04)


Also what I have found is that first exam is free. See here http://blogs.msdn.com/b/microsoft_press/archive/2012/11/01/quick-news-free-training-and-exam-voucher-for-html5-and-javascript.aspx