Small, example Elm application utilizing a dog breed API.
If you have elm-live use the following command from the repo directory:
elm-live src/Main.elm -- --optimize --output=app.js
If you'd like debug capabilities use the following:
elm-live src/Main.elm -- --output=app.js --debug
If you do not have elm-live
you can use elm reactor
:
elm reactor
Regardless of either approach, you will need to navigate to http://localhost:8000
.
If using elm-live
, you should see the home page.
If using elm reactor
you will need to click on src/Main.elm
.
- Accessibility - style the app utilizing WCAG
- Add ID's to appropriate elements -- can make testing easier with Browserstack/LogRocket/etc and also helps with Accessibility
- STYLING -- needs pizzazz
- Better error handling and communication to user.
- Display the breed selected to user on images page.
- Maybe refactor using query params for pagination.
- Better UI - Scroll back to top when clicking Next/Previous buttons.