{"id":15099446,"url":"https://github.com/capjamesg/fill-mask-web-component","last_synced_at":"2026-02-21T09:30:57.306Z","repository":{"id":214214845,"uuid":"735981196","full_name":"capjamesg/fill-mask-web-component","owner":"capjamesg","description":"A HTML web component for filling missing words in sentences.","archived":false,"fork":false,"pushed_at":"2023-12-27T21:32:22.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T01:38:21.465Z","etag":null,"topics":["fill-mask","web-component"],"latest_commit_sha":null,"homepage":"https://capjamesg.github.io/fill-mask-web-component/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capjamesg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-26T16:31:24.000Z","updated_at":"2023-12-27T21:29:25.000Z","dependencies_parsed_at":"2023-12-27T22:44:34.018Z","dependency_job_id":null,"html_url":"https://github.com/capjamesg/fill-mask-web-component","commit_stats":null,"previous_names":["capjamesg/fill-mask-web-component"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/capjamesg/fill-mask-web-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Ffill-mask-web-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Ffill-mask-web-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Ffill-mask-web-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Ffill-mask-web-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capjamesg","download_url":"https://codeload.github.com/capjamesg/fill-mask-web-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capjamesg%2Ffill-mask-web-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29652541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fill-mask","web-component"],"created_at":"2024-09-25T17:21:19.417Z","updated_at":"2026-02-21T09:30:57.276Z","avatar_url":"https://github.com/capjamesg.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fill-mask-web-component\n\nA HTML web component for filling missing words in sentences.\n\nThis component is ideal for making interactive quizzes where the reader needs to fill in a word (i.e. fill in the missing song lyric, fill in the missing word from a quote).\n\n[Try the component](https://capjamesg.github.io/fill-mask-web-component/).\n\n## Demo\n\nHere is an example of the component in use:\n\nhttps://github.com/capjamesg/fill-mask-web-component/assets/37276661/216ec4ec-2701-4311-a039-72497f3d12dd\n\n## Setup\n\nTo use this component, first clone this repository:\n\n```\ngit clone https://github.com/capjamesg/fill-mask-web-component\ncd fill-mask-web-component/\n```\n\nCopy the `fillmask.js` file onto your own website.\n\nAdd the following code to theweb page where you want to use the component, before you want to use the component:\n\n```html\n\u003cscript src=\"./path/to/fillmask.js\"\u003e\u003c/script\u003e\n```\n\nYou can then add the component. To do so, add the following code:\n\n```html\n\u003cfill-mask text=\"The question pounds my head, what's a lifetime of [word].\" answer=\"achievement\"\u003e\u003c/fill-mask\u003e\n```\n\nReplace the `text` attribute with the text you want to add to the page. Use `[word]` to indicate what word you want to mask. You can only specify one word to mask. Then, set the `answer` attribute to be equal to the missing word.\n\n## License\n\nThis project is licensed under an [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapjamesg%2Ffill-mask-web-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapjamesg%2Ffill-mask-web-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapjamesg%2Ffill-mask-web-component/lists"}