This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="sun"></div> | |
| <div class="grass"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="sidebar"> | |
| <!-- This section shoudl be at the top--> | |
| <div class="section"> | |
| <div class="item">Messages</div> | |
| <div class="item">Friends</div> | |
| <div class="item">User Profile</div> | |
| </div> | |
| <!-- This section should be at the botto --> | |
| <div class="section"> | |
| <div class="item">Settings</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function countDown(seconds) { | |
| var i = seconds; | |
| var countDownTimer = setInterval(function() { | |
| console.log("Timer: ", i); | |
| i--; | |
| if(i === 0) { | |
| console.log("Ring Ring Ring!!!"); | |
| clearInterval(countDownTimer); | |
| } | |
| }, 1000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var XHR = new XMLHttpRequest(); | |
| /* | |
| 4 - Done | |
| 3 - headers | |
| XHR.onreadystatechange = function() { | |
| if(XHR.readyState == 4) { | |
| if(XHR.status == 200) { | |
| // responseText stores the data retrieved | |
| console.log(XHR.responseText); | |
| } else { |