{"id":19486301,"url":"https://github.com/textbook/fizzbuzz-js","last_synced_at":"2026-06-19T09:32:32.731Z","repository":{"id":79361302,"uuid":"137862616","full_name":"textbook/fizzbuzz-js","owner":"textbook","description":"Basic Fizz Buzz project set up for Ada College pairing exercise","archived":false,"fork":false,"pushed_at":"2018-06-19T08:29:41.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T01:47:40.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/rr1x0kwxq4?module=%2Fsrc%2Ffizzbuzz.test.js","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/textbook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-19T08:29:08.000Z","updated_at":"2018-06-19T09:55:24.000Z","dependencies_parsed_at":"2023-03-12T07:53:48.830Z","dependency_job_id":null,"html_url":"https://github.com/textbook/fizzbuzz-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/textbook/fizzbuzz-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Ffizzbuzz-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Ffizzbuzz-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Ffizzbuzz-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Ffizzbuzz-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/textbook","download_url":"https://codeload.github.com/textbook/fizzbuzz-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/textbook%2Ffizzbuzz-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34526065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T20:36:28.139Z","updated_at":"2026-06-19T09:32:32.701Z","avatar_url":"https://github.com/textbook.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nFizz Buzz\n=========\n\nRules\n-----\n\nThe rules for Fizz Buzz are as follows:\n\n - If a number is divisible by 3 (e.g. `3`, `6`, `9`), return `\"Fizz\"`;\n\n - If a number is divisible by 5 (e.g. `5`, `10`), return `\"Buzz\"`;\n \n - If a number is divisible by both 3 and 5 (e.g. `15`), return `\"Fizz Buzz\"`; and\n \n - If none of the above applies (e.g. `1`), return the number as a string (e.g. `\"1\"`).\n\nTest-Driven Development\n-----------------------\n\nThe rules of test-driven development (TDD) are as follows:\n\n 1. **Red**: Always start with a failing test, in this case:\n \n         java.lang.AssertionError: \n         Expected: \"1\"\n              but: was null\n              \n    Pro tip: *always read the error* before moving on to the next step, it may not be what you were expecting.\n\n 2. **Green**: Write the simplest code required to make the test pass; then\n\n 3. **Refactor**: Consider whether you need to rewrite any part of your code or tests, e.g. to make it easier to follow.\n\nOnce you're happy with your solution so far, return to step 1 and continue until the task is complete.\n\nPair programming\n----------------\n\nThe point of the exercise is to solve the problem *as a pair*, so that you both understand all of the code you've\nwritten. If you want any pointers, the content of the presentation is available online [here][blog].\n\n [blog]: https://blog.jonrshar.pe/2017/Oct/13/ada-college-pairing.html\n [intellij]: https://www.jetbrains.com/idea/download\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextbook%2Ffizzbuzz-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftextbook%2Ffizzbuzz-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftextbook%2Ffizzbuzz-js/lists"}