Skip to content

Write a function named fizzBuzz that takes two(2) strings and returns Fizz if the combined length of the strings is divisible by 3, Buzz if it is divisible by 5, FizzBuzz if it is divisible by both 5 and 3 or the combined length of the list.

Notifications You must be signed in to change notification settings

JustineRobert/FizzBuzz-JavaScript-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

JavaScript challenge

FizzBuzz Challenge

Challenge Description

Write a function named fizzBuzz that takes two(2) strings and returns Fizz if the combined length of the strings is divisible by 3, Buzz if it is divisible by 5, FizzBuzz if it is divisible by both 5 and 3 or the combined length of the list.

LIVE DEMO 👇

https://jovial-lovelace-e0b3e6.netlify.app/

Procedure on the FizzBuzz usage

  1. Run the live Demo link above by clicking.

  2. Go to the browser just after run the live demo, Right click and select inspect and then click console and you are welcomed by the beautiful solution to this challenge.

I welcome positive and non-positive feedback with high appreciation!

About

Write a function named fizzBuzz that takes two(2) strings and returns Fizz if the combined length of the strings is divisible by 3, Buzz if it is divisible by 5, FizzBuzz if it is divisible by both 5 and 3 or the combined length of the list.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published