FizzBuzz
Print numbers 1 to 20, but "Fizz" for multiples of 3 and "Buzz" for multiples of 5.
Use the modulus (%) operator.


Loading…
Loading Teki-SL…Need help? hello@tekisl.com
Games and coding challenges
A structured challenge arcade for coding practice, plus a safe doorway into TeKi-SL for Kids for younger learners.
Featured challenge
Print numbers 1 to 20, but "Fizz" for multiples of 3 and "Buzz" for multiples of 5.
Choose a level, language, and time commitment.
Starter code opens beside the challenge brief.
Progress is saved locally on this device.
Your progress
Loading local progress...
Languages
Beginner
Short wins for learners building confidence.
Print numbers 1 to 20, but "Fizz" for multiples of 3 and "Buzz" for multiples of 5.
Use the modulus (%) operator.
Take a word and print it backwards. Try it without a built-in reverse method.
Use a loop to build the reversed string character by character.
Given a sentence, count how many vowels (a, e, i, o, u) it contains.
Convert to lowercase first, then check each character.
From a list of numbers, print the biggest one without using max().
Keep a running maximum as you loop through the list.
Build a styled web page that displays "Kushe, Salone!" with your own CSS. Make it colourful.
Use the color and background-color CSS properties.
Take a number like 1234 and print the sum of all its individual digits (1+2+3+4=10).
Convert the number to a string, then loop over each character.
Intermediate
Practical tasks that combine logic, syntax, and debugging.
Check whether a word reads the same forwards and backwards.
Compare the word to its reversed version.
A page with an input for a bill amount and a button that shows a 10% tip. Extend it to let users choose 10%, 15%, or 20%.
Grab the input value, multiply by the percentage, and display the result.
Count how many times each unique word appears in a sentence. Print the top 3 most frequent.
Use a dictionary to keep count, then sort by value.
Build a timer that counts down from 60 seconds and shows "Time is up!" when it reaches zero.
Use setInterval and clearInterval in JavaScript.
Print the first 15 numbers of the Fibonacci sequence. Then find the first Fibonacci number greater than 1000.
Advanced
Longer problems for learners ready to structure a solution.
Given a list of items with names and prices, calculate the total, apply a 15% discount if the total is over 50, and print a receipt.
Use a list of dictionaries and string formatting for the receipt.
For children
Younger learners should use TeKi-SL for Kids, where games are designed around parent-managed profiles, child-friendly instructions, scores, stars, badges, and age-aware activities.