├── Task3 ├── rain.mp3 ├── ting.mp3 ├── delete.mp3 ├── relax.mp3 ├── play-solid.svg ├── pause-solid.svg ├── xmark-solid.svg ├── index.html ├── style.css └── app.js ├── Task1 ├── app.js ├── style.css └── index.html ├── README.md └── Task2 ├── style.css └── index.html /Task3/rain.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devvsakib/oasis-infobyte/HEAD/Task3/rain.mp3 -------------------------------------------------------------------------------- /Task3/ting.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devvsakib/oasis-infobyte/HEAD/Task3/ting.mp3 -------------------------------------------------------------------------------- /Task3/delete.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devvsakib/oasis-infobyte/HEAD/Task3/delete.mp3 -------------------------------------------------------------------------------- /Task3/relax.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devvsakib/oasis-infobyte/HEAD/Task3/relax.mp3 -------------------------------------------------------------------------------- /Task3/play-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Task3/pause-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Task3/xmark-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Task1/app.js: -------------------------------------------------------------------------------- 1 | const input = document.getElementById('input'), 2 | clear = document.getElementById('clear'), 3 | equal = document.getElementById('equal'), 4 | allButton = document.querySelectorAll('button'); 5 | for (let button of allButton) { 6 | button.addEventListener('click', (e) => { 7 | let buttonText = e.target.innerText; 8 | 9 | if (buttonText == 'X') buttonText = 'x' 10 | input.value += buttonText 11 | 12 | equal.addEventListener('click', () => { 13 | inputs = input.value; 14 | if (inputs.includes('x')) inputs = inputs.replace('x', '*') 15 | input.value = eval(inputs); 16 | }) 17 | 18 | }) 19 | } 20 | 21 | clear.addEventListener('click', () => input.value = '') 22 | //created by DevvSakib -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OIBSIP - Oasis Infobyte Intern Program 2 | OASIS INFOBYTE offers a variety of website design and development services. Got the chance for 1 month intern of Web development and design. 3 | There are 3 task given to complete. After completing all tasks, if everything looks fine, the intern will be certified. Glad to be a part of OASIS INFOBYTE intern program. 4 | 5 | 6 | ## Task1 - Calculator 7 | A Calculator created under the virtual internship program of Oasis Infobyte.
8 | [Live](https://devvsakib.github.io/oasis-infobyte/Task1) 9 | 10 | ## Task2 - Tribute Page 11 | A tribute page created under the virtual internship program of Oasis Infobyte.
12 | [Live](https://devvsakib.github.io/oasis-infobyte/Task2) 13 | 14 | ## Task3 - Todo webapp 15 | A TO-DO app created under the virtual internship program of Oasis Infobyte.
16 | [Live](https://devvsakib.github.io/oasis-infobyte/Task3) 17 | -------------------------------------------------------------------------------- /Task1/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background: #000; 3 | } 4 | button:focus{ 5 | outline: none; 6 | } 7 | button{ 8 | border: none; 9 | background-color: transparent 10 | } 11 | .calculator{ 12 | display: inline-block; 13 | background: #17181a; 14 | padding: 25px 20px; 15 | margin-top: 2rem; 16 | color: #fff; 17 | width: 350px; 18 | text-align: center; 19 | border-radius: 5px; 20 | } 21 | input { 22 | width: 100%; 23 | outline: none; 24 | border: none; 25 | padding: 10px 10px; 26 | } 27 | #input { 28 | border-radius: 5px; 29 | height: 90px; 30 | font-size: 25px; 31 | color: #3bae3f; 32 | } 33 | #output{ 34 | font-size: 22px; 35 | border-radius: 0 0 5px 5px; 36 | } 37 | .calculator table{ 38 | margin: auto; 39 | } 40 | 41 | table{ 42 | margin-top: 10px !important; 43 | 44 | } 45 | table tr td { 46 | padding: 10px 12px; 47 | background: repeating-linear-gradient(320deg, black, transparent 100px); 48 | } 49 | table tr td button{ 50 | padding: 10px 15px; 51 | color: turquoise; 52 | } 53 | table tr td p{ 54 | padding: 10px 15px; 55 | color: turquoise; 56 | margin: 0; 57 | cursor: pointer; 58 | } -------------------------------------------------------------------------------- /Task3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | To-Do WebApp - Task 3 9 | 11 | 14 | 15 | 16 | 17 | 18 | 19 |
20 |

21 | 22 | Relaxing Sound 23 |

24 |
25 |
26 | 27 |
28 |
Add TASK
29 |
30 |
31 | 32 | 33 |
34 |
35 |

Completed 0

36 |
37 |
38 |
39 |
40 |
41 |

Task List

42 |
43 | 44 |
45 |
46 |
47 | 48 |
49 | 50 |

Completed Task

51 |
52 |
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Task1/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | JavaScript Calculator 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 |
17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |

=

57 |
58 |
59 |
60 |
61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /Task3/style.css: -------------------------------------------------------------------------------- 1 | p{ 2 | margin-bottom: 0 !important; 3 | } 4 | 5 | .card-pd { 6 | padding: 0; 7 | background-color: white; 8 | max-width: 400px; 9 | border-radius: 5px; 10 | box-shadow: 0 0 5px 5px rgba(100, 100, 100, 0.1); 11 | } 12 | 13 | #pushNote { 14 | justify-content: center; 15 | gap: 10px; 16 | } 17 | 18 | .card-pd input { 19 | border: none; 20 | border-radius: 0 !important; 21 | padding: 10px; 22 | width: 100%; 23 | outline: none; 24 | padding: 15px 20px !important; 25 | background: transparent; 26 | } 27 | 28 | .card-pd button { 29 | color: #fff; 30 | border: none; 31 | padding: 15px 30px; 32 | border-radius: 0 5px 5px 0; 33 | } 34 | 35 | .task-list { 36 | margin-top: 3rem; 37 | } 38 | 39 | .card-pd input { 40 | background: transparent; 41 | } 42 | 43 | .navbar-nav { 44 | width: 100%; 45 | display: flex; 46 | justify-content: space-between; 47 | } 48 | 49 | .completed { 50 | margin: 0; 51 | } 52 | 53 | .completed { 54 | color: #fff; 55 | border-radius: 10px; 56 | padding: 5px 10px; 57 | background-color: #28a745; 58 | border-color: #28a745; 59 | } 60 | 61 | .completed span { 62 | font-weight: bold; 63 | margin-left: 10px; 64 | font-size: 1.12rem; 65 | } 66 | 67 | .todoCard { 68 | position: relative; 69 | background-color: white; 70 | border-radius: 6px; 71 | color: #000 !important; 72 | box-shadow: 0 0 5px 0 rgba(40, 6, 190, 0.5); 73 | color: #fff; 74 | border: none; 75 | } 76 | 77 | .res-form { 78 | visibility: hidden; 79 | } 80 | 81 | 82 | .music { 83 | position: absolute; 84 | top: 1rem; 85 | right: 1rem; 86 | padding: 5px 10px; 87 | border-radius: 10px; 88 | 89 | } 90 | 91 | .playsound { 92 | width: 20px; 93 | cursor: pointer; 94 | margin-right: 5px; 95 | } 96 | .noteDiv > div{ 97 | display: flex; 98 | justify-content: space-between; 99 | align-items: center; 100 | } 101 | 102 | .close { 103 | margin: 30px; 104 | z-index: 9999999; 105 | cursor: pointer; 106 | } 107 | 108 | .music p { 109 | font-weight: 600; 110 | margin-bottom: 0 !important; 111 | } 112 | 113 | .taskC { 114 | z-index: 111; 115 | background-color: rgba(0, 0, 0, 0.1); 116 | width: 100vw; 117 | height: 100vh; 118 | top: 0; 119 | left: 0; 120 | right: 0; 121 | position: absolute; 122 | backdrop-filter: blur(5px); 123 | } 124 | 125 | .taskComplete { 126 | max-width: 800px; 127 | height: 500px; 128 | margin: auto; 129 | overflow-y: scroll; 130 | overflow-x: hidden; 131 | } 132 | #pushComplete{ 133 | flex-direction: column; 134 | } 135 | #tskbox{ 136 | width: 90%; 137 | margin: auto; 138 | } 139 | .hide { 140 | display: none; 141 | } 142 | 143 | .open { 144 | display: block; 145 | } 146 | 147 | .title { 148 | margin-top: 4rem; 149 | font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; 150 | text-transform: uppercase; 151 | font-weight: 600; 152 | text-align: center; 153 | background: linear-gradient(180deg, rgb(234, 0, 255), rgb(82, 4, 228)); 154 | background-clip: text; 155 | -webkit-background-clip: text; 156 | -webkit-text-fill-color: transparent; 157 | } 158 | 159 | #pushNote { 160 | display: flex; 161 | justify-content: flex-start !important; 162 | } 163 | 164 | .card-text { 165 | font-size: 1.5rem; 166 | font-weight: 600; 167 | text-transform: capitalize; 168 | margin-bottom: 1rem; 169 | } 170 | 171 | @media (max-width: 991px) { 172 | .res-form { 173 | visibility: visible; 174 | } 175 | 176 | .completed { 177 | margin-top: 20px; 178 | } 179 | 180 | #pushNote { 181 | gap: 10px; 182 | flex-direction: column !important; 183 | justify-content: center; 184 | } 185 | .noteDiv > div{ 186 | flex-direction: column; 187 | } 188 | #tskbox{ 189 | margin-left: 0; 190 | } 191 | } 192 | i{ 193 | height: 30px; 194 | } 195 | 196 | .card-number{ 197 | position: absolute; 198 | top: 0; 199 | left: 10px; 200 | font-size: 2rem; 201 | opacity: 0.3; 202 | font-weight: 700; 203 | } 204 | .ncTask{ 205 | padding-left: 2rem; 206 | } 207 | .gap{ 208 | gap: 10px; 209 | } -------------------------------------------------------------------------------- /Task3/app.js: -------------------------------------------------------------------------------- 1 | const inputTask = document.querySelector('#inputTask'); 2 | let soundEffect = document.getElementById('sound'); 3 | let relaxingSound = document.getElementById('relax'); 4 | let allCompletedTask = document.getElementById('allCompletedTask'); 5 | let completedNumber = document.getElementById('completedNumber'); 6 | let rainy = document.getElementById('playSound'); 7 | let close = document.querySelector('.close'); 8 | let open = document.querySelector('.completed'); 9 | 10 | soundEffect.volume = .05; 11 | relaxingSound.volume = .5; 12 | open.addEventListener('click', () => { 13 | document.querySelector('.taskC').classList.add('open') 14 | }) 15 | close.addEventListener('click', () => { 16 | document.querySelector('.taskC').classList.add('hide') 17 | document.querySelector('.taskC').classList.remove('open') 18 | }) 19 | rainy.addEventListener('click', () => { 20 | if (!rainy.classList.contains('play')) { 21 | rainy.classList.add("play") 22 | rainy.src = "./pause-solid.svg" 23 | relaxingSound.src = "./relax.mp3"; 24 | relaxingSound.loop = true 25 | relaxingSound.play() 26 | console.log("Playing..."); 27 | } 28 | else { 29 | rainy.classList.remove("play") 30 | rainy.src = "./play-solid.svg" 31 | relaxingSound.src = ""; 32 | relaxingSound.pause() 33 | console.log("Paused"); 34 | } 35 | }) 36 | 37 | 38 | funcy(); 39 | inputTask.addEventListener('click', () => { 40 | let addNote = document.getElementById('addNote'); 41 | let localData = localStorage.getItem('taskSame'); 42 | 43 | localData == null ? alltask = [] : alltask = JSON.parse(localData); 44 | 45 | if (addNote.value) { 46 | alltask.push(addNote.value); 47 | soundEffect.src = "./ting.mp3" 48 | soundEffect.play() 49 | } 50 | localStorage.setItem('taskSame', JSON.stringify(alltask)); 51 | addNote.value = ""; 52 | funcy(); 53 | }); 54 | 55 | 56 | 57 | function funcy() { 58 | let localData = localStorage.getItem('taskSame'); 59 | let complTa = localStorage.getItem('completedTask'); 60 | let completedTask = localStorage.getItem('completedTask'); 61 | 62 | if (complTa == null) { 63 | completedNumber.innerText = 0; 64 | completedNumber.style.color = "red" 65 | complete = []; 66 | } 67 | else { 68 | complete = JSON.parse(complTa); 69 | completedNumber.innerText = JSON.parse(completedTask).length; 70 | } 71 | 72 | localData == null ? alltask = [] : alltask = JSON.parse(localData); 73 | 74 | let cpTask = JSON.parse(completedTask) 75 | let html = ''; 76 | let comp = ''; 77 | alltask.forEach((e, index) => { 78 | html += ` 79 |
80 |
81 |
${index + 1}
82 |

${e}

83 |
84 | 85 | 86 | 87 |
88 |
89 |
90 | ` 91 | }); 92 | 93 | let pushNote = document.getElementById('pushNote'); 94 | 95 | alltask.length != 0 ? pushNote.innerHTML = html : pushNote.innerHTML = `List is empty📃`; 96 | 97 | if (cpTask) { 98 | cpTask.forEach((e, index) => { 99 | comp += ` 100 |
101 |
102 |
${index + 1}
103 |

${e}

104 | 105 |
106 |
107 | ` 108 | }); 109 | } 110 | 111 | let compTask = document.getElementById('pushComplete'); 112 | 113 | cpTask != 0 ? compTask.innerHTML = comp : compTask.innerHTML = "

Ops, No task Completed📃

"; 114 | 115 | } 116 | 117 | function deleteTask(index) { 118 | let localData = localStorage.getItem('taskSame'); 119 | if (localData == null) { 120 | alltask = []; 121 | } 122 | else { 123 | alltask = JSON.parse(localData); 124 | } 125 | alltask.splice(index, 1); 126 | soundEffect.src = "./delete.mp3" 127 | soundEffect.play() 128 | localStorage.setItem('taskSame', JSON.stringify(alltask)); 129 | funcy(); 130 | }; 131 | 132 | function completedTaskFunc(index) { 133 | let localData = localStorage.getItem('taskSame'); 134 | let complTa = localStorage.getItem('completedTask'); 135 | if (localData == null) { 136 | alltask = []; 137 | } 138 | else { 139 | alltask = JSON.parse(localData); 140 | } 141 | if (complTa == null) { 142 | complete = []; 143 | } 144 | else { 145 | complTa = JSON.parse(complTa); 146 | } 147 | if (complTa) { 148 | complete.push(alltask.splice(index, 1)) 149 | soundEffect.src = "./delete.mp3" 150 | soundEffect.play() 151 | 152 | } 153 | localStorage.setItem('taskSame', JSON.stringify(alltask)); 154 | localStorage.setItem('completedTask', JSON.stringify(complete)); 155 | funcy(); 156 | }; 157 | function deleteCoomplete(index) { 158 | let complTa = localStorage.getItem('completedTask'); 159 | if (complTa == null) { 160 | complete = []; 161 | } 162 | else { 163 | complete = JSON.parse(complTa); 164 | } 165 | complete.splice(index, 1); 166 | soundEffect.src = "./delete.mp3" 167 | soundEffect.play() 168 | localStorage.setItem('completedTask', JSON.stringify(complete)); 169 | funcy(); 170 | }; 171 | 172 | function editTask(index) { 173 | let edit = prompt("Edit your task", alltask[index]); 174 | let editTask = document.getElementsByClassName('editTask')[index]; 175 | editTask.innerHTML = edit; 176 | alltask.splice(index, 1, edit); 177 | localStorage.setItem('taskSame', JSON.stringify(alltask)); 178 | funcy(); 179 | } -------------------------------------------------------------------------------- /Task2/style.css: -------------------------------------------------------------------------------- 1 | /* Import Font from Google */ 2 | @import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); 3 | /* Reset CSS */ 4 | * { 5 | margin: 0; 6 | padding: 0; 7 | box-sizing: border-box; 8 | } 9 | 10 | a { 11 | color: #000; 12 | text-decoration: none; 13 | } 14 | 15 | html { 16 | scroll-behavior: smooth; 17 | } 18 | 19 | body { 20 | font-family: Helvetica, "Libre Franklin", sans-serif; 21 | font-size: 1.2rem; 22 | line-height: 1.5; 23 | font-weight: 400; 24 | } 25 | 26 | img { 27 | max-width: 100%; 28 | } 29 | 30 | a { 31 | text-decoration: none; 32 | } 33 | 34 | h1 { 35 | font-size: 5rem; 36 | font-weight: 600; 37 | line-height: 1.2; 38 | letter-spacing: 10px; 39 | font-family: "Libre Franklin", sans-serif; 40 | } 41 | 42 | ul { 43 | margin: 0; 44 | padding: 0; 45 | list-style: none; 46 | } 47 | 48 | #scroll-down { 49 | font-family: "Libre Franklin", sans-serif; 50 | font-size: 2rem; 51 | position: absolute; 52 | bottom: 10px; 53 | padding: 1rem 2rem; 54 | border: none; 55 | border-radius: 5px; 56 | cursor: pointer; 57 | color: rgb(255, 255, 255); 58 | animation: upDown 1000ms linear infinite; 59 | } 60 | 61 | .up-down { 62 | display: flex; 63 | flex-direction: row; 64 | gap: 1.2rem; 65 | animation: upDown 1000ms linear infinite; 66 | position: absolute; 67 | bottom: 2rem; 68 | left: 10px; 69 | } 70 | .up-down i { 71 | color: #000; 72 | } 73 | 74 | @keyframes upDown { 75 | 0% { 76 | transform: translateY(0); 77 | } 78 | 50% { 79 | transform: translateY(10px); 80 | } 81 | 100% { 82 | transform: translateY(0); 83 | } 84 | } 85 | /* Common CSS */ 86 | .container { 87 | position: relative; 88 | max-width: 1200px; 89 | margin: 0 auto; 90 | padding: 0 15px; 91 | height: 100vh; 92 | display: flex; 93 | align-items: center; 94 | justify-content: center; 95 | flex-direction: column; 96 | } 97 | 98 | .bg-dark { 99 | color: #fff; 100 | background-color: #000; 101 | } 102 | 103 | .bg-light { 104 | color: #000; 105 | background-color: #fff; 106 | } 107 | 108 | .tribute-badge { 109 | align-self: flex-start; 110 | letter-spacing: 10px; 111 | font-family: "Libre Franklin", sans-serif; 112 | } 113 | 114 | .banner { 115 | background-image: url(https://imagensemoldes.com.br/wp-content/uploads/2020/10/Nikola-Tesla-PNG-791x1024.png); 116 | background-position: right 4rem; 117 | background-size: 50%; 118 | background-repeat: no-repeat; 119 | filter: saturate(0.5); 120 | display: flex; 121 | align-items: flex-start; 122 | justify-content: center; 123 | } 124 | 125 | .quote { 126 | display: flex; 127 | justify-content: space-between; 128 | align-items: center; 129 | } 130 | .quote div { 131 | flex: 1; 132 | } 133 | .quote .img-div { 134 | text-align: right; 135 | overflow: hidden; 136 | border-radius: 2rem; 137 | } 138 | 139 | .hidden { 140 | display: none; 141 | } 142 | 143 | @media screen and (max-width: 768px) { 144 | .container { 145 | padding: 2rem; 146 | } 147 | .quote { 148 | flex-direction: column; 149 | align-items: center; 150 | gap: 2rem; 151 | } 152 | .quote div { 153 | flex: auto; 154 | text-align: center; 155 | } 156 | } 157 | .biography { 158 | height: auto; 159 | padding: 3rem 2rem; 160 | } 161 | .biography .bio { 162 | margin-bottom: 8rem; 163 | } 164 | .biography .bio h4 { 165 | font-size: 1.2rem; 166 | text-transform: uppercase; 167 | margin-top: 2rem; 168 | color: aquamarine; 169 | } 170 | .biography .bio p { 171 | font-size: 1rem; 172 | } 173 | .biography h3 { 174 | font-size: 2rem; 175 | text-transform: uppercase; 176 | letter-spacing: 5px; 177 | margin-bottom: 10px; 178 | } 179 | .biography p { 180 | text-align: justify; 181 | letter-spacing: 2px; 182 | } 183 | .biography span { 184 | color: aquamarine; 185 | font-weight: bold; 186 | } 187 | .biography .up-down i { 188 | color: white; 189 | } 190 | 191 | #fourth-page { 192 | max-width: 900px; 193 | padding: 3rem 2rem; 194 | height: auto; 195 | } 196 | #fourth-page .container { 197 | padding: 2rem; 198 | } 199 | #fourth-page h3 { 200 | font-size: 2rem; 201 | text-transform: uppercase; 202 | letter-spacing: 5px; 203 | margin-bottom: 10px; 204 | } 205 | #fourth-page h3 span { 206 | color: rgb(0, 204, 255); 207 | } 208 | #fourth-page p { 209 | text-align: justify; 210 | letter-spacing: 2px; 211 | } 212 | #fourth-page span { 213 | font-weight: bold; 214 | } 215 | #fourth-page .up-down { 216 | left: -8.5vw; 217 | } 218 | #fourth-page .up-down i { 219 | color: rgb(0, 0, 0); 220 | } 221 | #fourth-page ul { 222 | position: relative; 223 | } 224 | #fourth-page li { 225 | position: relative; 226 | padding: 30px; 227 | border-radius: 5px; 228 | box-shadow: 0 2px 10px rgba(45, 45, 43, 0.15); 229 | margin-bottom: 40px; 230 | } 231 | #fourth-page .circle { 232 | display: block; 233 | border-radius: 50%; 234 | width: 20px; 235 | height: 20px; 236 | position: absolute; 237 | left: -30px; 238 | top: 50%; 239 | transform: translateY(-50%); 240 | background: rgb(0, 204, 255); 241 | } 242 | #fourth-page .line { 243 | position: absolute; 244 | left: -20px; 245 | top: 5rem; 246 | transform: translateY(40px); 247 | width: 2px; 248 | height: 89%; 249 | background: rgb(0, 204, 255); 250 | } 251 | #fourth-page .inv-title { 252 | font-size: 1.5rem; 253 | font-weight: 600; 254 | } 255 | #fourth-page .description { 256 | font-size: 1rem; 257 | font-weight: 400; 258 | margin-top: 10px; 259 | letter-spacing: normal; 260 | } 261 | 262 | .pQuote { 263 | font-size: 1rem; 264 | font-weight: 600; 265 | padding: 1rem; 266 | margin-bottom: 1rem; 267 | text-align: center; 268 | width: -moz-fit-content; 269 | width: fit-content; 270 | margin: auto; 271 | } 272 | .pQuote span { 273 | color: rgb(0, 204, 255); 274 | text-align: right; 275 | display: block; 276 | font-size: 0.8rem; 277 | } 278 | 279 | @media (max-width: 976px) { 280 | #fourth-page .up-down { 281 | left: 1rem !important; 282 | } 283 | .banner { 284 | background-position: right 5rem; 285 | background-size: 100%; 286 | } 287 | .banner::before { 288 | content: ""; 289 | position: absolute; 290 | z-index: -1; 291 | top: 0; 292 | left: 0; 293 | width: 100%; 294 | height: 100%; 295 | background: rgba(0, 0, 0, 0.5); 296 | } 297 | } 298 | @media (max-width: 668px) { 299 | .line { 300 | height: 90%; 301 | top: 6.5rem !important; 302 | } 303 | } 304 | @media (max-width: 550px) { 305 | .line { 306 | height: 90%; 307 | } 308 | .banner { 309 | background-position: right 10rem; 310 | } 311 | } 312 | @media (max-width: 450px) { 313 | .banner { 314 | background-position: right bottom; 315 | } 316 | .line { 317 | top: 10rem !important; 318 | height: 89% !important; 319 | } 320 | }/*# sourceMappingURL=style.css.map */ -------------------------------------------------------------------------------- /Task2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Tribute Page - Task 2 9 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 25 |
26 | 27 |
28 |
29 |
30 |
31 | Quote 32 |

“If you want to find the secrets of the universe, think in terms of energy, frequency and 33 | vibration.”

34 |
35 |
36 | 38 |
39 |
40 |
41 |
42 | 43 |
44 |
45 | 46 |
47 |
48 |
49 |
50 | 51 |
52 |
53 |

Biography

54 |

Nikola Tesla, (born July 9/10, 1856, Smiljan, Austrian Empire [now in Croatia]—died January 55 | 7, 1943, New York, New York, U.S.), Serbian American inventor and engineer who discovered and patented 56 | the rotating magnetic field, the basis of most alternating-current machinery. He also developed the 57 | three-phase system of electric power transmission. He immigrated to the United States in 1884 and sold 58 | the patent rights to his system of alternating-current dynamos, transformers, and motors to George 59 | Westinghouse. In 1891 he invented the Tesla coil, an induction coil widely used in radio technology.

60 | 61 |
62 |
63 |

Early Life

64 |

Famous Serbian-American inventor Nikola Tesla was born on July 10, 1856, in what is now Smiljan, Croatia. Tesla's interest in electrical invention was likely spurred by his mother, Djuka Mandic, who invented small household appliances in her spare time while her son was growing up. Tesla's father, Milutin Tesla, was a priest. After studying in the 1870s at the Realschule, Karlstadt (later renamed the Johann-Rudolph-Glauber Realschule Karlstadt); the Polytechnic Institute in Graz, Austria; and the University of Prague, Tesla began preparing for a trip to America.

65 |
66 |
67 |

Famed Inventor

68 |

Tesla came to the United States in 1884, and soon began working with famed inventor and business mogul Thomas Edison. The two worked together for a brief period before parting ways due to a conflicting business-scientific relationship, attributed by historians to their incredibly different personalities: While Edison was a power figure who focused on marketing and financial success, Tesla was a commercially out-of-tune and somewhat vulnerable, yet extremely pivotal inventor, who pioneered some of history's most important inventions. His inventions include the "Tesla coil," developed in 1891, and an alternating-current electrical system of generators, motors and transformers—both of which are still used widely today.

69 |
70 |
71 |

Death and Legacy

72 |

Poor and reclusive, Nikola Tesla died on January 7, 1943, at the age of 86, in New York City—where he had lived for nearly 60 years. His legacy, however, has been thriving for more than a century, and will undoubtedly live on for decades to come.

73 |

Several books and films have highlighted Tesla's life and famous works, including Nikola Tesla, The Genius Who Lit the World, a film created by the Tesla Memorial Society and the Nikola Tesla Museum in Belgrade, Serbia; and The Secret of Nikola Tesla, which stars Orson Welles as John Pierpont Morgan (J.P. Morgan). In recent years, a street sign entitled "Nikola Tesla Corner" was installed in honor of the famous inventor, near the 40th Street-6th Avenue intersection in New York City.

74 |
75 |
76 |
77 |
78 | 79 |
80 |
81 | 82 |
83 | 84 |
85 |
86 |
87 | 88 |
89 |
90 |

Greatest invention

91 |
92 |
93 |
94 | 95 | 96 |
    97 | 98 |
  • 99 | 100 |
    101 |
    102 |
    103 | 1899 104 |
    105 |
    106 |
    107 |
    108 |
    109 |

    Tesla coil

    110 |
    111 |
    112 |
    113 |
    114 |

    The system consists of two parts – a primary and 115 | secondary coil, both of which have their own capacitator (which stores 116 | electrical energy, like a battery). The primary coil is hooked up to a 117 | power source from which it receives a massive charge, to the point that 118 | the charge breaks the air resistance in the space between the two coils 119 | (known as the spark gap).

    120 |
    121 |
    122 |
    123 |
    124 |
  • 125 |
  • 126 | 127 |
    128 |
    129 |
    130 | 1913 131 |
    132 |
    133 |
    134 |
    135 |
    136 |

    Tesla turbine

    137 |
    138 |
    139 |
    140 |
    141 |

    Inspired by the emergent success of the piston engine 142 | in automobiles, Tesla decided to develop his own turbine-style engine. 143 | Also known as the boundary-layer turbine and cohesion-type turbine, 144 | Tesla’s turbine was distinct in its design. Unlike conventional turbines 145 | Tesla’s design was bladeless, instead employing smooth discs rotating in 146 | a chamber to generate movement.

    147 |
    148 |
    149 |
    150 |
    151 |
  • 152 |
  • 153 | 154 |
    155 |
    156 |
    157 | 1897 158 |
    159 |
    160 |
    161 |
    162 |

    Radio

    163 |
    164 |
    165 |
    166 |

    In early 1895 Tesla was ready to send a radio signal 167 | 50 miles, from his lab at 33 and 35 South Fifth Avenue in Manhattan, to 168 | West Point, NY but disaster struck before his ground-breaking test could 169 | be completed: a building fire destroyed Tesla’s lab, taking his work 170 | with it. A year later, Marconi took out his first wireless telegram 171 | patent in England. 172 |

    173 |
    174 |
    175 |
    176 |
    177 |
  • 178 |
  • 179 | 180 |
    181 |
    182 |
    183 | 1887 184 |
    185 |
    186 |
    187 |
    188 |

    Induction motor

    189 |
    190 |
    191 |
    192 |

    Like so much of Tesla’s work, the Magnifying 193 | transmitter was an expansion of his Tesla coil technology. Having set up 194 | a lab in Colorado Springs in 1899, he had the space and resources to 195 | create the biggest Tesla coil yet. He called this triple coil system the 196 | magnifying transmitter. It was 52 feet in diameter, generated millions 197 | of volts of electricity and produced 130-foot-long lightning bolts.

    198 |
    199 |
    200 |
    201 |
    202 |
  • 203 |
  • 204 | 205 |
    206 |
    207 |
    208 | 1902 209 |
    210 |
    211 |
    212 |
    213 |

    Magnifying transmitter

    214 |
    215 |
    216 |
    217 |

    Like so much of Tesla’s work, the Magnifying 218 | transmitter was an expansion of his Tesla coil technology. Having set up 219 | a lab in Colorado Springs in 1899, he had the space and resources to 220 | create the biggest Tesla coil yet. He called this triple coil system the 221 | magnifying transmitter. It was 52 feet in diameter, generated millions 222 | of volts of electricity and produced 130-foot-long lightning bolts.

    223 |
    224 |
    225 |
    226 |
    227 |
  • 228 |
  • 229 | 230 |
    231 |
    232 |
    233 | 1886 234 |
    235 |
    236 |
    237 |
    238 |

    Alternating current

    239 |
    240 |
    241 |
    242 |

    Arguably Tesla’s greatest contribution to humanity 243 | was his influence on the development of alternating current (AC). 244 | Perhaps it shouldn’t, strictly speaking, feature in a list of his 245 | inventions, but there’s no doubt that his technology was instrumental in 246 | the emergence of AC as the world’s dominant electrical system.

    247 |
    248 |
    249 |
    250 |
    251 |
  • 252 |
  • 253 | 254 |
    255 |
    256 |
    257 | 1878 258 |
    259 |
    260 |
    261 |
    262 |

    Hydroelectric power

    263 |
    264 |
    265 |
    266 |

    One of the most impressive products of Tesla’s 267 | partnership with George Westinghouse was surely Adams Power Station, the 268 | world’s first hydroelectric power plant. This innovative powerhouse 269 | realised a long-held hope that the awesome force of Niagara Falls, one 270 | of North America’s most spectacular natural wonders, could be harnessed. 271 |

    272 |
    273 |
    274 |
    275 |
    276 |
  • 277 |
  • 278 | 279 |
    280 |
    281 |
    282 | 1896 283 |
    284 |
    285 |
    286 |
    287 |

    The shadowgraph

    288 |
    289 |
    290 |
    291 |

    Another area of Tesla’s research that was likely 292 | curtailed by the fire that destroyed his New York lab in 1895 relates to 293 | the emergence of X-ray technology. Famously, German scientist Wilhelm 294 | Conrad Röntgen developed the first X-ray on the 8 November of that same 295 | year, a ground-breaking achievement that earned him the inaugural Nobel 296 | Prize in 1901.

    297 |
    298 |
    299 |
    300 |
    301 |
  • 302 |
303 | 304 | 305 | 306 |
307 |
308 |
309 |
310 | 311 |
312 |
313 | 314 |
315 |
316 |
317 | 318 |
319 |

I am equally proud of my Serbian origin and my Croatian fatherland.
Nikola 320 | Tesla

321 | 322 |
323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | --------------------------------------------------------------------------------