From d901eb1901c0d9293199b064fc337597a2448d48 Mon Sep 17 00:00:00 2001 From: Menai Ala Eddine Date: Wed, 8 Feb 2023 12:15:57 +0100 Subject: [PATCH 1/3] :wrench: Fix typo mistake --- 03_Day_Booleans_operators_date/03_booleans_operators_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Day_Booleans_operators_date/03_booleans_operators_date.md b/03_Day_Booleans_operators_date/03_booleans_operators_date.md index bb376ae..9bf9e8e 100644 --- a/03_Day_Booleans_operators_date/03_booleans_operators_date.md +++ b/03_Day_Booleans_operators_date/03_booleans_operators_date.md @@ -556,7 +556,7 @@ console.log(`${date}/${month}/${year} ${hours}:${minutes}`) // 4/1/2020 0:56 The area of the triangle is 100 ``` -1. Write a script that prompt the user to enter side a, side b, and side c of the triangle and and calculate the perimeter of triangle (perimeter = a + b + c) +1. Write a script that prompt the user to enter side a, side b, and side c of the triangle and calculate the perimeter of triangle (perimeter = a + b + c) ```sh Enter side a: 5 From 354a307e95d934abc9a3e966ca2fa8dbfd11fd45 Mon Sep 17 00:00:00 2001 From: Menai Ala Eddine Date: Wed, 8 Feb 2023 12:48:59 +0100 Subject: [PATCH 2/3] :wrench: Fix typo error --- 03_Day_Booleans_operators_date/03_booleans_operators_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Day_Booleans_operators_date/03_booleans_operators_date.md b/03_Day_Booleans_operators_date/03_booleans_operators_date.md index 9bf9e8e..9defedb 100644 --- a/03_Day_Booleans_operators_date/03_booleans_operators_date.md +++ b/03_Day_Booleans_operators_date/03_booleans_operators_date.md @@ -571,7 +571,7 @@ console.log(`${date}/${month}/${year} ${hours}:${minutes}`) // 4/1/2020 0:56 1. Slope is m = (y2-y1)/(x2-x1). Find the slope between point (2, 2) and point(6,10) 1. Compare the slope of above two questions. 1. Calculate the value of y (y = x2 + 6x + 9). Try to use different x values and figure out at what x value y is 0. -1. Writ a script that prompt a user to enter hours and rate per hour. Calculate pay of the person? +1. Write a script that prompt a user to enter hours and rate per hour. Calculate pay of the person? ```sh Enter hours: 40 From 04c79ca5472cdad7389cb210cf6ab7221a02e33d Mon Sep 17 00:00:00 2001 From: Menai Ala Eddine Date: Wed, 8 Feb 2023 16:24:22 +0100 Subject: [PATCH 3/3] :wrench: Fix typo errors 1. Sentences should be started with a capital letter 2. Variables should be highlighted with a code style --- 05_Day_Arrays/05_day_arrays.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/05_Day_Arrays/05_day_arrays.md b/05_Day_Arrays/05_day_arrays.md index 0dae635..64ec156 100644 --- a/05_Day_Arrays/05_day_arrays.md +++ b/05_Day_Arrays/05_day_arrays.md @@ -733,10 +733,10 @@ const webTechs = [ const shoppingCart = ['Milk', 'Coffee', 'Tea', 'Honey'] ``` - - add 'Meat' in the beginning of your shopping cart if it has not been already added - - add Sugar at the end of you shopping cart if it has not been already added - - remove 'Honey' if you are allergic to honey - - modify Tea to 'Green Tea' + - Add `Meat` in the beginning of your shopping cart if it has not been already added + - Add `Sugar` at the end of your shopping cart if it has not been already added + - Remove `Honey` if you are allergic to honey + - Modify `Tea` to `Green Tea` 1. In countries array check if 'Ethiopia' exists in the array if it exists print 'ETHIOPIA'. If it does not exist add to the countries list. 1. In the webTechs array check if Sass exists in the array and if it exists print 'Sass is a CSS preprocess'. If it does not exist add Sass to the array and print the array. 1. Concatenate the following two variables and store it in a fullStack variable.