From 109979e438eb55fd5e3d378a44d01eb2590e5fb4 Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Sat, 4 Jan 2020 20:07:05 +0200 Subject: [PATCH] restructuring files --- 02_Day/{02_day_strings.md => 02_day_data_types.md} | 6 +++--- 03_Day/03_booleans_operators_date.md | 4 ++-- readMe.md | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) rename 02_Day/{02_day_strings.md => 02_day_data_types.md} (98%) diff --git a/02_Day/02_day_strings.md b/02_Day/02_day_data_types.md similarity index 98% rename from 02_Day/02_day_strings.md rename to 02_Day/02_day_data_types.md index 28f3c6cd..cb886b3e 100644 --- a/02_Day/02_day_strings.md +++ b/02_Day/02_day_data_types.md @@ -686,9 +686,9 @@ console.log(string.repeat(10)) // lovelovelovelovelovelovelovelovelovelove 25. Use __match()__ to count the number all because's in the following sentence:__'You cannot end a sentence with because because because is a conjunction'__ 26. Use __concat()__ and merge '30 Days of' and 'JavaScript' to a single string, '30 Days Of JavaScript' 27. Use __repeat()__ method to print 30 Days Of JavaScript 2 times -28. Love is the best thing in this world. Some found their love and some are still looking for their love. Count the number of word love in this sentence. -29. Calculate the total annual income of the person by extract the numbers from the following text. 'He earns 5000 euro from salary per month, 10000 euro annual bonus, 15000 euro online courses per month.' -30. Clean the following text and find the most frequent word(hint, use replace and regular express). +28. ** 'Love is the best thing in this world. Some found their love and some are still looking for their love.' Count the number of word love in this sentence. +29. ** Calculate the total annual income of the person by extract the numbers from the following text. 'He earns 5000 euro from salary per month, 10000 euro annual bonus, 15000 euro online courses per month.' +30. ** Clean the following text and find the most frequent word(hint, use replace and regular express). ```js const sentence = '%I $am@% a %tea@cher%, &and& I lo%#ve %tea@ching%;. There $is nothing; &as& mo@re rewarding as educa@ting &and& @emp%o@wering peo@ple. ;I found tea@ching m%o@re interesting tha@n any other %jo@bs. %Do@es thi%s mo@tivate yo@u to be a tea@cher!? %Th#is 30#Days&OfJavaScript &is also $the $result of &love& of tea&ching' diff --git a/03_Day/03_booleans_operators_date.md b/03_Day/03_booleans_operators_date.md index c9066d90..05a34311 100644 --- a/03_Day/03_booleans_operators_date.md +++ b/03_Day/03_booleans_operators_date.md @@ -1,6 +1,6 @@ ## Table of Contents -[<< Day 2](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_strings.md) | [Day 4 >>](#) +[<< Day 2](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_data_types.md) | [Day 4 >>](#) -- ![Thirty Days Of JavaScript](./day_1_3.png) @@ -569,4 +569,4 @@ You are 25. You are old enough to drive 🎉 CONGRATULATIONS ! 🎉 -[<< Day 2](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_strings.md) | [Day 4 >>](#) +[<< Day 2](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_data_types.md) | [Day 4 >>](#) diff --git a/readMe.md b/readMe.md index 56f62743..eb2037c3 100644 --- a/readMe.md +++ b/readMe.md @@ -1,6 +1,6 @@ ## Table of Contents -[Day 2 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_strings.md) +[Day 2 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_data_types.md) -- ![Thirty Days Of JavaScript](./images/day_1_1.png) @@ -565,5 +565,4 @@ When you run the files on 01-Day folder you should get this: 🎉 CONGRATULATIONS ! 🎉 -[Day 2 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_strings.md) - +[Day 2 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/02_Day/02_day_data_types.md)