From c21f0e4d5698a30feb00d3036efdfc510e5c9799 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:04:24 +0200 Subject: [PATCH 01/25] Add files via upload --- week-1/week1/calc.html | 45 +++++++++++++++++++++++++++++++++++++++++ week-1/week1/index.html | 28 +++++++++++++++++++++++++ week-1/week1/team.html | 35 ++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 week-1/week1/calc.html create mode 100644 week-1/week1/index.html create mode 100644 week-1/week1/team.html diff --git a/week-1/week1/calc.html b/week-1/week1/calc.html new file mode 100644 index 0000000..e1bb4b2 --- /dev/null +++ b/week-1/week1/calc.html @@ -0,0 +1,45 @@ + + + + + Calculator +

Welcome to my Calculate Page

+ +
+ + + +

Press F12 on your keyboard to view results in the console view.

+ + + + + + + + \ No newline at end of file diff --git a/week-1/week1/index.html b/week-1/week1/index.html new file mode 100644 index 0000000..0446cb1 --- /dev/null +++ b/week-1/week1/index.html @@ -0,0 +1,28 @@ + + + + + Homework JS-1 +

Welcome to my HomePage

+

This is a JavaScript Homework WepPage of Week 1

+ +
+ + + + +

Press Button to print project details to the console.

+

Press F12 on your keyboard to view project details in the console view.

+ +
+ + \ No newline at end of file diff --git a/week-1/week1/team.html b/week-1/week1/team.html new file mode 100644 index 0000000..f798dd3 --- /dev/null +++ b/week-1/week1/team.html @@ -0,0 +1,35 @@ + + + + + Team +

Welcome to my Team Page

+ +
+ + + +

Press F12 on your keyboard to view Team details in the console view.

+ + + + + + \ No newline at end of file From 5857a1d191c2e565b3f298abcd894e0098925c71 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:09:21 +0200 Subject: [PATCH 02/25] Delete calc.html --- week-1/calc.html | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 week-1/calc.html diff --git a/week-1/calc.html b/week-1/calc.html deleted file mode 100644 index 896b5e0..0000000 --- a/week-1/calc.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - calc - - - - - - - - - From 9556c8557b7f442be750f0e46af56ce4bc002cde Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:09:31 +0200 Subject: [PATCH 03/25] Delete index.html --- week-1/index.html | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 week-1/index.html diff --git a/week-1/index.html b/week-1/index.html deleted file mode 100644 index df6ecbb..0000000 --- a/week-1/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - home page - - - - - -

week 1 index.html - - example to study - - From 467f807759fa02e7182753555005c0b1beb00965 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:09:38 +0200 Subject: [PATCH 04/25] Delete team.html --- week-1/team.html | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 week-1/team.html diff --git a/week-1/team.html b/week-1/team.html deleted file mode 100644 index 5841f0a..0000000 --- a/week-1/team.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - team page - - - - - - - - From 4dc1e6d582507dc11ccd97475057dc498f727735 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:10:15 +0200 Subject: [PATCH 05/25] Delete team.html --- week-1/week1/team.html | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 week-1/week1/team.html diff --git a/week-1/week1/team.html b/week-1/week1/team.html deleted file mode 100644 index f798dd3..0000000 --- a/week-1/week1/team.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Team -

Welcome to my Team Page

- -
- - - -

Press F12 on your keyboard to view Team details in the console view.

- - - - - - \ No newline at end of file From ae9f261f71f7683d88f33118f2316d058571dc85 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:10:22 +0200 Subject: [PATCH 06/25] Delete index.html --- week-1/week1/index.html | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 week-1/week1/index.html diff --git a/week-1/week1/index.html b/week-1/week1/index.html deleted file mode 100644 index 0446cb1..0000000 --- a/week-1/week1/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Homework JS-1 -

Welcome to my HomePage

-

This is a JavaScript Homework WepPage of Week 1

- -
- - - - -

Press Button to print project details to the console.

-

Press F12 on your keyboard to view project details in the console view.

- -
- - \ No newline at end of file From c3a6d0f4f952f9585cfab4d99a2374712902aefc Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:10:28 +0200 Subject: [PATCH 07/25] Delete calc.html --- week-1/week1/calc.html | 45 ------------------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 week-1/week1/calc.html diff --git a/week-1/week1/calc.html b/week-1/week1/calc.html deleted file mode 100644 index e1bb4b2..0000000 --- a/week-1/week1/calc.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Calculator -

Welcome to my Calculate Page

- -
- - - -

Press F12 on your keyboard to view results in the console view.

- - - - - - - - \ No newline at end of file From 03b1fca7d02bf9a4e982a5a72fc0d87ddd1d787a Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:11:08 +0200 Subject: [PATCH 08/25] Add files via upload --- week-1/calc.html | 45 +++++++++++++++++++++++++++++++++++++++++++++ week-1/index.html | 28 ++++++++++++++++++++++++++++ week-1/team.html | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 week-1/calc.html create mode 100644 week-1/index.html create mode 100644 week-1/team.html diff --git a/week-1/calc.html b/week-1/calc.html new file mode 100644 index 0000000..e1bb4b2 --- /dev/null +++ b/week-1/calc.html @@ -0,0 +1,45 @@ + + + + + Calculator +

Welcome to my Calculate Page

+ +
+ + + +

Press F12 on your keyboard to view results in the console view.

+ + + + + + + + \ No newline at end of file diff --git a/week-1/index.html b/week-1/index.html new file mode 100644 index 0000000..0446cb1 --- /dev/null +++ b/week-1/index.html @@ -0,0 +1,28 @@ + + + + + Homework JS-1 +

Welcome to my HomePage

+

This is a JavaScript Homework WepPage of Week 1

+ +
+ + + + +

Press Button to print project details to the console.

+

Press F12 on your keyboard to view project details in the console view.

+ +
+ + \ No newline at end of file diff --git a/week-1/team.html b/week-1/team.html new file mode 100644 index 0000000..f798dd3 --- /dev/null +++ b/week-1/team.html @@ -0,0 +1,35 @@ + + + + + Team +

Welcome to my Team Page

+ +
+ + + +

Press F12 on your keyboard to view Team details in the console view.

+ + + + + + \ No newline at end of file From 571c96c9edd1c262a15237c7dcee5bb33fd0037c Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:11:51 +0200 Subject: [PATCH 09/25] Delete example-to-study.html --- week-1/example-to-study.html | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 week-1/example-to-study.html diff --git a/week-1/example-to-study.html b/week-1/example-to-study.html deleted file mode 100644 index f2aa335..0000000 --- a/week-1/example-to-study.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - example - - - - - -

example to study

-

- a little demo to figure out -

-
-
-
-
- home
- - From a33f94cd22cde5565149d7fa2d008be57f2e6fb2 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Sat, 22 Jun 2019 05:13:00 +0200 Subject: [PATCH 10/25] Update index.html --- week-1/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/week-1/index.html b/week-1/index.html index 0446cb1..902b1d8 100644 --- a/week-1/index.html +++ b/week-1/index.html @@ -18,11 +18,11 @@

Welcome to my HomePage

Press Button to print project details to the console.

Press F12 on your keyboard to view project details in the console view.


- \ No newline at end of file + From 20491e4d7bbc68125a669172bb276676fa070700 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:52:42 +0200 Subject: [PATCH 11/25] Update index.html --- week-2/calc/index.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/week-2/calc/index.html b/week-2/calc/index.html index e69de29..a0a6f98 100644 --- a/week-2/calc/index.html +++ b/week-2/calc/index.html @@ -0,0 +1,26 @@ + + + + + + + Homework JS-2 +

Welcome to my HomePage

+

This is a JavaScript Homework WepPage of Week 2

+ +
+ + + + +

Press Button to print project details to the console.

+

Press F12 on your keyboard to view project details in the console view.

+ +
+ + + From 0e4c98eed68d1f7eea7959ea7eeb3a20971d7c4b Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:53:32 +0200 Subject: [PATCH 12/25] Update index.html --- week-2/calc/index.html | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/week-2/calc/index.html b/week-2/calc/index.html index a0a6f98..a7bd108 100644 --- a/week-2/calc/index.html +++ b/week-2/calc/index.html @@ -2,25 +2,26 @@ - - - Homework JS-2 -

Welcome to my HomePage

-

This is a JavaScript Homework WepPage of Week 2

+ Calculator +

Welcome to my Calculate Page


+ - -

Press Button to print project details to the console.

-

Press F12 on your keyboard to view project details in the console view.

- -
- +

Press F12 on your keyboard to view results in the console view.

+

CALCULATOR

+
+
+
+
+
+
+ From 19650b46feb1832789eccd58e35bcff7d651919d Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:54:25 +0200 Subject: [PATCH 13/25] Update onclicks.js --- week-2/calc/onclicks.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/week-2/calc/onclicks.js b/week-2/calc/onclicks.js index e69de29..27e0c8a 100644 --- a/week-2/calc/onclicks.js +++ b/week-2/calc/onclicks.js @@ -0,0 +1,11 @@ +var printVal = document.getElementById("print_val"); +var addVal = document.getElementById("add_val"); +var subtVal = document.getElementById("subt_val"); +var multiVal = document.getElementById("multi_val"); +var divVal = document.getElementById("div_val"); + +printVal.onclick = function() {print_vals(n1, n2);} +addVal.onclick = function() {do_math(n1, n2, add);} +subtVal.onclick = function() {do_math(n1, n2, subtract);} +multiVal.onclick = function() {do_math(n1, n2, multiply);} +divVal.onclick = function() {do_math(n1, n2, divide);} From 607cd2b3d2485080e9e0ec7100276acd750a1f76 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:55:14 +0200 Subject: [PATCH 14/25] Update functions-data.js --- week-2/calc/functions-data.js | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/week-2/calc/functions-data.js b/week-2/calc/functions-data.js index eb6af17..f7ae9f8 100644 --- a/week-2/calc/functions-data.js +++ b/week-2/calc/functions-data.js @@ -1,8 +1,31 @@ // data (variables) - +var n1 = 12; +var n2 = 2; // functions +function print_vals(a,b){ + console.log(a,b); +} + +function do_math(a,b,func){ + console.log(func(a,b)); +} + +function add(a,b) { + return a+b; +} + +function subtract(a,b){ + return a-b; +} + +function multiply(a,b){ + return a*b; +} +function divide(a,b){ + return a/b; +} -/* onclick's */ \ No newline at end of file +/* onclick's */ From 242a36b9b076000654a8110d5dfba3cf20195089 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:56:10 +0200 Subject: [PATCH 15/25] Update index.html --- week-2/team/index.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/week-2/team/index.html b/week-2/team/index.html index e69de29..5dc88ee 100644 --- a/week-2/team/index.html +++ b/week-2/team/index.html @@ -0,0 +1,29 @@ + + + + + + + Team Page +

Welcome to my Team Page

+ + +
+ + + + + +

Press Button to print project details to the console.

+

Press F12 on your keyboard to view project details in the console view.

+ +
+
+
+ + + From 8ec94281c683d1c6da6344318768b6641268a9dc Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:57:02 +0200 Subject: [PATCH 16/25] Delete scripts.js --- week-2/scripts.js | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 week-2/scripts.js diff --git a/week-2/scripts.js b/week-2/scripts.js deleted file mode 100644 index 2f7d91c..0000000 --- a/week-2/scripts.js +++ /dev/null @@ -1,5 +0,0 @@ -// data (variables) - - - -// functions From e854183237922ea454308f22c85f636003547d21 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:57:10 +0200 Subject: [PATCH 17/25] Delete index.html --- week-2/index.html | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 week-2/index.html diff --git a/week-2/index.html b/week-2/index.html deleted file mode 100644 index 7acfc89..0000000 --- a/week-2/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - home page - - - - - - - -

week 1 index.html - - example to study - - From c536cff58f20d7d38f08fb63ed16638fab726dff Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:57:22 +0200 Subject: [PATCH 18/25] Delete onclicks.js --- week-2/team/onclicks.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 week-2/team/onclicks.js diff --git a/week-2/team/onclicks.js b/week-2/team/onclicks.js deleted file mode 100644 index 21c1dc5..0000000 --- a/week-2/team/onclicks.js +++ /dev/null @@ -1 +0,0 @@ -onclicks.js \ No newline at end of file From 4fe4ca2e95d221183319577b56b9aa340a32cb6b Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:57:33 +0200 Subject: [PATCH 19/25] Delete index.html --- week-2/team/index.html | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 week-2/team/index.html diff --git a/week-2/team/index.html b/week-2/team/index.html deleted file mode 100644 index 5dc88ee..0000000 --- a/week-2/team/index.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - Team Page -

Welcome to my Team Page

- - -
- - - - - -

Press Button to print project details to the console.

-

Press F12 on your keyboard to view project details in the console view.

- -
-
-
- - - From 5fb14e42da996d5aa075284c83f88d4efa5db094 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:57:39 +0200 Subject: [PATCH 20/25] Delete functions-data.js --- week-2/team/functions-data.js | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 week-2/team/functions-data.js diff --git a/week-2/team/functions-data.js b/week-2/team/functions-data.js deleted file mode 100644 index eb6af17..0000000 --- a/week-2/team/functions-data.js +++ /dev/null @@ -1,8 +0,0 @@ -// data (variables) - - - -// functions - - -/* onclick's */ \ No newline at end of file From a584f71fabb3382bc2059e4335c28ed540e9cdd6 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:57:51 +0200 Subject: [PATCH 21/25] Delete onclicks.js --- week-2/calc/onclicks.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 week-2/calc/onclicks.js diff --git a/week-2/calc/onclicks.js b/week-2/calc/onclicks.js deleted file mode 100644 index 27e0c8a..0000000 --- a/week-2/calc/onclicks.js +++ /dev/null @@ -1,11 +0,0 @@ -var printVal = document.getElementById("print_val"); -var addVal = document.getElementById("add_val"); -var subtVal = document.getElementById("subt_val"); -var multiVal = document.getElementById("multi_val"); -var divVal = document.getElementById("div_val"); - -printVal.onclick = function() {print_vals(n1, n2);} -addVal.onclick = function() {do_math(n1, n2, add);} -subtVal.onclick = function() {do_math(n1, n2, subtract);} -multiVal.onclick = function() {do_math(n1, n2, multiply);} -divVal.onclick = function() {do_math(n1, n2, divide);} From 5bbef6c55b0db814bfacc5c9c2e750ce756931f5 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:58:04 +0200 Subject: [PATCH 22/25] Delete index.html --- week-2/calc/index.html | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 week-2/calc/index.html diff --git a/week-2/calc/index.html b/week-2/calc/index.html deleted file mode 100644 index a7bd108..0000000 --- a/week-2/calc/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Calculator -

Welcome to my Calculate Page

- -
- - - - -

Press F12 on your keyboard to view results in the console view.

-

CALCULATOR

-
-
-
-
-
-
- - - From 8dce4dab2da99a1fec93fe9234582206b7989fc6 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:58:17 +0200 Subject: [PATCH 23/25] Delete functions-data.js --- week-2/calc/functions-data.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 week-2/calc/functions-data.js diff --git a/week-2/calc/functions-data.js b/week-2/calc/functions-data.js deleted file mode 100644 index f7ae9f8..0000000 --- a/week-2/calc/functions-data.js +++ /dev/null @@ -1,31 +0,0 @@ -// data (variables) - -var n1 = 12; -var n2 = 2; - -// functions -function print_vals(a,b){ - console.log(a,b); -} - -function do_math(a,b,func){ - console.log(func(a,b)); -} - -function add(a,b) { - return a+b; -} - -function subtract(a,b){ - return a-b; -} - -function multiply(a,b){ - return a*b; -} - -function divide(a,b){ - return a/b; -} - -/* onclick's */ From 0f0e73747e3f89ccbc6c0af1386a0438e29cca64 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Thu, 4 Jul 2019 00:59:06 +0200 Subject: [PATCH 24/25] Add files via upload --- week-2/calc/data-&-functions.js | 26 ++++++++++++++++++++++++++ week-2/calc/index.html | 27 +++++++++++++++++++++++++++ week-2/calc/onclicks.js | 11 +++++++++++ week-2/data-&-functions.js | 11 +++++++++++ week-2/index.html | 26 ++++++++++++++++++++++++++ week-2/onclicks.js | 4 ++++ week-2/team/data-&-functions.js | 20 ++++++++++++++++++++ week-2/team/index.html | 29 +++++++++++++++++++++++++++++ week-2/team/onclicks.js | 12 ++++++++++++ 9 files changed, 166 insertions(+) create mode 100644 week-2/calc/data-&-functions.js create mode 100644 week-2/calc/index.html create mode 100644 week-2/calc/onclicks.js create mode 100644 week-2/data-&-functions.js create mode 100644 week-2/index.html create mode 100644 week-2/onclicks.js create mode 100644 week-2/team/data-&-functions.js create mode 100644 week-2/team/index.html create mode 100644 week-2/team/onclicks.js diff --git a/week-2/calc/data-&-functions.js b/week-2/calc/data-&-functions.js new file mode 100644 index 0000000..ec2cadf --- /dev/null +++ b/week-2/calc/data-&-functions.js @@ -0,0 +1,26 @@ +var n1 = 12; +var n2 = 2; + +function print_vals(a,b){ + console.log(a,b); +} + +function do_math(a,b,func){ + console.log(func(a,b)); +} + +function add(a,b) { + return a+b; +} + +function subtract(a,b){ + return a-b; +} + +function multiply(a,b){ + return a*b; +} + +function divide(a,b){ + return a/b; +} \ No newline at end of file diff --git a/week-2/calc/index.html b/week-2/calc/index.html new file mode 100644 index 0000000..f716e9c --- /dev/null +++ b/week-2/calc/index.html @@ -0,0 +1,27 @@ + + + + + Calculator +

Welcome to my Calculate Page

+ +
+ + + + +

Press F12 on your keyboard to view results in the console view.

+

CALCULATOR

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/week-2/calc/onclicks.js b/week-2/calc/onclicks.js new file mode 100644 index 0000000..ad2a3b4 --- /dev/null +++ b/week-2/calc/onclicks.js @@ -0,0 +1,11 @@ +var printVal = document.getElementById("print_val"); +var addVal = document.getElementById("add_val"); +var subtVal = document.getElementById("subt_val"); +var multiVal = document.getElementById("multi_val"); +var divVal = document.getElementById("div_val"); + +printVal.onclick = function() {print_vals(n1, n2);} +addVal.onclick = function() {do_math(n1, n2, add);} +subtVal.onclick = function() {do_math(n1, n2, subtract);} +multiVal.onclick = function() {do_math(n1, n2, multiply);} +divVal.onclick = function() {do_math(n1, n2, divide);} \ No newline at end of file diff --git a/week-2/data-&-functions.js b/week-2/data-&-functions.js new file mode 100644 index 0000000..5bbd11a --- /dev/null +++ b/week-2/data-&-functions.js @@ -0,0 +1,11 @@ + +var project_object= { + name :"Europe Education Guide", + link :"www.eduadviser.org", + Description :"An Education Consultancy" +}; + +function print_deets(obj) +{ + console.log(obj); +} diff --git a/week-2/index.html b/week-2/index.html new file mode 100644 index 0000000..46f9135 --- /dev/null +++ b/week-2/index.html @@ -0,0 +1,26 @@ + + + + + + + Homework JS-2 +

Welcome to my HomePage

+

This is a JavaScript Homework WepPage of Week 1

+ +
+ + + + +

Press Button to print project details to the console.

+

Press F12 on your keyboard to view project details in the console view.

+ +
+ + + \ No newline at end of file diff --git a/week-2/onclicks.js b/week-2/onclicks.js new file mode 100644 index 0000000..1f50275 --- /dev/null +++ b/week-2/onclicks.js @@ -0,0 +1,4 @@ +var print_details_button = document.getElementById("details-button"); +print_details_button.onclick = function() { + print_deets(project_object); + } \ No newline at end of file diff --git a/week-2/team/data-&-functions.js b/week-2/team/data-&-functions.js new file mode 100644 index 0000000..3fcb647 --- /dev/null +++ b/week-2/team/data-&-functions.js @@ -0,0 +1,20 @@ +var team_name = "EEG"; +var team_members = ["Mesut","Nelson","Ramiz","Jamal"]; + +function print_team_name(TeamName) +{ + console.log("Team name is : " + TeamName); +} +function print_team_members(TeamMembers) +{ + console.log("Team members are : "); + for(let i=0; i + + + + + + Team Page +

Welcome to my Team Page

+ + +
+ + + + + +

Press Button to print project details to the console.

+

Press F12 on your keyboard to view project details in the console view.

+ +
+
+
+ + + \ No newline at end of file diff --git a/week-2/team/onclicks.js b/week-2/team/onclicks.js new file mode 100644 index 0000000..fd44292 --- /dev/null +++ b/week-2/team/onclicks.js @@ -0,0 +1,12 @@ +var PrintTeamName = document.getElementById("print_team_name"); +PrintTeamName.onclick = function() {print_team_name(team_name);} + +var PrintTeamMembers = document.getElementById("print_team_members"); +PrintTeamMembers.onclick = function() { + print_team_members(team_members); + } + +var PrintIntroduction = document.getElementById("introduction"); +PrintIntroduction.onclick = function() { + introduction(team_name, team_members); +} \ No newline at end of file From 60a47de129c003a4e1868996e05d5994dbf54825 Mon Sep 17 00:00:00 2001 From: Mesut <50662174+Efiloglu@users.noreply.github.com> Date: Fri, 5 Jul 2019 23:10:56 +0200 Subject: [PATCH 25/25] Update README.md --- week-2/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/week-2/README.md b/week-2/README.md index 9fecbcd..1762a13 100644 --- a/week-2/README.md +++ b/week-2/README.md @@ -20,9 +20,9 @@ | | your Emoji | your comments | coach emoji | coach comments | | --- | --- | --- | --- | --- | -| Home page | | | | | -| Team page | | | | | -| Calc page | | | | | +| Home page |:+1: | | | | +| Team page |:+1: | | | | +| Calc page |:+1: | | | | ---