https://github.com/bakna2t/engword
Small english dictionary
https://github.com/bakna2t/engword
Last synced: 3 months ago
JSON representation
Small english dictionary
- Host: GitHub
- URL: https://github.com/bakna2t/engword
- Owner: bakNa2t
- Created: 2023-03-15T08:52:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T06:25:52.000Z (over 1 year ago)
- Last Synced: 2023-12-22T19:19:52.464Z (over 1 year ago)
- Language: CSS
- Size: 452 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
English dictionary
#### What has been implemented:
- used [Free Dictionary API](https://dictionaryapi.dev/) to fetch data from server
- JS allows catch error if a `word` wasn't found `try {} catch()` block
- used `innerHTML` to display the meaning and pronunciation
- if the word isn't found then an error message is displayed
- the dictionary allows to get the meaning of english words and their pronunciation
- handle error if the search word doesn't exist and display information message word `The word was not found`
- if `input` search box is empty then an error message is displayed
- displayed `throbber loader` while fetching data from server
- click here to try => English Dictionary---
![]()