Tiffany's public fiddles
-
Wikipedia Tutorial
Wikipedia Tutorial Starter
-
Scroll Down Anchor Button
Scroll Down Anchor Button
-
1xwve0sf
No-Library (pure JS), HTML, CSS, JavaScript
-
r2shqLk0
No-Library (pure JS), HTML, CSS, JavaScript
-
Century from Year
Given a year, return the century it is in. The first century spans from the year 1 up to and including the year 100, the second - from the year 101 up to and including the year 200, etc.
-
px635930
No-Library (pure JS), HTML, SCSS, JavaScript
-
nucLptkp
No-Library (pure JS), HTML, CSS, JavaScript
-
Falsy Bouncer
Remove all falsy values from an array. Falsy values in JavaScript are false, null, 0, "", undefined, and NaN.
-
Mutations
Return true if the string in the first element of the array contains all of the letters of the string in the second element of the array.
-
Slasher Flick
Return the remaining elements of an array after chopping off n elements from the head. The head means the beginning of the array, or the zeroth index.
-
Chunky Monkey
Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a two-dimensional array.
-
Repeat a string repeat a string
Repeat a given string (first argument) num times (second argument). Return an empty string if num is not a positive number.
-
Confirm the Ending
Check if a string (first argument, str) ends with the given target string (second argument, target). This challenge can be solved with the .endsWith() method, which was introduced in ES2015. But for the purpose of this challenge, we would like you to use one of the JavaScript substring methods instead.
-
Return Largest Numbers in Arrays
Return an array consisting of the largest number from each provided sub-array. For simplicity, the provided array will contain exactly 4 sub-arrays.
-
Title Case a Sentence
Return the provided string with the first letter of each word capitalized. Make sure the rest of the word is in lower case. For the purpose of this exercise, you should also capitalize connecting words like "the" and "of".
-
Find the Longest Word in a String
Return the length of the longest word in the provided sentence. Your response should be a number.
-
Check for Palindromes
Return true if the given string is a palindrome. Otherwise, return false.
-
Factorialize a Number
Return the factorial of the provided integer. If the integer is represented with the letter n, a factorial is the product of all positive integers less than or equal to n. Factorials are often represented with the shorthand notation n! For example: 5! = 1 * 2 * 3 * 4 * 5 = 120
-
Reverse a String, freeCodeCamp
Reverse the provided string. You may need to turn the string into an array before you can reverse it. Your result must be a string.
-
Reverse Arrays with reverse
Use reverse to reverse the array variable and assign it to newArray.