Skip to content

Instantly share code, notes, and snippets.

@joshuamabina
Last active December 22, 2025 20:50
Show Gist options
  • Select an option

  • Save joshuamabina/b206009667215c0f671391f15590be5b to your computer and use it in GitHub Desktop.

Select an option

Save joshuamabina/b206009667215c0f671391f15590be5b to your computer and use it in GitHub Desktop.
Web TDD Exercises

TDD exercises

This is a curated set of programming exercises focused on building web applications with JavaScript.

It is designed for developers who are still gaining confidence and want to develop solid habits early.

The work is done using test-driven development, with an emphasis on refactoring and clean, maintainable code throughout.

TODO: Difficulty level and concepts applied.

Supermarket pricing

See: http://codekata.com/kata/kata09-back-to-the-checkout/

A binary chop

See: http://codekata.com/kata/kata02-karate-chop/

Bubble sort

See: https://en.wikipedia.org/wiki/Bubble_sort

Social networking kata

See: https://github.com/sandromancuso/social_networking_kata

Shopping Basket

See: https://github.com/sandromancuso/shopping-basket

The birthday greetings kata

See: https://matteo.vaccari.name/blog/archives/154

Salary slip kata

See: https://github.com/sandromancuso/salaryslipkata

Tire pressure monitoring system exercise

See: https://github.com/emilybache/Racing-Car-Katas/tree/main

FizzBuzz

See: https://github.com/emilybache/Racing-Car-Katas/tree/main

Diamond

See: https://codingdojo.org/kata/Diamond/

Quote of the day

See: https://codingdojo.org/kata/QotdCgi/

Christmas tree

See: https://www.codurance.com/katas/build-a-christmas-tree

Numbers to words

See: https://tddbuddy.com/katas/numbers-to-words.html

Rock paper scissors

See: https://tddbuddy.com/katas/rock-paper-scissors.html|

Task list

See: https://tddbuddy.com/katas/todo-list.html

Tic Tac Toe

See: https://tddbuddy.com/katas/tic-tac-toe.html

Memory cache

See: https://tddbuddy.com/katas/memory-cache.html

Parking lot

See: https://tddbuddy.com/katas/parking-lot.html

Library management

See: https://tddbuddy.com/katas/library-management.html

Bouding Box Calculation

See: Calculate bounding box width and height from given coordinates(x,y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment