As you pick out a flavor at your favorite local frozen yogurt shop, you overhear the management team discussing how they would like a way for customers to order online. You make small talk and offer your services to help them build a web app.
Build a website according to this user story:
Upon opening the website, a visitor receives a prompt to enter a list of comma-separated froyo flavors. They type
vanilla,vanilla,vanilla,strawberry,coffee,coffee
. In the browser console, they are able to see how many of each flavor they have ordered. In this case, they observe that they have ordered three vanilla, two coffee, and one strawberry.
There is no starter code for this workshop, but you are encouraged to review the solutions to previous workshops! Use the rubric in Canvas to guide you.
You can check your progress against these milestones if you would like some guidance on what to do next.
- Have you created an HTML file to live serve?
- Is the HTML file connected to a JS file?
- Can you prompt the user for froyo flavors and store their input?
- Can you parse the user input into an array of froyo flavors?
- Can you build an object to track which flavors you have counted so far?
- How should that object be updated as you iterate through the array of flavors?
- Are you using functions to organize your code?
- Do your variables and functions have meaningful names?
- Is your code formatted?
Please submit the link to your public GitHub repository.