From 9ac75f8fc623c3aa2df04f2ae48caccfe919f207 Mon Sep 17 00:00:00 2001 From: Tarek <2b3zab666@gmail.com> Date: Tue, 6 Oct 2020 16:45:59 +0200 Subject: [PATCH 1/4] added the 5 javascript exercises and the project the quotes genrator, to week1 js-exercises folder --- Week1/js-exercises/Random-Quote-Generator.css | 96 ++++++++++++++++++ .../js-exercises/Random-Quote-Generator.html | 36 +++++++ Week1/js-exercises/Random-Quote-Generator.js | 49 +++++++++ Week1/js-exercises/ex1-bookList.html | 25 +++-- Week1/js-exercises/ex1-bookList.js | 44 ++++++-- Week1/js-exercises/ex1-booklist.css | 53 ++++++++++ Week1/js-exercises/ex2-aboutMe.css | 28 +++++ Week1/js-exercises/ex2-aboutMe.html | 40 ++++---- Week1/js-exercises/ex2-aboutMe.js | 29 +++++- Week1/js-exercises/ex3-hijackLogo.js | 13 ++- Week1/js-exercises/ex4-whatsTheTime.css | 61 +++++++++++ Week1/js-exercises/ex4-whatsTheTime.html | 23 ++++- Week1/js-exercises/ex4-whatsTheTime.js | 49 ++++++++- Week1/js-exercises/ex5-catWalk.js | 59 ++++++++++- .../js-exercises/images/clock-background.png | Bin 0 -> 37268 bytes Week1/js-exercises/images/myPhoto.JPG | Bin 0 -> 110713 bytes Week1/js-exercises/images/pragmatic.jpg | Bin 0 -> 20673 bytes .../images/randomquotegenerator.png | Bin 0 -> 119303 bytes .../images/the-design-of-everything.jpg | Bin 0 -> 23985 bytes Week1/js-exercises/images/the-most-human.jpg | Bin 0 -> 42874 bytes 20 files changed, 561 insertions(+), 44 deletions(-) create mode 100644 Week1/js-exercises/Random-Quote-Generator.css create mode 100644 Week1/js-exercises/Random-Quote-Generator.html create mode 100644 Week1/js-exercises/Random-Quote-Generator.js create mode 100644 Week1/js-exercises/ex1-booklist.css create mode 100644 Week1/js-exercises/ex2-aboutMe.css create mode 100644 Week1/js-exercises/ex4-whatsTheTime.css create mode 100644 Week1/js-exercises/images/clock-background.png create mode 100644 Week1/js-exercises/images/myPhoto.JPG create mode 100644 Week1/js-exercises/images/pragmatic.jpg create mode 100644 Week1/js-exercises/images/randomquotegenerator.png create mode 100644 Week1/js-exercises/images/the-design-of-everything.jpg create mode 100644 Week1/js-exercises/images/the-most-human.jpg diff --git a/Week1/js-exercises/Random-Quote-Generator.css b/Week1/js-exercises/Random-Quote-Generator.css new file mode 100644 index 000000000..82135841d --- /dev/null +++ b/Week1/js-exercises/Random-Quote-Generator.css @@ -0,0 +1,96 @@ +* { + margin: 0px; + padding: 0px; + box-sizing: border-box; +} + +body { + background-color: orange; +} + +.container { + width: 100vh; + height: 50vh; + display: flex; + flex-direction: column; + background-color: white; + margin: auto; + margin-top: 25vh; + justify-content: space-around; +} + +.output-container { + display: flex; + justify-content: flex-start; + align-items: center; +} + +.quote-output { + height: 30vh; + display: flex; + justify-content: flex-start; + align-items: center; + padding: 50px; + font-size: 35px; + color: orange; +} + +.quote-output i { + color: orange; +} + +.writer { + text-align: right; + padding: 25px; + font-size: 25px; + color: orange; + font-weight: bold; +} + +.buttons-wraper { + height: 15vh; +} + +.social-btn { + width: 35px; + height: 40px; + background-color: orange; + float: left; + margin: 10px; + cursor: pointer; +} +.social-btn i { + color: white; + width: 100%; + height: 100%; + padding: 5px; + font-size: 25px; +} + +.gererator { + float: right; + width: 125px; + height: 50px; + background-color: orange; + margin: 15px; + font-size: 15px; + font-weight: bold; + color: white; + cursor: pointer; +} + +.gererator:hover { + + + background-color: red; + + + transform-origin: center; + transform: scale(1.1 , 1.1); + transition: all ease-in-out 0.2s; + } + +.fa-quote-left { + color: orange; + margin: 15px; +} diff --git a/Week1/js-exercises/Random-Quote-Generator.html b/Week1/js-exercises/Random-Quote-Generator.html new file mode 100644 index 000000000..7137c348f --- /dev/null +++ b/Week1/js-exercises/Random-Quote-Generator.html @@ -0,0 +1,36 @@ + + +
+ + +........
+ + +