JS Bootcamp Challenge

JS Bootcamp Challenge
0

#1

Okay, so I’ve been working on this challenge for days, and it’s time to swallow my pride. Any insight is greatly appreciated:

"For this Challenge, you must print out a particular set of numbers and words. You can start with this Simple Code. You’ll need to modify the code to:

Print out the Integers from 1 - 20
For any multiples of 3, instead of the number, print out “Awe”
For any multiples of 5, instead of the number, print out “Some”
For any multiples of 3 and 5, instead of the number, print out “Awesome”

The output should look like this:
1
2
Awe
4
Some
Awe

Formatting (line spaces, capitalization, etc) is not as important as having a functional solution. Your solution should be easily modifiable to handle various ranges (eg instead of 1-20, do 10 - 100). The sample code provides an “append” function that enables you to print your output to the Result section in JSFiddle. We’ll also accept solutions that use console.log()."


#2

Never mind, I think I’ve got it!


#3

Hey, how did you solve it?