A simple weather widget built for a technical test.
- Add Error Boundries.
- Make API key private (see).
- Show night/day icons.
- Deploy to GH Pages.
- Tests.
- Loading placeholder for icon.
- Favicon.
- stylelint.
- Local storage.
- Add a page reload button to
EditorWidget
to give option to refresh location. - Set focus to relevant element when view loads.
- Use TypeScript.
- Swap out the
.png
icons for custom SVG icons that I'd render inline. - Add Storybook.
- Fallback for browsers that don't support Geolocation API, use IP Lookup (see).
- I added a page title (
<h1>
) as I felt it improved the UX.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.