HTML5 and CSS3

"Gone phishing"

HTML5 and CSS3

If you're viewing this site in something older than Internet Explorer 9, firstly NO! Bad internet person! No! I will rub your nose in the keyboard to teach you you're doing it wrong. Secondly, it's probably for the best to use something more modern like Firefox, Chrome, or Opera.

HTML5 has shown some real potential for creating a more personalised website. For example, let's say your company has a promotional video they wish to share with the world. Before you would either have to go through something like YouTube, which would likely stick out like a sore thumb compared to the theme of your website, or even code your own movie player which is time consuming. With HTML5, anyone can host a video directly though their site. It makes the website prettier, your video is your video, and you don't need to be bogged down with any Flash.

The same also applies for viewing multiple images on one page.

There's some fun elements added to HTML5, which some developers think is a good opportunity to use for easing into the Flash game market.

JavaScript

I sometimes get the feeling that JavaScript is the most popular coding language in the world. When I first looked into learning to code, it was creating a little guessing game using JavaScript. CodeCademy, a very popular learning platform, also uses JavaScript as it's main language of choice to teach, although it is now starting to branch out with HTML/CSS, Ruby, and Python.

But I ramble. Here's a quick example for you - do you see that sexy dark green navigation bar that's following you around at the top of the screen? Try readjusting the size of your browser a bit. That's right, a bit more. There we are! See how the link have disappeared? Well, fear not - just click on the button that's appeared on the right hand side. Cool, eh?

I can't take any credit for that beautiful piece of JavaScript, that's down to the good folks at Twitter Bootstrap, but it is a very good example of the power it holds.

Personally, I prefer to use CoffeeScript - a JavaScript interpreter that eats Ruby-looking code and spits out JavaScript. There is the debate whether it is necessary to have such a language but let's make it clear: you cannot have coffee without java. Well...you can, but it's just hot bean juice. At least to me.

CoffeeScript just makes the whole coding process of JavaScript more fun to me. Gone are AWOL semi-colons, gone are the declaration of variables being variables is gone, and the introduction of whitespace (yay!) makes functions a lot cleaner.