https://github.com/capjamesg/fill-mask-web-component
A HTML web component for filling missing words in sentences.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.5%) to scientific vocabulary
Keywords
Repository
A HTML web component for filling missing words in sentences.
Basic Info
- Host: GitHub
- Owner: capjamesg
- License: mit
- Language: HTML
- Default Branch: main
- Homepage: https://capjamesg.github.io/fill-mask-web-component/
- Size: 5.86 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
fill-mask-web-component
A HTML web component for filling missing words in sentences.
This 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).
Demo
Here is an example of the component in use:
https://github.com/capjamesg/fill-mask-web-component/assets/37276661/216ec4ec-2701-4311-a039-72497f3d12dd
Setup
To use this component, first clone this repository:
git clone https://github.com/capjamesg/fill-mask-web-component
cd fill-mask-web-component/
Copy the fillmask.js file onto your own website.
Add the following code to theweb page where you want to use the component, before you want to use the component:
html
<script src="./path/to/fillmask.js"></script>
You can then add the component. To do so, add the following code:
html
<fill-mask text="The question pounds my head, what's a lifetime of [word]." answer="achievement"></fill-mask>
Replace 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.
License
This project is licensed under an MIT license.
Owner
- Name: James
- Login: capjamesg
- Kind: user
- Location: Scotland
- Company: @Roboflow
- Website: jamesg.blog
- Repositories: 320
- Profile: https://github.com/capjamesg
from words, wonder.
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| James | 3****g | 4 |
| James Gallagher | j****g@j****g | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0