Lab 2: Web Standards and Version Control with Git

Exercises:

This lab was an overview of HTML5 CSS standards, as well as an introduction to version control with Git. In this lab, we had to:

  1. Create a git repository and commit a file.
  2. Create branches, merge branches, and delete branches within that repository.
  3. We were given an introduction to web standards, HTML5 and CSS3. W3C has a html and css validator.
  4. Changing the lab2.html file to be compliant with HTML5.
  5. Creating a CSS file to go with the HTML file, and style divs based on id. CSS file was also validated.
This here is the webpage we worked on during the lab. Warning! Deliberately Bad CSS ahead!

Commands and tidbits:

Reflections

I had already used git quite a bit before this lab, having learnt how to use it in tandem with Java during the summer. Therefore, the lab was quite straightforward to follow.

I did learn some intricacies with managing tracked files, which were nice to know and may come in useful later, especially when one only has access to a command line.

Back