Skip to content

A simple front-end website that makes API calls to a dictionary and returns selected information

Notifications You must be signed in to change notification settings

benmpark/dictionary-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dictionary-website

A simple front-end website that makes API calls to a dictionary and returns selected information

Overview

This repository has the files for a basic (but useful) website through which you can look up the meaning and origin of a word. The site makes API calls to the Merriam-Webster dictionary and process the JSON response before updating the content on the page.

Files Included

  • index.html
  • style.css
  • script.js
  • images (folder with the necessary images)

Once all the above are in the same directory, the website can be launched by opening index.html in any web browser.

Some Included Features

  • provides the definition and (where available) the word origin (and date)
  • displays pronunciation(s)
  • if a word is misspelled-but-close-enough, clickable suggestions will be offered
  • if a word has a meaning flagged as offensive, a warning will be displayed first (try inputting curse words!)
  • fun easter eggs when you hover on different parts of the page

License

MIT License

Copyright (c) 2023 Benjamin Park

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple front-end website that makes API calls to a dictionary and returns selected information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published