An interactive dictionary web application that fetches word definitions, examples, synonyms, and pronunciations using the Free Dictionary API.
- 🔍 Word Search — Type any English word and press Enter
- 📚 Definitions — Get detailed word meanings
- 💬 Examples — See words used in context
- 🔗 Synonyms — Discover related words (clickable!)
- 🔊 Pronunciation — Listen to audio pronunciation
- 🎨 Clean UI — Modern, minimalist design
Visit the live demo
-
Clone the repository:
git clone https://github.com/RaulAbakarov/DictionaryWebApp.git cd DictionaryWebApp -
Open
index.htmlin your browser
DictionaryWebApp/
├── index.html # Main HTML structure
├── script.js # API calls and DOM manipulation
├── style.css # Styling
└── source/ # Additional assets
Uses the Free Dictionary API:
fetch(`https://api.dictionaryapi.dev/api/v2/entries/en/${word}`)- Async/Await for API calls
- Dynamic DOM updates
- Audio playback for pronunciations
- Error handling for unknown words
| Feature | Description |
|---|---|
| Search | Enter any word and press Enter |
| Results | View definition, phonetics, examples |
| Audio | Click speaker icon to hear pronunciation |
| Synonyms | Click any synonym to search it |
- Type a word in the search box
- Press
Enterto search - View the definition, part of speech, and phonetics
- Click 🔊 to hear pronunciation
- Click on synonyms to explore related words
This project is open source and available under the MIT License.
Raul Abakarov — GitHub | LinkedIn
⭐ Found this useful? Give it a star!