helper functions to display trip cards in dom-updates
styled site in order to display no-trip sections as well as trip sections, header, login, welcome
Added tests and passing classes for Agent
Outlined all button eventListeners, many of the functions within scripts, rough drafts of displays in dom-updates
Issues
I kept getting mad at css and doing other js that probably should've been in other branches, but I needed that logic break from the styling.
Booking form css is still a bit wonky after I failed to make it a popup from the bottom
Probably some areas to dry up css with mixins and inheritence.
Need to continue making the booking functional and add that display.
Not sure what tab-indexes to use or how to put those in with the aria labels for accessibility
[x] DRY & SRP
[x] Tested Locally
[x] Accessibility Audited
Notes
Passed accessibility audit with 100%
The method of instantiating all users seems overkill for when there will only be one traveler, but the travel agent may want them all so I'm instantiating them all as travelers.
To test, clone down, run npm install then npm test to see the tests for the classes, run the servers to deploy site to see the login use 'traveler(whateveruseridbetween1-50) and any password and then click the book a trip button if you want to see the form.
Changes
Issues
I kept getting mad at css and doing other js that probably should've been in other branches, but I needed that logic break from the styling.
Booking form css is still a bit wonky after I failed to make it a popup from the bottom
Probably some areas to dry up css with mixins and inheritence.
Need to continue making the booking functional and add that display.
Not sure what tab-indexes to use or how to put those in with the aria labels for accessibility
[x] DRY & SRP
[x] Tested Locally
[x] Accessibility Audited
Notes
npm install
thennpm test
to see the tests for the classes, run the servers to deploy site to see the loginuse 'traveler(whateveruseridbetween1-50) and any password
and then click the book a trip button if you want to see the form.