const books = [
{
title: "The Hunger Games",
description:
"The Hunger Games is a 2008 dystopian novel by the American writer Suzanne Collins. It is written in the voice of 16-year-old Katniss Everdeen, who lives in the future, post-apocalyptic nation of Panem in North America. The Capitol, a highly advanced metropolis, exercises political control over the rest of the nation. The Hunger Games is an annual event in which one boy and one girl aged 12–18 from each of the twelve districts surrounding the Capitol are selected by lottery to compete in a televised battle royale to the death.",
author: "Suzanne Collins",
rating: 10
},
{
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function appendDiv(message) { | |
const div = document.createElement('div') | |
div.textContent = message | |
document.body.appendChild(div) | |
} | |
export {appendDiv} |
In this document, you will find all the steps you should follow when working on the labs (in the prework and during the bootcamp).
The majority of time, you will have to start the process with forking. Just a quick reminder on what is the process of forking.
- You need to have installed terminal and homebrew.
In the terminal,
- type:
brew update
(to update homebrew with the latest version of Node) - type
brew install node
(homebrew will download some files, so don't interrup the process until it is done)
To make sure everything works good, type in the terminal:
node -v
(to check if Node is installed properly; you should see the version number)