8000 GitHub - chriseborowski/fizz-buzz-challenge: FizzBuzz: Classic live coding interview question written in JavaScript
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chriseborowski/fizz-buzz-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FizzBuzz coding challenge in JavaScript

View demoReport bugRequest featureDM author

Live demo

About

Hailed as a canonical live coding interview question, FizzBuzz is here, written in JavaScript!

Sample prompt:

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" (source: CodingHorror)

For a live demo of the project on Replit, click here.

For a video clip demonstrating how the code works, click here.

Getting started

  1. Clone the repository to your machine

git clone https://github.com/chriseborowski/fizz-buzz-challenge.git

  1. Run the code in your preferred code editor (e.g., VSCode) or Terminal/Bash window (sample code below)

node fizzbuzz.js

Edit or adjust the code according to your needs.

License

Distributed under the MIT License. See license.txt for more information.

Contact

Chris Borowski

Follow me @chriseborowski on GitHubTwitterT2LinkedInLinktree (all links)

Project repository link: FizzBuzz coding challenge

Releases

No releases published

Packages

No packages published
0