Question: I need help For this assignment you will use your Recipe project as the source. 1. Counting Views - Use a persistent cookie to track

I need help

For this assignment you will use your Recipe project as the source.

1. Counting Views - Use a persistent cookie to track the number of times each recipe has been viewed.

2. Interest - Use a persistent cookie to track the average amount of time your customer looks at each recipe.

3. Create a page for your recipe project that will display the information about the recipes.

4. Demonstrate your updates to the class and discuss how you used the cookies.

Here is my code:

WDV321 Advanced Javascript - Dynamic Content and Structure Project

Grade Stuffs click to expand

A company is creating a website featuring a variety of recipes. They would like their recipes to have some dynamic functionality.

They are asking you to submit an example recipe format for their review. The following guidelines have been offered.

The recipe's displayable area should be broken down into three main areas. The heading, ingredient list and preparation instructions.

The recipe heading should:

  • Display the name of the recipe
  • An image of the product from the recipe
  • The number of servings for the recipe
  • The average preparation/cooking time for the recipe.
  • The recipe ingredient list should:

    • Should show when the customer clicks on something show the list.
    • Display a list of ingredients with quantity followed by the ingredient
    • Should allow the customer to change the quantities to half the servings, havling the quantities.
    • Should allow the customer to change the quantities to double the servings by doubling the quantities.
    • The user suggested a set of radio buttons for for half, normal, double but would be interested in seeing alternatives.
    • Be able to close the ingredient
    • The preparation instructions should:

      • Show when the customer clicks on something to show the instructions.
      • Make sure any quantity changes are reflected in this area as well.
      • Be able to close the instructions.
      • Crockpot Chili

        Preparation: 25 minutes

        Cooking: 6 hours

        Vegetarian
        Spicy
        Dairy Free

        Ingredients: click to expand

        2 tbsp. cooking oil

        1 cup onion

        1 cup chopped peppers

        4 tbsp. Chili powder

        1 tsp. Hot chili powder

        1 lb ground beef or chicken

        2 cans Red Beans

        2 cans Kidney Beans

        2 cans Tomato Puree

        2 cans Tomato Sauce

        1 cup shredded cheese

        1/2 cup sour cream

        Instructions: click to expand

        Heat cooking oil in 2 quart skillet.

        Saute onions and peppers for 5 minutes.

        Add spices and stir for 30 seconds.

        Add meat and cook until browned. Approximately 15 minutes.

        Pour contents of skillet into 3 quart crock pot.

        Rinse beans and place in crockpot.

        Open and pour Tomato puree and sauce into crock pot.

        Cover crockpot and cook on low for 6 hours.

        Serve into individual bowls and top with sour cream and cheese.

        Step by Step Solution

        There are 3 Steps involved in it

        1 Expert Approved Answer
        Step: 1 Unlock blur-text-image
        Question Has Been Solved by an Expert!

        Get step-by-step solutions from verified subject matter experts

        Step: 2 Unlock
        Step: 3 Unlock

        Students Have Also Explored These Related Databases Questions!