1. Introduction to front end development

This week we are going to be a front end developer and start to get used to the documentation process using git and html.

We will talk about what are HTML, CSS and Javascript. How they fit togther and what roles they play. Are they similiar or how are they different? We are going to really just dissect what they do, so we wil have a little bit better idea of how it fits with all the other pieces.


  • Setup Developer Environment
  • Define roles of HTML, CSS and Javascript
  • Write a proper structured HTML document
  • Write a common closing and self closing tags
  • Recreate a simple website based on a provided photo

Setting up developer environment

You need to install the following software

We are going to learn about two tools that we are going to use for the rest of this course. When we make a website, when we are developing web applications we need a place to write our code which should be a text editor and we need a place to view our code which would be a web browser.

We use our web browser all the time. It is how you view the internet. You might using your favourite web browser or the one that come with your machine. It might be Safari or chrome or Firefox or Internet Explorer.

There is a bunch of web browsers out here and they all do basically the same thing. They are all let you do the same thing. However, we are going to use Google Chrome in this course for two main reasons. One is that we just want to have a standardized browser so that if I do something I show a shortcut. I show the developer tools I do something one of the menus that you can replicate it yourself. And the other reason is that Google Chrome is used by a lot of developers. So as I mentioned you can use any of the browsers but generally most developers are using Google Chrome or Mozilla Firefox. Both of them are solid offerings especially with their developer tools which we are going to learn a lot more about this as we move forward.

Basically dev tools are tools that are made for developers, so things that you may have never seen before because you have never been a developer. But as soon as you start, we are going to be using it a lot of the tools that chrome gives us. If you have not been familiar, use Chrome to surf on the internet in daily. There is no sense to use Safari to browse and develop your website on Chrome.

The other tools that we need is a text editor. This is a really important tool, it is where we are going to write our code. Technically we could use any text editor out there so you could write code in Microsoft Word. You could do it in a Google doc. You could do it a five hundred dollar professional code editor. Honestly every developer has his or her own opinions and his or her own set up. Personally I prefer teaching with a free text editor.

Introduction to the web

The first that I want to highlight there, the user in this case went to a website and then hit enter and all of this is happening before the user see anything. The idea is that a user is asking for a website or requesting it. So when I opened up a website, you know when I hit “Enter”. I am asking for the contents of this page and that has to go all the way to somewhere and they have to send it all the way back to me. So far we are just getting the request to the right place.

After the video has done. Give an example by opening a website. Remember when I hit “enter”. I am asking for something and I am getting something back and requesting something and the server is responding. There are a lot of stuffs in between but that is the core concept.

We can view the underlying HTML, CSS and Javascript on any webpage. In chrome, right click and select “view page source”. So the browser is a complicated thing but the good thing is, you do not have to know how that works. That is the whole work of the browser. It takes that code and turns it into this.

The Front End

  • The Front End is the Stuff that you see and interact with HTML, CSS and JS.
  • The Back End is everything else: so many choices!
  • Restaurant Analogy: The backend is everything that happens in the kitchen; the front end is what is plated and sent to your table.


  • Hyper Text Markup Language
  • Defines the structure of a webpage
    • Put an image here
    • Put a form here
  • The “nouns” of a webpage


  • Cascading Style Sheets
  • Define the style of HTML
    • Make all text green
    • Give the first image a yellow border
    • The “adjectives” of a webpage


  • Adds Logic and interactivity to a page
    • Do some math
    • Change colour when the user clicks
  • The action or “verbs” of a webpage

The general rule - HTML

<tagName>Some Content</tagName>

HTML fundamentals


<!-- This is a comment. It does not do anything! -->

To comment: you can type it or press ctrl + /. We should have nothing floating outside the html.

Boilerplate - “Starter Kit”

<!DOCTYPE html>

<!-- metadata goes in head -->

    <title>My First Page</title>
<!-- content goes in the body -->
    <h1>This is my first tag!!!</h1>


<!DOCTYPE html>
    <title>Things I've Learned</title>

<h1>Things I've Learned</h1>

    <li>Setup Developer Environment</li>
    <li>Define roles of HTML, CSS and Java script</li>
    <li>Write properly structured HTML documents</li>
    <li>Write common closing and self closing tags</li>


    <li>Stands for <strong>Hyper Text Markup Language</strong></li>
    <li>Lots of Tags




<tag name="value"></tag>
<img scr="picture.png">
<a href=www.fablabo.com>Click me to go to Fablab O website>
<link rel="stylesheet" type="text/css" href="style.css">


<img scr="image.png">
<img scr="image.png">

Basic Tags

Closing Tags

<h1>I need a closing tag</h1>
<p>Me too</p>

Self Closing Tags

<!--    No closing tag or inner text needed -->
<img scr="image.png">
<link rel="stylesheet" type="text/css" href="style.css">
<!--    Do not worry about what these tags do yet   -->

CSS- General Rule

Selector    {
    property: value;
    another property: value;


CSS examples:

h1 {
    /*Named Colors*/
    color: blue;

li {
    color: #F400DD;

h4 {
    color: rgb(240, 100, 87);