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