Post and Get data following a new booking to stay consistent in the data model
Added some scss styling
Further outlined the destinations adding form
Issues
There's still probably a bit of code that should've been done in another branch, sorry, I will try to be better at staying on track. Solo projects are harder for that because nobody is relying on a specific iteration timeline, but I need to be better at focusing my commits to a specific branch as previously mentioned.
Some CSS is still not where I want it to be, and I need to refactor some of those mixins.
Having a harder time getting the accessibility audit to fire on the page with the login.
Probably could be less wasteful in recalling all users data each time, but I think doing it this way is fine when there's such a small data set, and it will enable dryer code with the agent class.
[x] DRY & SRP
[x] Tested Locally
[x] Accessibility Audited
Notes
I played around with Promise.all for the load of the page, both inside of a 'load' function and out, but I ended up running into weirdness being able to use my getData() function and due to time constraints, I abandoned that direction. I'm using some promises resolutions after the Post and Getting new data to be consistent with the data model, so I'm confident I can deploy those methods if I had to elsewhere.
To test use 'traveler(whateveruseridbetween1-50) and any password and then click the book a trip button if you want to see the form.
Changes
Issues
There's still probably a bit of code that should've been done in another branch, sorry, I will try to be better at staying on track. Solo projects are harder for that because nobody is relying on a specific iteration timeline, but I need to be better at focusing my commits to a specific branch as previously mentioned.
Some CSS is still not where I want it to be, and I need to refactor some of those mixins.
Having a harder time getting the accessibility audit to fire on the page with the login.
Probably could be less wasteful in recalling all users data each time, but I think doing it this way is fine when there's such a small data set, and it will enable dryer code with the agent class.
[x] DRY & SRP
[x] Tested Locally
[x] Accessibility Audited
Notes
use 'traveler(whateveruseridbetween1-50) and any password
and then click the book a trip button if you want to see the form.