Created
June 4, 2017 21:02
-
-
Save jonsamp/3585525974a4f20e95a05c2cafe63ad5 to your computer and use it in GitHub Desktop.
JavaScript Tips Tab: generateTip II
This file contains 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 generateTip() { | |
var tip = tipsList[generateNumber()]; | |
var tipElement = document.querySelector('.js-tip'); | |
tipElement.innerHTML = tip; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment