{"id":24740496,"url":"https://github.com/derektypist/anagrams","last_synced_at":"2026-04-12T10:34:42.700Z","repository":{"id":100100415,"uuid":"379883595","full_name":"derektypist/anagrams","owner":"derektypist","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-24T12:41:09.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T12:34:03.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/derektypist.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,"zenodo":null}},"created_at":"2021-06-24T10:14:02.000Z","updated_at":"2021-06-24T12:41:12.000Z","dependencies_parsed_at":"2023-05-12T07:30:21.604Z","dependency_job_id":null,"html_url":"https://github.com/derektypist/anagrams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derektypist/anagrams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derektypist%2Fanagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derektypist%2Fanagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derektypist%2Fanagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derektypist%2Fanagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derektypist","download_url":"https://codeload.github.com/derektypist/anagrams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derektypist%2Fanagrams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28132984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-30T02:00:05.476Z","response_time":64,"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":"2025-01-27T23:24:06.672Z","updated_at":"2026-04-12T10:34:42.694Z","avatar_url":"https://github.com/derektypist.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anagrams\n\nAccording to Wikipedia, an **anagram** is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.  For example, the word mile can be rearranged into lime, also the word car into arc and the word team into mate.  The purpose of the project is to investigate if the first word is an anagram of the second word using form inputs.\n\n## UX\n\nAs a user, I expect the placeholder to be included in every text input.\n\nAs a user, when I hover over the input field, I expect a screentip showing what I need to do.\n\nAs a user, if I do not enter the first word or second word or both words, I expect an error message. For example:\n\n`Invalid Input\nThe first word cannot be blank`\n\nAs a user, if I enter the something in the first word field and I enter something in the second word field equal to what the first word is, regardless of case (e.g. First word Bus, Second word bus), I expect an error message.\n\n`Invalid Input\nThe two words cannot be the same`\n\nAs a user, if my inputs are valid I expect to see something like:\n\n`Your inputs\nFirst word is car\nSecond word is arc\ncar is an anagram of arc`\n\nAs a user, if I submit the words mile and lime, I expect mile to be an anagram of lime and vice versa.\n\nAs a user, if I submit the words Ash and has, I expect Ash to be an anagram of has and vice versa.\n\nAs a user, if I submit the words pool and pole, I expect pool not to be an anagram of pole and vice versa.\n\nAs a user, if I submit words of unequal length (e.g. torch has length of 5 and par has length of 3), I expect that the first word is not an anagram of the second word.\n\nAs a user, when I click on the Reset Button, I expect the information to be clear.\n\n### Information Architecture\n\nThe two words are strings.  The function `isAnagram` takes two parameters, `word1` and `word2`.  It returns `true` or `false`.  If the length of `word1` is not the same as `word2`, return false.  If the length of the first word is equal to the length of the second word, each word is converted to lower case.  Each letter of each word is sorted into alphabetical order, (e.g. lime is eilm).  If the sorted words are identical, it returns true.\n\n## Features\n\nForm Validation.  Make sure that the first word is not the same as the second word, regardless of case.  Viewing of First and Second Words Entered.  Checking if the First Word is an anagram of the Second Word. \n\n## Technologies\n\nUses HTML5, CSS3, JavaScript, Bootstrap 5.0.2 and Google Fonts.\n\n## Testing\n\nEnsure that all user stories have been met.\n\n## Deployment\n\nDeployed on [GitHub Pages](https://derektypist.github.io/anagrams) at the main branch.\n\n## Credits\n\n### Content\n\nWritten by myself.\n\n### Acknowledgements\n\nDictionary (including Wikipedia) on an Apple Mac.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderektypist%2Fanagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderektypist%2Fanagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderektypist%2Fanagrams/lists"}