ellisken / 01-part-1-es6

First lab for the first day: ES6 practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code 301: ES6 Introduction

This assignment is designed to give you an introduction to some features in ECMAScript 2015, otherwise known as ES6. From this point on, you are expected to use these features.

Within this assignment, you'll be working with the following features of ES6:

  • Variable declarations with let and const
  • Arrow functions

Instructions

There are three components to this lab exercise:

  • Reviewing the let-const-examples directory
  • Working through the exercises in the let-const directory
  • Working through the exercises in the arrow-functions directory

Fork and then clone this repository into your ~/codefellows/301 directory, and navigate into that repo. Work on your fork on non-master branches. As you work, remember to add, commit, and push regularly.

Examples of let and const

  1. See the adjacent let-const-examples folder to compare examples of function declaration using let and const with the notation you have been using previously. To work through the examples, open examples.html in the browser, open your developer console, and follow the directions on the screen.
  2. Once you complete the steps in the examples.html file, you are ready to move on to the let-const folder.

Let and const code exercise

  1. The let-const folder has its own README.md file with specific instructions, so read through and follow each step as you complete this exercise. That file also contains the submission instructions for this assignment.
  2. Once you have completed and submitted this assignment, you are ready to move on to the arrow-functions folder.

Arrow function code exercise

  1. The arrow-functions folder has its own README.md file with specific instructions, so read through and follow each step as you complete this exercise. That file also contains the submission instructions for this assignment.
  2. Once you have completed and submitted this assignment, you are finished with the ES6 practice lab.

About

First lab for the first day: ES6 practice


Languages

Language:JavaScript 58.5%Language:HTML 26.6%Language:CSS 14.9%