Built for husbands to weather the storm during Covid-19 quarantine. ![alt text] {https://lh3.googleusercontent.com/proxy/pow_LsojMKsjwTLzchcrAmrH21_f9oa4H3QBQkzCWlBPvg3mxDg2GUchNO-qcL00bXdpnORyKRBsIFl1cxf030AxfF7N-M3hMkrar9YsAUxhiU306mInGMRD "Husbands Shopping for Wives) This is also built for people who are new to cooking, and need ideas for home-cooked food. This place will display recipes and ingredients in grocies list.
- Define a problem statement faced by most work-from-home individuals, couples and families
- Drafted a layout of the app with basic functions like instructions, buttons, recipe links, as well as display of groceries
- Understand how recipe API works with AJAX from the data structure
- Make flexbox work for each section
- HTML and CSS
- jQuery to manipulate DOM elements
- AJAX to call and fetch data from open source APIs
- Javascript for the loop logic
- Flexbox to make website responsive
I find it hard to refactor the code into higher-order functions. A lot of dependencies on parameters that is defined within the loop.
Updated: HOF now works. Deeper understanding of parameters and arguments, amended the code and fixed the initial problems
As a user, I should first be able to know how to navigate the page.
Requirement
- Add modal
- Add open and close button
Then, I will need to input the desired dish.
Utilized APIs
Requirement
- Input bar to get the keywords of the dish
- With the keyword, the first three recipes will be displayed as cards
- The cards should be able to have 2 buttons: direct users to the link of the recipe, and add ingredients into "Groceries List"
With the selected recipe, I should be able to put the ingredients into to-do list
Utilized APIs
Requirement
- Transform ingredients data into to-do: display all ingredients as to-do
- I should be able to delete the ingredients when see fit
- Once done, I should be able to know
Wishlist
- Change to-do list via calendar (change to-do list to .cal) for grocery shopping
- There should be a timer as reminder to consume purchased groceries within 2 weeks.
- The layout can be better, when all elements are displayed in one-screen. When clicked, it should be able to enlarge as a modal
Limitations
- Flexbox was not optimized fully for the sections