Guest User

Untitled

a guest
Mar 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. # Beyonce Lyric Challege
  2.  
  3.  
  4. **Overview:**
  5.  
  6. You are going to create a series of functions that
  7. will print out Beyonce's "Single Ladies" to the console
  8.  
  9. **Steps & Rules**
  10.  
  11. 1. Find the repeating **lyrics** (whole song is in JavaScript Panel - there are 4 verses)
  12. 2. Create at least **4 functions** that consist of the song lyrics.
  13. 3. Use **console.log** to print lyrics to console. When you are done the whole song should be printed.
  14. 4. Each function should have a **parameter** that is used in the scope of the function once
  15. 5. **BONUS** - *Not In Any Order*
  16. - Call a function inside of a function
  17. - Create *1* global variable that will store all the lyrics lines and update dvLyrics in the UI
  18. - Use a for loop inside a function
Add Comment
Please, Sign In to add comment