Please visit this site on a desktop computer.

Bake great cookies

3 classic easy cooking recipes & one Webflow + jQuery tutorial *
* This website is made with Webflow and is a demo on how to set a cookie using Jquery, and use it to show a popup message or not.
If you haven't seen a popup when loading this site, it's because the cookie is already set and active. Load this site in an Incognito window (private session) or clear your cookies, to load the popup again.
See how the Webflow Cookie Template is madeDuplicate it
When this page loads, a script checks if a valid cookie named "alert" already exists. If there is no such cookie, the script then shows a hidden element with the class .popup-overlay by giving it the CSS property display:block.

Here is the script:

<script>
_$(document).ready(function(){
  if (!$.cookie('alert')) {  
    $('.popup-overlay').show();    
    var date = new Date();      
    date.setTime(date.getTime() + 24 * 60 * 60 * 1000);  
    $.cookie('alert', true, { expires: date });
   }
});
</script>

In the script, you only need to make sure that .popup-overlay reflects the class name of the element you need to show when no cookie is found. In your page, once you have designed the popup element, give it display:none.
Just before the script, you need to call a Jquery library containing the .cookie function:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script>

The scripts must be placed in the Before /body custom code field, in the page settings panel.
To easily test your work with cookies, use a private session widow in your browser. The cookies are set for one session. Every time you close a session and open a new one, you start over and the popup shows up.

Chocolate chips cookies

Ingredients

  • 1 cup butter, softened
  • 1 cup packed brown sugar
  • 2 eggs
  • 2 teaspoons vanilla extract
  • 3 cups all-purpose flour
  • 1 teaspoon baking soda
  • 2 teaspoons hot water
  • 1/2 teaspoon salt
  • 2 cups semisweet chocolate chips
  • 1 cup chopped walnuts

Preheat oven to 350 degrees F (175 degrees C). Cream together the butter, white sugar, and brown sugar until smooth. Beat in the eggs one at a time, then stir in the vanilla. Dissolve baking soda in hot water. Add to batter along with salt. 

Stir in flour, chocolate chips, and nuts. Drop by large spoonfuls onto ungreased pans.

Soft Chocolate Chip Cookies

Ingredients

  • 4 1/2 cups all-purpose flour
  • 2 teaspoons baking soda
  • 2 cups butter, softened
  • 1 1/2 cups packed brown sugar
  • 1/2 cup white sugar
  • 2 (3.4 ounce) packages instant vanilla pudding mix
  • 4 eggs
  • 2 teaspoons vanilla extract
  • 4 cups semisweet chocolate chips
  • 2 cups chopped walnuts 

Set the oven to 350 degrees F (175 degrees C). Sift together the flour and baking soda, set aside. In a large bowl, cream together the butter, brown sugar, and white sugar. Beat in the instant pudding mix until blended. Stir in the eggs and vanilla. Blend in the flour mixture. Finally, stir in the chocolate chips and nuts. Drop cookies by rounded spoonfuls onto ungreased cookie sheets.

Bake for 10 to 12 minutes in the preheated oven. Edges should be golden brown.

Peanut Butter Cup Cookies

Ingredients

  • 1 3/4 cups all-purpose flour
  • 1/2 teaspoon salt
  • 1 teaspoon baking soda
  • 1/2 cup butter, softened
  • 1/2 cup white sugar
  • 1/2 cup peanut butter
  • 1/2 cup packed brown sugar
  • 1 egg, beaten
  • 1 teaspoon vanilla extract
  • 2 tablespoons milk
  • 40 miniature chocolate covered peanut butter cups, unwrapped

Oven to 375 degrees F first (190 degrees C). Sift together the flour, salt and baking soda; set aside. Cream together the butter, sugar, peanut butter and brown sugar until fluffy. Beat in the egg, vanilla and milk. Add the flour mixture; mix well. Shape into 40 balls and place each into an ungreased mini muffin pan.

Bake at 375 degrees for about 8 minutes. Remove from oven and immediately press a mini peanut butter cup into each ball. Cool and carefully remove from pan.

Soft Christmas Cookies

Ingredients

  • 3 3/4 cups all-purpose flour
  • 1 teaspoon baking powder
  • 1/2 teaspoon salt
  • 1 cup margarine, softened
  • 1 1/2 cups white sugar
  • 2 eggs
  • 2 teaspoons vanilla extract

First sift flour, baking powder, and salt together, set aside. In a large bowl, cream together the margarine and sugar until light and fluffy. Beat in the eggs one at a time, then stir in the vanilla. Gradually blend in the sifted ingredients until fully absorbed. Cover dough, and chill for 2 hours.

Preheat oven to 400 degrees F (200 degrees C). Grease cookie sheets. On a clean floured surface, roll out small portions of chilled dough to 1/4 inch thickness. Cut out shapes using cookie cutters.

Bake 6 to 8 minutes in the preheated oven, or until edges are barely brown. Remove from cookie sheets to cool on wire racks.