diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..3a0fdc2 Binary files /dev/null and b/.DS_Store differ diff --git a/01_Day_JavaScript_Refresher/index.html b/01_Day_JavaScript_Refresher/index.html new file mode 100644 index 0000000..57d5ed8 --- /dev/null +++ b/01_Day_JavaScript_Refresher/index.html @@ -0,0 +1,13 @@ + + + + + + Day 1 + + +

Day 1

+ + + + \ No newline at end of file diff --git a/01_Day_JavaScript_Refresher/introduction.js b/01_Day_JavaScript_Refresher/introduction.js new file mode 100644 index 0000000..80b3885 --- /dev/null +++ b/01_Day_JavaScript_Refresher/introduction.js @@ -0,0 +1,21 @@ +const popUp = document.getElementById('popUp') + +popUp.addEventListener('click', function() { + alert('Hello World') +}) + + +// Arrays +const names = Array('Gideon', 'Courage', 'Femi', 'Jude', 250, true, false, 'HTML', 'CSS', 'Python'); +names[1] = 'Wife' +names[0] = 'Husband' +let firtsName = names[0]; +const strings = " 'Gideon', 'Courage', 'Mufasa' " +const splitstrings = strings.split('') + +console.log(names); +console.log(firtsName); +console.log(names.length); +console.log(splitstrings); + +//