This challenge involves building a dictionary web app using the Free Dictionary API and get it looking as close to the design as possible.
Users should be able to:
- Search for words using the input field
- See the Free Dictionary API's response for the searched word
- See a form validation message when trying to submit a blank form
- Play the audio file for a word when it's available
- Switch between serif, sans serif, and monospace fonts
- Switch between light and dark themes
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Bonus: Have the correct color scheme chosen for them based on their computer preferences. Hint: Research
prefers-color-scheme
in CSS.
- Clone the repository.
- Install dependencies:
npm install
- Start the development server:
npm run dev
- TypeScript
- React
- Styled Components
- react-select
- Mobile-first workflow
- CSS custom properties
- Flexbox
- Solution URL: https://github.com/MitaliShah/dictionary-ts
- Live Site URL: https://willowy-palmier-f2948f.netlify.app/