From b6cea7b693eed8c82fbbb09f863062f87650f5fc Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Fri, 2 Oct 2020 11:17:03 +0300 Subject: [PATCH] content added to day 1 --- readMe.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/readMe.md b/readMe.md index a8ae047..1615970 100644 --- a/readMe.md +++ b/readMe.md @@ -5,7 +5,7 @@ | # Day | Topics | | ----- | :-----------------------------------------------------------------------------------------------------------------------------------: | | 01 | [Introduction](#introduction)
[Requirements](#requirements)
[Setup](#setup)
[JavaScript Refresher](#javascript-refresher) | -| 02 | [Getting Started React](./02_Day_Introduction_to_React/02_introduction_to_react.md) | +| 02 | [Getting Started React](./02_Day_Introduction_to_React/02_introduction_to_react.md) | | 02 | [Setting Up](./03_Setting_Up/03_Setting_Up.md) | ๐Ÿงก๐Ÿงก๐Ÿงก HAPPY CODING ๐Ÿงก๐Ÿงก๐Ÿงก @@ -81,7 +81,7 @@ - [4. for of](#4-for-of) - [5. forEach](#5-foreach) - [6. for in](#6-for-in) - - [Interrupting a loop and skipping an item](#interrupting-a-loop-and-skipping-an-item) + - [Interrupting a loop and skipping an item](#interrupting-a-loop-and-skipping-an-item) - [break](#break) - [continue](#continue) - [Conclusions](#conclusions) @@ -533,7 +533,7 @@ Congratulations! You have completed the setup you need to get started with React ## 1. Variables -We use *var*, *let* and *const* to declare a variable. The *var* is functions scope, however *let* and *const* are block scope. In this challenge we use ES6 and above features of JavaScript. Avoid using *var*. +We use _var_, _let_ and _const_ to declare a variable. The _var_ is functions scope, however _let_ and _const_ are block scope. In this challenge we use ES6 and above features of JavaScript. Avoid using _var_. ```js let firstName = 'Asabeneh' @@ -1791,7 +1791,7 @@ for (const key in user) { } ``` -### Interrupting a loop and skipping an item +### Interrupting a loop and skipping an item #### break @@ -4741,11 +4741,14 @@ So do not directly manipulate the DOM if you are using react. The only place we // const root = document.querySelector('.root') // const root = document.getElementById('root') const root = document.querySelector('#root') + root.innerHTML =

Welcome to 30 Days Of React

``` +Check out there result on [codepen](https://codepen.io/Asabeneh/full/vYGqQxP) + ๐ŸŒ• You are amazing! You have just completed day 1 challenge and you are on your way to greatness. Now you are a JavaScript Ninja and ready to dive in to React. ๐ŸŽ‰ CONGRATULATIONS ! ๐ŸŽ‰