Wordly Dictionary SPA is a Single Page Application (SPA) that allows users to search for English words and instantly view their meanings, pronunciations,audio pronunciation, examples, synonyms and source information. The application uses the Free Dictionary API to reveal real-time dictionary data without refreshing the page.
- Search for English words.
- View Definitions
- Display parts of speech
- Listen to pronunciation audio(when available)
- View pronunciation text
- Display example sentences
- View synonyms
- Save favorite words using localStorage
- Remove saved favorites
- Click a favorite word to search for it again
- Light/Dark theme toggle
- Error Handling
- Responsive design for desktop and mobile devices
- HTML
- CSS
- JavaScript
- Free Dictionary API
- Local Storage
├── index.html
├── css/
│ └── style.css
├── js/
│ └── index.js
├── assets/
│ ├── wordlyscreenshot1.png
│ ├── wordlyscreenshot2.png
│ └── wordlyscreenshot3.png
└── README.md
- Clone the repository
git clone git@github.com:modidi/dictionary-app.gitor download the ZIP file
-
Open the project folder
-
Open index.html in your browser
OR
Open the project using Live Server in Visual Studio Code.
-
Enter an English word in the search box.
-
Click Search.
This project uses the Free Dictionary API.
Endpoint format: ``` https://api.dictionaryapi.dev/api/v2/entries/en/{word}
The API provides:
- Definitions
- Parts of speech
- Pronunciation text
- Audio pronunciation
- Example sentences
- Synonyms
- Source links
- Enter a word
- Click Search
- View the returned dictionary information.
- Play Pronunciation audio if available.
- Save the word as a favorite.
- Remove saved favorites whenever needed.
- Toggle between Light and Dark Mode.
https://modidi.github.io/dictionary-app/
https://github.com/modidi/dictionary-app
- Some words may not have pronunciation audio.
- Some words may not include example sentences.
- Some words may not contain synonyms.
- The application currently supports English words only because of the API.
Maureen Mutua
Github:
https://github.com/modidi
This project was created for educational purposes.


