Skip to content

VolcanicInternet/kata-fizz-buzz-js-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥋⛩️ fizz-buzz-kata

Write a program that prints the numbers from 1 to 100, but if a number is a multiple of: * 3, print fizz instead of 3 * 5, print buzz instead of 5 * 3 and 5, print fizzbuzz

Sample output:

1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz
... etc up to 100

Install

Install all dependencies with:

  • npm i

Usage

Run the tests with:

  • npm run test:once => if you want ro run the tests only once
  • npm run test:watch => if you want ro keep test refreshing as you code

Directories:

|--src
   |---index.js
|--test
   |---index.test.js
|--package.json
|--README.md

This project was bootstrapped with kataclism.

Read the rest of the documentation here.

About

Kata - Fizz Buzz [JS Template]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published