Click Here to check out the website!
- HTML
- JavaScript
- CSS
This is a webpage that will change the numbers 1, 2, and 3 and change them to "beep!", "boop!", and "won't you be my neighbor?"
- Clone git repository
- Open html file named index.html in a web browser
Describe: rogersNumbers();
Test: "It should turn the number into an array of strings counting up from 0 to the inputted number"
Code: rogersNumbers(5);
Expected Output: [0,1,2,4,5];
Describe: rogersSpeaks();
Test: "if number contains 1 -> returns beep!
if number contains 2 -> returns boop!
if number contains 3 -> returns won't you be my neighbor?
else -> it returns the number"
Code: rogersSpeaks(5);
Expected Output: [0, beep!, boop!, won't you be my neighbor?, 4, 5]
Describe: rogersPrints();
Test: "It should create li and ul html tags, while also printing the output"
Code: rogersPrints(5);
Expected Output: [0, beep!, boop!, won't you be my neighbor?, 4, 5]
- none
MIT Copyright (c) Yoonis Ali