css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

"Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”."


  1. Heres my vanilla CSS interpretation: http://codepen.io/pixelass/pen/osxGt

    Running through elements though. FizzBuzz is just about the easiest thing to do with :nth-child(n) selectors.

    Have you seen my Mandelbrot-set in SCSS and Stylus ? You might like them.

  2. @graygilmore and @pixelass Awesome guys! Here's mine in one line of JS, as I am too lazy. http://codepen.io/ImagineProgramming/pen/rzste :)

  3. @ImagineProgramming - very nice! You can make it even shorter by doing a check for i%15 :D http://codepen.io/graygilmore/pen/96b998f919f29ab90253aa5af57aa79f/

    @pixelass – my brain didn't even think to go that way. I was so focused on single-language implementation. That mandlebrot is insane.

  4. @graygilmore derp, how did I not think about that haha! I modified it :p

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.