From af548f9384d8c9c7361cc85084d602cc5656256f Mon Sep 17 00:00:00 2001 From: yuskara Date: Mon, 13 Jan 2020 14:26:56 -0500 Subject: [PATCH 1/3] test --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b103d2a06..ebb7a17a9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + > If you are following the curriculum we recommend you to start with module 1: [HTML/CSS/GIT](https://github.com/SocialHackersCodeSchool/HTML-CSS). To get a complete overview, click [here](https://github.com/SocialHackersCodeSchool/curriculum). > Please help us improve and share your feedback! If you find better tutorials From e1938d09928aade07b0ac68d66b892839b55e477 Mon Sep 17 00:00:00 2001 From: yuskara Date: Mon, 13 Jan 2020 14:30:47 -0500 Subject: [PATCH 2/3] homework ykaraca --- Week1/homework/ex10Compare.js | 9 +++++++++ Week1/homework/ex1logHello.js | 11 +++++++++++ Week1/homework/ex2Syntax.js | 2 ++ Week1/homework/ex3Log.js | 7 +++++++ Week1/homework/ex4LogString.js | 9 +++++++++ Week1/homework/ex5Round.js | 7 +++++++ Week1/homework/ex6LogArray.js | 8 ++++++++ Week1/homework/ex7LogLeng.js | 4 ++++ Week1/homework/ex8TypeC.js | 18 ++++++++++++++++++ Week1/homework/ex9LogRemain.js | 7 +++++++ 10 files changed, 82 insertions(+) create mode 100644 Week1/homework/ex10Compare.js create mode 100644 Week1/homework/ex1logHello.js create mode 100644 Week1/homework/ex2Syntax.js create mode 100644 Week1/homework/ex3Log.js create mode 100644 Week1/homework/ex4LogString.js create mode 100644 Week1/homework/ex5Round.js create mode 100644 Week1/homework/ex6LogArray.js create mode 100644 Week1/homework/ex7LogLeng.js create mode 100644 Week1/homework/ex8TypeC.js create mode 100644 Week1/homework/ex9LogRemain.js diff --git a/Week1/homework/ex10Compare.js b/Week1/homework/ex10Compare.js new file mode 100644 index 000000000..4d224ccb0 --- /dev/null +++ b/Week1/homework/ex10Compare.js @@ -0,0 +1,9 @@ +'use strict' +var myArray1=[34,44,"malatya","Mechanicsburg"]; +var myArray2=[49,35,"mus",99,"newyork","atina",7]; +console.log('The length of the array1 is...' +myArray1.length); +console.log('The length of the array2 is...' +myArray2.length); +if (myArray1.length==myArray2.length){ + console.log("They are the same!"); +} +else{console.log("Two different sizes")} \ No newline at end of file diff --git a/Week1/homework/ex1logHello.js b/Week1/homework/ex1logHello.js new file mode 100644 index 000000000..d8473f814 --- /dev/null +++ b/Week1/homework/ex1logHello.js @@ -0,0 +1,11 @@ +'use strict' +console.log("Halo, dunia!"); +console.log("Ciao, mondo!"); +console.log("Hola, mundo!"); +console.log("Hello, World"); +console.log("Merhaba, Dunya"); +console.log("Γειά σου Κόσμε"); +console.log("مرحبا بالعالم"); +console.log("你好,世界"); +console.log("Hallo Wereld"); +console.log("Ciao mondo"); \ No newline at end of file diff --git a/Week1/homework/ex2Syntax.js b/Week1/homework/ex2Syntax.js new file mode 100644 index 000000000..612ea6545 --- /dev/null +++ b/Week1/homework/ex2Syntax.js @@ -0,0 +1,2 @@ +'use strict' +console.log('I\'m awesome'); \ No newline at end of file diff --git a/Week1/homework/ex3Log.js b/Week1/homework/ex3Log.js new file mode 100644 index 000000000..8dc1833cc --- /dev/null +++ b/Week1/homework/ex3Log.js @@ -0,0 +1,7 @@ +'use strict' +var numberX; +console.log("what you think the value of x"); +console.log("the value of x is "+numberX); +numberX=9; +console.log("what you think the value of x"); +console.log("the value of x is "+numberX); diff --git a/Week1/homework/ex4LogString.js b/Week1/homework/ex4LogString.js new file mode 100644 index 000000000..470572192 --- /dev/null +++ b/Week1/homework/ex4LogString.js @@ -0,0 +1,9 @@ +'use strict' +var myString="Yusuf karaca"; +console.log("what you think the value of string is"); +console.log(myString); +myString="Memleket Malatya"; +console.log("what you think the value of string is"); +console.log(myString); + + diff --git a/Week1/homework/ex5Round.js b/Week1/homework/ex5Round.js new file mode 100644 index 000000000..be25eca8f --- /dev/null +++ b/Week1/homework/ex5Round.js @@ -0,0 +1,7 @@ +'use strict' +var z=7.25; +console.log("z : "+z); +var a=7; +console.log("a : "+a); +var m=Math.max(a,z); +console.log("the highest is :"+m); \ No newline at end of file diff --git a/Week1/homework/ex6LogArray.js b/Week1/homework/ex6LogArray.js new file mode 100644 index 000000000..901216f1e --- /dev/null +++ b/Week1/homework/ex6LogArray.js @@ -0,0 +1,8 @@ +'use strict' +var items=[]; +console.log("what you think the value of the array is ?"); +console.log(items); +var animals=["cat","bird","turtle"]; +console.log(animals); +animals.push("piglet"); +console.log(animals); diff --git a/Week1/homework/ex7LogLeng.js b/Week1/homework/ex7LogLeng.js new file mode 100644 index 000000000..27bc10ad0 --- /dev/null +++ b/Week1/homework/ex7LogLeng.js @@ -0,0 +1,4 @@ +'use strict' +var mySentence="Programming is so interesting!"; +var myLength=mySentence.length; +console.log(myLength); \ No newline at end of file diff --git a/Week1/homework/ex8TypeC.js b/Week1/homework/ex8TypeC.js new file mode 100644 index 000000000..630bc3106 --- /dev/null +++ b/Week1/homework/ex8TypeC.js @@ -0,0 +1,18 @@ +'use strict' +var myString1="Same"; +var myString2="Same"; +var myNumber1=44; +var myNumber2=40; +console.log(typeof myString1); +console.log(typeof myString2); +if (typeof myString1==typeof myString2){ + console.log("SAME TYPE"); +} +else{console.log("Not the same...");} + +console.log(typeof myString1); +console.log(typeof myNumber1); +if (typeof myString1==typeof myNumber1){ + console.log("SAME TYPE"); +} +else{console.log("Not the same...");} diff --git a/Week1/homework/ex9LogRemain.js b/Week1/homework/ex9LogRemain.js new file mode 100644 index 000000000..959247847 --- /dev/null +++ b/Week1/homework/ex9LogRemain.js @@ -0,0 +1,7 @@ +'use strict' +// 7/3=2 and remain is 1 so x= 1, +console.log(7%3); +// 21/4=5 and remain is 1 so y=1, +console.log(21%4); +// 13/2=6 and remain 1 so z = 1, +console.log(13%2); From dedc244e5e004b148c6b73ff3264e345762204d3 Mon Sep 17 00:00:00 2001 From: yuskara Date: Wed, 29 Jan 2020 13:48:44 -0500 Subject: [PATCH 3/3] week2 homework --- Week2/Week2Homework | 1 + 1 file changed, 1 insertion(+) create mode 160000 Week2/Week2Homework diff --git a/Week2/Week2Homework b/Week2/Week2Homework new file mode 160000 index 000000000..5a2f55827 --- /dev/null +++ b/Week2/Week2Homework @@ -0,0 +1 @@ +Subproject commit 5a2f558279c580d1d40e3f58a878aa71bc76f5fe