diff --git a/Base1/Step_1.html b/Base1/Step_1.html index de81630..d6ae2ed 100644 --- a/Base1/Step_1.html +++ b/Base1/Step_1.html @@ -1,9 +1,16 @@ - - Step 1 - - - - - + + + Step 1 + + + + + + + + \ No newline at end of file diff --git a/Base1/Step_2.html b/Base1/Step_2.html index a214720..4dd3e56 100644 --- a/Base1/Step_2.html +++ b/Base1/Step_2.html @@ -1,9 +1,19 @@ - - Step 2 - - - - - + + + Step 2 + + + + + + + + \ No newline at end of file diff --git a/Base1/Step_3.html b/Base1/Step_3.html index 20b2a19..73ebfcc 100644 --- a/Base1/Step_3.html +++ b/Base1/Step_3.html @@ -1,9 +1,16 @@ - - Step 3 - - - - - + + + Step 3 + + + + + + + + \ No newline at end of file diff --git a/Base1/Step_4.html b/Base1/Step_4.html index 12c8942..1f8f396 100644 --- a/Base1/Step_4.html +++ b/Base1/Step_4.html @@ -1,15 +1,34 @@ - - Step 4 - - - -
- - - - -
- - + + + Step 4 + + + + + + +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/Base1/Step_5.html b/Base1/Step_5.html index 60479f2..106742c 100644 --- a/Base1/Step_5.html +++ b/Base1/Step_5.html @@ -1,14 +1,34 @@ - - Step 5 - - - -
-
-
- -
- - + + + Step 5 + + + + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Base1/Step_6.html b/Base1/Step_6.html index b019dcc..3daf930 100644 --- a/Base1/Step_6.html +++ b/Base1/Step_6.html @@ -1,14 +1,22 @@ - - Step 6 - - - -
-
-
- -
- - + + + Step 6 + + + + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Base1/Step_7.html b/Base1/Step_7.html index 05ff583..7211160 100644 --- a/Base1/Step_7.html +++ b/Base1/Step_7.html @@ -1,14 +1,21 @@ - - Step 7 - - - -
-
-
- -
- - + + + Step 7 + + + + +
+ + +
+ + +
+ +
+ + + \ No newline at end of file diff --git a/Base1/Step_8.html b/Base1/Step_8.html index 75804e8..72fa338 100644 --- a/Base1/Step_8.html +++ b/Base1/Step_8.html @@ -1,13 +1,32 @@ - - Step 8 - - - -
-
- -
- - + + + Step 8 + + + + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Base1/script6.js b/Base1/script6.js new file mode 100644 index 0000000..8995bf8 --- /dev/null +++ b/Base1/script6.js @@ -0,0 +1,10 @@ +var b = document.getElementById("validate"); + +function calculate(first_number, second_number) { + var first_number = document.getElementById("first_number").value; + var second_number = document.getElementById("second_number").value; + var rem = (first_number % second_number); + document.write("the remainder of " + first_number + " and " + second_number + " is : " + rem); + // event.preventDefault(); +} +b.addEventListener("click", calculate); \ No newline at end of file diff --git a/Base1/script7.js b/Base1/script7.js new file mode 100644 index 0000000..dc1e7f6 --- /dev/null +++ b/Base1/script7.js @@ -0,0 +1,10 @@ +var b = document.getElementById("validate"); + +function calculate(shoe_size, year) { + var shoe_size = document.getElementById("shoe_size").value; + var year = document.getElementById("year").value; + var calc = ((((shoe_size * 2) + 5) * 50) - year) + 1766; + document.write("the result of shoe_size " + shoe_size + " and year " + year + " is : " + calc); + // event.preventDefault(); +} +b.addEventListener("click", calculate); \ No newline at end of file diff --git a/Base2/step 1/index.html b/Base2/step 1/index.html index 5ad09a6..dc9945e 100644 --- a/Base2/step 1/index.html +++ b/Base2/step 1/index.html @@ -1,10 +1,21 @@ - - - Step 1 - - - - + + + + Step 1 + + + + + + + + diff --git a/Base2/step 2/index.html b/Base2/step 2/index.html index cf25790..060da3f 100644 --- a/Base2/step 2/index.html +++ b/Base2/step 2/index.html @@ -1,12 +1,26 @@ + Step 2 +
- + +
- + + + \ No newline at end of file diff --git a/Base2/step 3/index.html b/Base2/step 3/index.html index 308c0b8..cb0d4c2 100644 --- a/Base2/step 3/index.html +++ b/Base2/step 3/index.html @@ -1,12 +1,26 @@ + Step 3 +
- + +
+ - + + \ No newline at end of file diff --git a/Base2/step 4/index.html b/Base2/step 4/index.html index f5086df..a7d95b5 100644 --- a/Base2/step 4/index.html +++ b/Base2/step 4/index.html @@ -1,15 +1,41 @@ + Step 4 +
- - - + + + + + +
+ - + + \ No newline at end of file diff --git a/Base2/step 5/index.html b/Base2/step 5/index.html index fe14eb9..f05989d 100644 --- a/Base2/step 5/index.html +++ b/Base2/step 5/index.html @@ -1,16 +1,28 @@ - - - Step 5 - - -
- - - - - -
- - + + + + Step 5 + + + +
+ + + + + +
+ + + + + \ No newline at end of file diff --git a/Base2/step 6/index.html b/Base2/step 6/index.html index 2eecf4f..cfb1230 100644 --- a/Base2/step 6/index.html +++ b/Base2/step 6/index.html @@ -1,14 +1,31 @@ - - - Step 6 - - - - - - - - - + + + + Step 6 + + + + + + + + + + + + \ No newline at end of file diff --git a/Base3/step 1/index.html b/Base3/step 1/index.html index eb4909d..6b038a3 100644 --- a/Base3/step 1/index.html +++ b/Base3/step 1/index.html @@ -1,10 +1,21 @@ - - - Step 1 - - - - - + + + + Step 1 + + + + + + + + \ No newline at end of file diff --git a/Base3/step 2/index.html b/Base3/step 2/index.html index aeff7fa..d1c2585 100644 --- a/Base3/step 2/index.html +++ b/Base3/step 2/index.html @@ -1,14 +1,57 @@ + Step 2 + -Show -Hide + Show + Hide
-

Joseph Dacre Carlyle (Carlisle, 4 juin 1758 - Newcastle upon Tyne, 12 avril 1804) est un orientaliste anglais.Après ses études à l'université de Cambridge, il y devint professeur d'arabe. En 1799, il fut attaché par le gouvernement britannique à l'ambassade de Lord Elgin dans l'Empire ottoman. Il était chargé d'explorer les bibliothèques de la région (principalement celle du Sérail) pour y découvrir (et y acquérir) des manuscrits inédits de textes antiques. Il se rendit aussi en Égypte, en Terre sainte et au mont Athos. Sa mission fut, de son point de vue, un échec. Il acheta quelques centaines d'ouvrages, principalement dans les bazars de Constantinople, mais aucun ne contenait de texte inédit. Cependant, la façon dont certains manuscrits avaient été acquis, principalement ceux du patriarche de Jérusalem Anthème Ier, ainsi que la querelle entamée sur la plaine de Troie entre Carlyle et un autre professeur de Cambridge, Edward Daniel Clarke, allaient être utilisées, après la mort de Carlyle, contre Lord Elgin, dans les controverses autour de l'acquisition des « marbres d'Elgin ».De retour en Grande-Bretagne à l'automne 1801, Joseph Dacre Carlyle entama une traduction en arabe de la Bible. Sa mort en avril 1804 coupa court à ce travail.

+

Joseph Dacre Carlyle (Carlisle, 4 juin 1758 - Newcastle upon Tyne, 12 avril 1804) est un orientaliste anglais.Après ses + études à l'université de Cambridge, il y devint professeur d'arabe. En 1799, il fut attaché par le gouvernement britannique + à l'ambassade de Lord Elgin dans l'Empire ottoman. Il était chargé d'explorer les bibliothèques de la région (principalement + celle du Sérail) pour y découvrir (et y acquérir) des manuscrits inédits de textes antiques. Il se rendit aussi en + Égypte, en Terre sainte et au mont Athos. Sa mission fut, de son point de vue, un échec. Il acheta quelques centaines + d'ouvrages, principalement dans les bazars de Constantinople, mais aucun ne contenait de texte inédit. Cependant, la + façon dont certains manuscrits avaient été acquis, principalement ceux du patriarche de Jérusalem Anthème Ier, ainsi + que la querelle entamée sur la plaine de Troie entre Carlyle et un autre professeur de Cambridge, Edward Daniel Clarke, + allaient être utilisées, après la mort de Carlyle, contre Lord Elgin, dans les controverses autour de l'acquisition + des « marbres d'Elgin ».De retour en Grande-Bretagne à l'automne 1801, Joseph Dacre Carlyle entama une traduction en + arabe de la Bible. Sa mort en avril 1804 coupa court à ce travail.

+ - + + \ No newline at end of file diff --git a/Base3/step 3/index.html b/Base3/step 3/index.html index 0db3888..37f8e1e 100644 --- a/Base3/step 3/index.html +++ b/Base3/step 3/index.html @@ -1,18 +1,52 @@ + Step 3 - + +
-

Tara, originellement nommée Antarctica puis Seamaster, est une goélette française destinée à la fois à l'exploration et à la défense de l'environnement. Dans le cadre de l'Année polaire internationale, en 2007-2008, ce voilier est utilisé en Arctique par l'expédition Tara Arctic dans le but de faire des relevés permettant de mieux comprendre les changements climatiques qui s'opèrent en Arctique. En 2009, dans le cadre de l'expédition Tara Oceans, Tara parcourt les mers et les océans dans une circumnavigation de trois ans afin d'étudier le piégeage des molécules de gaz carbonique (CO2) par les micro-organismes marins comme le plancton. En avril 2016, une nouvelle expédition est montée Tara Pacific dont l'objectif est de comprendre le corail, menacé par des facteurs humains et climatiques1.

+

Tara, originellement nommée Antarctica puis Seamaster, est une goélette française destinée à la fois à l'exploration + et à la défense de l'environnement. Dans le cadre de l'Année polaire internationale, en 2007-2008, ce voilier est utilisé + en Arctique par l'expédition Tara Arctic dans le but de faire des relevés permettant de mieux comprendre les changements + climatiques qui s'opèrent en Arctique. En 2009, dans le cadre de l'expédition Tara Oceans, Tara parcourt les mers et + les océans dans une circumnavigation de trois ans afin d'étudier le piégeage des molécules de gaz carbonique (CO2) + par les micro-organismes marins comme le plancton. En avril 2016, une nouvelle expédition est montée Tara Pacific dont + l'objectif est de comprendre le corail, menacé par des facteurs humains et climatiques1.

-
-
-
-
+
+
+
+ + - + + \ No newline at end of file diff --git a/Base3/step 4/index.html b/Base3/step 4/index.html index cab276b..75e2d67 100644 --- a/Base3/step 4/index.html +++ b/Base3/step 4/index.html @@ -1,14 +1,32 @@ + Step 4 +
- - - + + + + +
+ - + + \ No newline at end of file diff --git a/Base4/questions.js b/Base4/questions.js index fc57106..8a67a2c 100644 --- a/Base4/questions.js +++ b/Base4/questions.js @@ -1,101 +1,146 @@ - var stringSize = function (text) { - + var size = text.length; + return size; } var replaceCharacterE = function (text) { - + var rep = text.replace(/e/, ' '); + return rep; } var concatString = function (text1, text2) { - + var conc = text1.concat(text2); + return conc; } var showChar5 = function (text) { + var ans = text.charAt(4); + return ans; } var showChar9 = function (text) { + var ans = text.slice(0, 9); + return ans; } var toCapitals = function (text) { - + var upr = text.toUpperCase(); + return upr; } var toLowerCase = function (text) { - + var lwr = text.toLowerCase(); + return lwr; } var removeSpaces = function (text) { - + var del = text.trim(); + return del; } var IsString = function (text) { - + if (typeof (text) == 'string') { + return true; + } else return false; } var getExtension = function (text) { - + var ext = text.split('.') + return ext[1] } var countSpaces = function (text) { - + var countSpaces = text.split(" "); + return countSpaces.length - 1; } var InverseString = function (text) { - + var ans = ""; + for (var i = text.length - 1; i >= 0; i--) { + ans += text[i]; + } + return ans; } var power = function (x, y) { + var power = Math.pow(x, y); + return power; } var absoluteValue = function (num) { - + var ans = Math.abs(num); + return ans } var absoluteValueArray = function (array) { - + var ans = ''; + var arr = []; + for (var i = 0; i < array.length; i++) { + ans = Math.abs(array[i]) + arr.push(ans) + } + return arr; } var circleSurface = function (radius) { + var circle = Math.ceil(Math.PI * (radius * radius)); + return circle; } var hypothenuse = function (ab, ac) { - + var ans = Math.hypot(ab, ac); + return ans; } var BMI = function (weight, height) { - + var ans = (weight / (height * height)).toFixed(2) + ans = parseFloat(ans); + return ans; } var createLanguagesArray = function () { - + var arr = ['Html', 'CSS', 'Java', 'PHP']; + return arr; } var createNumbersArray = function () { - + var arr = []; + for (var i = 0; i <= 5; i++) { + arr.push(i) + } + return arr; } var replaceElement = function (languages) { - + languages.splice(2, 1, 'Javascript'); + return languages; } var addElement = function (languages) { - + languages.splice(5, 0, 'Ruby', 'Python'); + return languages; } var addNumberElement = function (numbers) { - + numbers.splice(0, 0, -2, -1); + return numbers; } var removeFirst = function (languages) { - + languages.shift(); + return languages; } var removeLast = function (languages) { - + languages.pop(); + return languages; } var convertStrToArr = function (social_arr) { - + var ans = social_arr.split(','); + return ans; } var convertArrToStr = function (languages) { - + var result = languages.toString(); + return result; } var sortArr = function (social_arr) { - + var ans = social_arr.sort(); + return ans; } -var invertArr = function (social_arr){ - -} +var invertArr = function (social_arr) { + var ans = social_arr.reverse(); + return ans; +} \ No newline at end of file