From accf7f3b7017f5d31de5cd048b2b22319d9b24ec Mon Sep 17 00:00:00 2001 From: Noer Paanakker Date: Wed, 8 Apr 2020 17:51:44 +0200 Subject: [PATCH 1/3] rewrote readings and homework all weeks --- README.md | 10 ++++++ Week1/MAKEME.md | 41 ++++++++++++++---------- Week1/README.md | 50 +++++++++++++++++++---------- Week2/MAKEME.md | 66 +++++++++++++++++++++++++-------------- Week2/README.md | 18 ++++++----- Week3/MAKEME.md | 56 +++++++++++++++++---------------- Week3/README.md | 35 ++++++++++++++++----- hand-in-homework-guide.md | 4 +-- 8 files changed, 178 insertions(+), 102 deletions(-) diff --git a/README.md b/README.md index 7e90c241d..f4756ba31 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,16 @@ This repository consists of 3 essential parts: After your first class you should start off with checking the `reading materials` for that week. At the beginning that would be the [Week 1 Reading](/Week1/README.md). Study all the concepts and try to get the gist of everything. After, you can get started with the `homework` for that week. +Before you start with the homework, make sure you've made a `fork` of the right repository: [HackYourHomework/JavaScript2](https://www.github.com/hackyourhomework/javascript2). Once you've cloned it to your computer you can proceed by making `GIT` branches for each week. Start at the `master` branch and execute the following (note that they're 3 different commands): + +```console +foo@bar:~$ git branch week1-YOURNAME +foo@bar:~$ git branch week2-YOURNAME +foo@bar:~$ git branch week3-YOURNAME +``` + +Then execute `git checkout week1-YOURNAME` and you can get started! + If you have any questions or if something is not entirely clear ¯\\\_(ツ)\_/¯, please ask/comment on Slack! ## Planning diff --git a/Week1/MAKEME.md b/Week1/MAKEME.md index 01621ec96..42b39863b 100644 --- a/Week1/MAKEME.md +++ b/Week1/MAKEME.md @@ -26,28 +26,30 @@ const books = [ { title: 'The Design of Everyday Things', author: 'Don Norman', - alreadyRead: false + alreadyRead: false, }, { title: 'The Most Human Human', author: 'Brian Christian', - alreadyRead: true + alreadyRead: true, }, { title: 'The Pragmatic Programmer', author: 'Andrew Hunt', - alreadyRead: true - } + alreadyRead: true, + }, ]; ``` +Follow the steps: + 1. Iterate through the array of books. 2. For each book, create a `

` element with the book title and author and append it to the page. 3. Use a `