This is a solution to the Dictionary web app challenge on Frontend Mentor.
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: Persist chosen theme and font for next visits.
- Bonus: Have the correct color scheme chosen for them based on their computer preferences. Hint: Research
prefers-color-scheme
in CSS.
Desktop Light theme with Sans font
Mobile Light theme with Sans font
Desktop Dark theme with Sans font
Mobile Light theme with Sans font
- Solution URL: This Repo
- Live Site URL: Dictionary web app solution
- Solidjs - Simple and performant reactivity for building user interfaces
- Vite - Frontend Tooling
- Tailwindcss - For styles
In this project I was able to understand some of the Solidjs concepts - how to create and use context, how to use signals and Solijs helper components, also traing more about Tailwindcss dark mode.
- Github - @stgonzales
- LinkedIn - Stephen Goncalves
- Frontend Mentor - @stgonzales