Archive | HTML & CSS RSS for this section

Exam 70-480 preparation continued …

With just under two weeks to go and it’s all full steam ahead for revision. I’m feeling generally confident at the moment, at least more confident than I was a few weeks ago. There are still a few areas which I need to look at such as remembering the exact syntax of some of the CSS3 tags such as with transforms, animations etc. I’ve been learning using HTML, Javascript and CSS in a few of my test projects and it’s truly amazing how much more you learn by doing than reading a bunch of theory. I always think that not only knowing and but being able to apply knowledge in a creative way is important.

I’ve also been discovering the nuances of the different web-browsers. Chrome and other webkit based browsers are generally my browser of choice. Mainly due to their rapid adoption of rapidly developing standards and also the user interface design which is minimalistic and easy to use.

I bought and downloaded the book ‘Training Guide: Programming in HTML5 with JavaScript and CSS3’ which is currently on early release for the 70-480. My initial impression is that this is a well written book which certainly gets you started on the subjects. I would however advise caution about using this book exclusively for the 70-480 exam as there are a lot of subjects which aren’t yet included from the 70-480 exam requirements including grid box, flex box, transformations, columns, animations, gradients, shadow and others. It also doesn’t talk about the new structure where you can use sections and articles to change the level of header tags. Such as an h1 tag inside a section will appear as an h2 tag. You’ll probably see quite a few comments in the errata which I’ve added.

For practising CSS3 I’ve been using Brackets.io lots as I can try out new things and watch how they effect the presentation of the page instantly in Webkit. For Javascript experiments I’ve been using Visual Studio 2012 as it has fantastic code completion support. There is also the feature of adding references to other Javascript files which makes code completion really fly, just put the following at the top of your code to reference another Javascript file ‘/// <reference path=”other.js”/>’ or create the file ‘_references.js’ containing all the Javascript files in your project and just reference ‘_references.js’ at the top of each of your Javascript files.

Although I haven’t even taken the 70-480 exam I already have my eyes set on the next goal of taking the next two exams which would get me the ‘Microsoft Certified Solutions Developer (MCSD): Web Applications’ qualification.

Study continues …

Getting ready for the exam Microsoft 70-480: Programming in HTML5 with JavaScript and CSS3

ImageI’m currently studying to take the ‘Microsoft Exam 70-480: Programming in HTML5 with JavaScript and CSS3’ in March. I’ve been interested in web programming for several years and I really wanted to develop and hone my skills in this subject further, and update them to the new HTML5 and CSS3 standards.

Some of the resources that I am using to help with my studies are:

  • http://www.microsoftvirtualacademy.com/tracks/developing-html5-apps-jump-start – This is the recommended Jump Start course for the 40-780 exam. It is very heavily Windows 8 centric although it’s a very good base of information. I would be careful here though as some things which they discuss are not yet avaliable in most browsers or at least not how Microsoft implements them. An example of this is the flex-box and the grid box. At time of writing the flex-box does have support in other browsers but behave very different to the Microsoft implementation. The grid box is only implemented in IE10. Also the Error object is implemented very differently in IE10 than other browsers (I checked Webkit and Firefox).
    • IE10: Error([number[, description]])
    • Firefox/Webkit: Error([message[, fileName[, lineNumber]]])

ImageTo give myself interactivity and to let me rapidly prototype things I am using the open source editor Brackets.io which is really starting to come along, easy to use, configurable and intuitive. It also works exceptionally well with Google Chrome so I can very easily change HTML & CSS files and see the results in real time.

Some things which also dawned on me was with getElementById and querySelector calls. So to get the element with id=”myElement” would be getElementById(“myElement”) or querySelector(“#myElement”). The querySelector looks great and is used by quite a few people, but I was wondering about performance. Taking a look at a few projects on JSPerf demonstrates that in many cases querySelector is 58% slower than getElementById which is staggering.

Also in the Microsoft Jump Start they talk about the NodeList returned by querySelectorAll is live, so if you add a new element to the page then the NodeList should automatically update with the new element. I tested this on Chrome and found that it doesn’t, and that I needed to call querySelectorAll again. I would therefore be very wary about some of the content of the Microsoft Jump Start as not everything they spoke about will work on another browsers.

All in all it’s going very well. Javascript is an amazing and crazy language. I first learn’t Javascript a while ago by studying the different Javascript design patterns. HTML and CSS are also both amazing which also give you a huge ability to do almost anything in a huge variety of different ways. This is probably one of the more dangerous areas of HTML and CSS, something may seem a good idea at the time but without proper prior thought you can rapidly get yourself into a hole.

The studies continue.