<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joy + OliverChocolate Chip Cookie Dough Balls - Joy + Oliver</title>
	<atom:link href="https://joyoliver.com/chocolate-chip-cookie-dough-balls/feed/" rel="self" type="application/rss+xml" />
	<link>https://joyoliver.com/chocolate-chip-cookie-dough-balls/</link>
	<description>Dessert &#38; Entertaining Blog</description>
	<lastBuildDate>Wed, 22 Apr 2026 16:09:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	
	<item>
		<title>Chocolate Chip Cookie Dough Balls</title>
		<link>https://joyoliver.com/chocolate-chip-cookie-dough-balls/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chocolate-chip-cookie-dough-balls</link>
		<enclosure url="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-683x1024.jpg" type="image/jpeg" /> 
		<comments>https://joyoliver.com/chocolate-chip-cookie-dough-balls/#respond</comments>
		<pubDate>Wed, 02 Dec 2020 08:52:59 +0000</pubDate>
		<dc:creator><![CDATA[Kristen Massad]]></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Chocolate]]></category>
		<category><![CDATA[Cookies Recipes]]></category>
		<category><![CDATA[Dessert]]></category>
		<category><![CDATA[Holiday]]></category>
		<category><![CDATA[Recipes]]></category>
		<category><![CDATA[Sweets]]></category>
		<category><![CDATA[chocolate chip cookie dough]]></category>
		<category><![CDATA[chocolate chip cookie dough balls]]></category>
		<category><![CDATA[chocolate chip cookies]]></category>
		<category><![CDATA[christmas cookies]]></category>
		<category><![CDATA[cookie dough balls]]></category>
		<category><![CDATA[holiday cookies]]></category>

		<guid isPermaLink="false">https://joyoliver.com/?p=9014</guid>
		<description><![CDATA[Edible egg-free Chocolate Chip Cookie Dough Balls are bite size, glazed in chocolate and are sure to be the perfect addition to your holiday table. ]]></description>
				<content:encoded><![CDATA[<div class="tasty-recipes-quick-links">
<a class="tasty-recipes-jump-link tasty-recipes-scrollto" href="#tasty-recipes-9069-jump-target">Jump to Recipe</a><span>&middot;</span><a class="tasty-recipes-print-link" href="https://joyoliver.com/chocolate-chip-cookie-dough-balls/print/9069/">Print Recipe</a>
</div>

<div id="dpsp-content-top" class="dpsp-content-wrapper dpsp-shape-circle dpsp-size-medium dpsp-has-spacing dpsp-show-on-mobile dpsp-button-style-5" style="min-height:40px;position:relative">
	<ul class="dpsp-networks-btns-wrapper dpsp-networks-btns-share dpsp-networks-btns-content dpsp-column-auto dpsp-has-button-icon-animation" style="padding:0;margin:0;list-style-type:none">
<li class="dpsp-network-list-item dpsp-network-list-item-facebook" style="float:left">
	<a rel="nofollow noopener" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&#038;t=Chocolate%20Chip%20Cookie%20Dough%20Balls" class="dpsp-network-btn dpsp-facebook dpsp-first dpsp-has-label" target="_blank" aria-label="Share on Facebook" title="Share on Facebook" style="font-size:14px;padding:0rem;max-height:40px" >	<span class="dpsp-network-icon "><span class="dpsp-network-icon-inner" ><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 18 32"><path d="M17.12 0.224v4.704h-2.784q-1.536 0-2.080 0.64t-0.544 1.92v3.392h5.248l-0.704 5.28h-4.544v13.568h-5.472v-13.568h-4.544v-5.28h4.544v-3.904q0-3.328 1.856-5.152t4.96-1.824q2.624 0 4.064 0.224z"></path></svg></span></span>
	<span class="dpsp-network-label">Facebook</span></a></li>

<li class="dpsp-network-list-item dpsp-network-list-item-pinterest" style="float:left">
	<button rel="nofollow noopener" data-href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&#038;media=&#038;description=Chocolate%20Chip%20Cookie%20Dough%20Balls" class="dpsp-network-btn dpsp-pinterest dpsp-has-label" target="_blank" aria-label="Save to Pinterest" title="Save to Pinterest" style="font-size:14px;padding:0rem;max-height:40px" >	<span class="dpsp-network-icon "><span class="dpsp-network-icon-inner" ><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 23 32"><path d="M0 10.656q0-1.92 0.672-3.616t1.856-2.976 2.72-2.208 3.296-1.408 3.616-0.448q2.816 0 5.248 1.184t3.936 3.456 1.504 5.12q0 1.728-0.32 3.36t-1.088 3.168-1.792 2.656-2.56 1.856-3.392 0.672q-1.216 0-2.4-0.576t-1.728-1.568q-0.16 0.704-0.48 2.016t-0.448 1.696-0.352 1.28-0.48 1.248-0.544 1.12-0.832 1.408-1.12 1.536l-0.224 0.096-0.16-0.192q-0.288-2.816-0.288-3.36 0-1.632 0.384-3.68t1.184-5.152 0.928-3.616q-0.576-1.152-0.576-3.008 0-1.504 0.928-2.784t2.368-1.312q1.088 0 1.696 0.736t0.608 1.824q0 1.184-0.768 3.392t-0.8 3.36q0 1.12 0.8 1.856t1.952 0.736q0.992 0 1.824-0.448t1.408-1.216 0.992-1.696 0.672-1.952 0.352-1.984 0.128-1.792q0-3.072-1.952-4.8t-5.12-1.728q-3.552 0-5.952 2.304t-2.4 5.856q0 0.8 0.224 1.536t0.48 1.152 0.48 0.832 0.224 0.544q0 0.48-0.256 1.28t-0.672 0.8q-0.032 0-0.288-0.032-0.928-0.288-1.632-0.992t-1.088-1.696-0.576-1.92-0.192-1.92z"></path></svg></span></span>
	<span class="dpsp-network-label">Pinterest</span></button></li>

<li class="dpsp-network-list-item dpsp-network-list-item-email" style="float:left">
	<a rel="nofollow noopener" href="mailto:?subject=Chocolate%20Chip%20Cookie%20Dough%20Balls&#038;body=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F" class="dpsp-network-btn dpsp-email dpsp-last dpsp-has-label" target="_blank" aria-label="Send over email" title="Send over email" style="font-size:14px;padding:0rem;max-height:40px" >	<span class="dpsp-network-icon "><span class="dpsp-network-icon-inner" ><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 28 32"><path d="M18.56 17.408l8.256 8.544h-25.248l8.288-8.448 4.32 4.064zM2.016 6.048h24.32l-12.16 11.584zM20.128 15.936l8.224-7.744v16.256zM0 24.448v-16.256l8.288 7.776z"></path></svg></span></span>
	<span class="dpsp-network-label">Email</span></a></li>
</ul></div>

<p><em>Edible egg-free <strong>Chocolate Chip Cookie Dough Balls</strong> are bite-sized, glazed in chocolate, and will be the perfect addition to your holiday table. </em></p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1024" height="1536" data-pin-title="Chocolate Chip Cookie Dough Balls" src="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387.jpg" alt="A pile of chocolate chip cookie dough balls on a stand" class="wp-image-9024" srcset="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387.jpg 1024w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-410x615.jpg 410w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-683x1024.jpg 683w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-768x1152.jpg 768w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-720x1080.jpg 720w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-360x540.jpg 360w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-180x270.jpg 180w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-150x225.jpg 150w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>It's cookie week 2020 and I am trying not to choose favorites... But if I did, this one wins big time. We've tested these over and over again and now that we've run out, I am still craving them. These are the best of the best. That's why they made it into my ultimate <a href="https://joyoliver.com/christmas-cookie-round-up/" target="_blank" rel="noreferrer noopener">Christmas Cookie Round Up</a>!</p>



<p>Cookie dough has become popular to eat, just like a scoop of ice cream, but there is only so much cookie dough you can eat in one serving. I love the bite-sized balls of chocolate chip cookie dough; they are not overly sweet, made with simple ingredients, and will be a beautiful addition to your holiday cookie board.</p>



<p>You no longer need to sneak bites of cookie dough while you are baking your favorite cookies; just make a batch of Chocolate Chip Cookie Dough Balls and you are all set! It's as easy as mixing up the cookie dough (which is safe to eat raw!) and dipping the balls in rich chocolate glaze. Enjoy these scrumptious bites with the rest of your festive treats, or on any day the cookie dough craving hits you!</p>



<h2 class="wp-block-heading" id="h-ingredients">Ingredients</h2>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="1536" data-pin-title="Chocolate Chip Cookie Dough Balls" src="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9360.jpg" alt="All the ingredients for cookie dough balls. A bowl of flour, a bowl of brown sugar, 2 sticks of butter, vanilla extract, a bowl of heavy cream, and pile of chocolate chips." class="wp-image-9018" srcset="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9360.jpg 1024w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9360-410x615.jpg 410w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9360-683x1024.jpg 683w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9360-768x1152.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list"><li><strong>Flour-</strong> All-purpose flour, like any cookie recipe!</li><li><strong>Butter-</strong> Unsalted and at room temperature for smooth mixing</li><li><strong>Sugar- </strong>Light brown sugar and white sugar will combine for the right sweetness and flavor</li><li><strong>Cream-</strong> Heavy whipping cream to make the cookie dough rich</li><li><strong>Chocolate-</strong> Semi-sweet chocolate chips for the perfect chocolatey glaze</li></ul>



<h2 class="wp-block-heading" id="h-directions">Directions</h2>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="1536" data-pin-title="Chocolate Chip Cookie Dough Balls" src="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9356.jpg" alt="a pile of chocolate chip cookie dough balls ready to be dipped in chocolate glaze" class="wp-image-9017" srcset="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9356.jpg 1024w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9356-410x615.jpg 410w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9356-683x1024.jpg 683w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9356-768x1152.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>Make The Cookie Dough</strong></p>



<ul class="wp-block-list"><li>In a small bowl combine the flour and salt; set aside</li><li>In a mixing bowl with the paddle attachment, cream together the butter, light brown sugar, granulated sugar, and vanilla extract </li><li>Slowly add the flour to the butter mixture until it is fully incorporated and then add the tablespoon of heavy cream</li><li>Add the chocolate chips into the cookie dough and mix on low speed just until fully combined </li><li>Scoop the cookie dough using a tablespoon or mini ice cream scoop and roll into 1 inch balls and place on a parchment-lined baking sheet</li></ul>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="1536" data-pin-title="Chocolate Chip Cookie Dough Balls" src="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9363.jpg" alt="A tray of chocolate chip cookie dough balls that have just been dipped in chocolate glaze" class="wp-image-9019" srcset="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9363.jpg 1024w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9363-410x615.jpg 410w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9363-683x1024.jpg 683w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9363-768x1152.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><b>Melt The Chocolate and Dip</b></p>



<ul class="wp-block-list"><li>Melt the chocolate and coconut oil in a small microwave-safe bowl for 30-second increments until the chocolate is melted and smooth</li><li>Using a small fork, dip the cookie dough balls into the melted chocolate shaking off any excess chocolate that drips off</li><li>Place the dipped cookie dough balls on a parchment-lined<span style="font-weight: 400;"> baking sheet and allow them to cool and harden completely or place in the refrigerator to allow the chocolate to set quickly</span></li><li><span style="font-weight: 400;">Serve the Chocolate Chip Cookie Dough Balls or place in an airtight container to enjoy at a later time </span></li></ul>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="1536" data-pin-title="Chocolate Chip Cookie Dough Balls" src="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9383.jpg" alt="A pile of chocolate cookie dough balls. The very top one has a bite taken out so the cookie dough center is visible." class="wp-image-9023" srcset="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9383.jpg 1024w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9383-410x615.jpg 410w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9383-683x1024.jpg 683w, https://joyoliver.com/wp-content/uploads/2020/11/IMG_9383-768x1152.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading" id="h-tips-and-faqs-for-chocolate-chip-cookie-dough-balls">Tips and FAQs for Chocolate Chip Cookie Dough Balls</h2>



<ul class="wp-block-list"><li>If you're in a hurry for the chocolate chip cookie dough balls to harden, pop them in the fridge for a few minutes and the chocolate glaze will be set quickly!</li><li>For an extra touch, drizzle more chocolate glaze on the top of the balls after you've dipped them.</li></ul>



<div class="schema-faq wp-block-yoast-faq-block"><div class="schema-faq-section" id="faq-question-1649886970031"><strong class="schema-faq-question">Can you eat raw cookie dough?</strong> <p class="schema-faq-answer">Growing up and even as adults we have all enjoyed our fair share of raw cookie dough, but it is not safe knowing that there are raw eggs in the batter. Making edible egg-free cookie dough ensures that you are enjoying each bite with safety while keeping the same delicious flavor!</p> </div> <div class="schema-faq-section" id="faq-question-1649887017433"><strong class="schema-faq-question">Can you eat raw flour?</strong> <p class="schema-faq-answer">Raw flour can also be a concern for some, so you can purchase pasteurized flour or sprinkle the raw flour onto a baking sheet and bake at 350 degrees F for 5 minutes to be on the safe side. </p> </div> </div>



<h2 class="wp-block-heading" id="h-more-recipes-you-will-love">More Recipes You Will Love</h2>


<div class='feast-category-index  feast-recipe-index'><ul class="fsri-list feast-grid-half feast-desktop-grid-fourth"><li class="listing-item"><a href="https://joyoliver.com/chocolate-peanut-butter-pretzel-balls/"><img decoding="async" data-pin-url="https://joyoliver.com/chocolate-peanut-butter-pretzel-balls/" width="360" height="480" src="https://joyoliver.com/wp-content/uploads/2014/01/DSC09085-360x480.jpg" class="feast_3x4_thumbnail fsri-image wp-post-image" alt="" data-pin-nopin="true" aria-hidden="true" srcset="https://joyoliver.com/wp-content/uploads/2014/01/DSC09085-360x480.jpg 360w, https://joyoliver.com/wp-content/uploads/2014/01/DSC09085-720x960.jpg 720w, https://joyoliver.com/wp-content/uploads/2014/01/DSC09085-180x240.jpg 180w, https://joyoliver.com/wp-content/uploads/2014/01/DSC09085-640x853.jpg 640w" sizes="(max-width: 360px) 100vw, 360px" /><div class="fsri-title">Chocolate PB Pretzel Balls</div></a></li><li class="listing-item"><a href="https://joyoliver.com/bakery-style-chocolate-chip-cookies/"><img decoding="async" data-pin-url="https://joyoliver.com/bakery-style-chocolate-chip-cookies/" data-pin-description="Craving the perfect chocolate chip cookie? These Bakery-Style Chocolate Chip Cookies are thick, chewy, loaded with rich, melty chocolate. With golden brown edges and soft centers, they deliver all the indulence of your favorite bakery treat-right from your own oven!  " data-pin-title="Best Bakery-Style Chocolate Chip Cookies" width="360" height="480" src="https://joyoliver.com/wp-content/uploads/2021/01/IMG_0150-360x480.jpg" class="feast_3x4_thumbnail fsri-image wp-post-image" alt="a stack of six chocolate chip cookies in front of a glass of milk" data-pin-nopin="true" aria-hidden="true" srcset="https://joyoliver.com/wp-content/uploads/2021/01/IMG_0150-360x480.jpg 360w, https://joyoliver.com/wp-content/uploads/2021/01/IMG_0150-720x960.jpg 720w, https://joyoliver.com/wp-content/uploads/2021/01/IMG_0150-180x240.jpg 180w, https://joyoliver.com/wp-content/uploads/2021/01/IMG_0150-640x853.jpg 640w" sizes="(max-width: 360px) 100vw, 360px" /><div class="fsri-title">Best Bakery Style Chocolate Chip Cookies</div></a></li><li class="listing-item"><a href="https://joyoliver.com/rum-balls/"><img decoding="async" data-pin-url="https://joyoliver.com/rum-balls/" width="360" height="480" src="https://joyoliver.com/wp-content/uploads/2015/11/IMG_4677-360x480.jpg" class="feast_3x4_thumbnail fsri-image wp-post-image" alt="" data-pin-nopin="true" aria-hidden="true" srcset="https://joyoliver.com/wp-content/uploads/2015/11/IMG_4677-360x480.jpg 360w, https://joyoliver.com/wp-content/uploads/2015/11/IMG_4677-180x240.jpg 180w, https://joyoliver.com/wp-content/uploads/2015/11/IMG_4677-640x853.jpg 640w" sizes="(max-width: 360px) 100vw, 360px" /><div class="fsri-title">Rum Balls</div></a></li><li class="listing-item"><a href="https://joyoliver.com/soft-and-chewy-chocolate-chip-blondies/"><img decoding="async" data-pin-url="https://joyoliver.com/soft-and-chewy-chocolate-chip-blondies/" width="360" height="480" src="https://joyoliver.com/wp-content/uploads/2021/09/Chocolate-Chip-Blondies-6-360x480.jpeg" class="feast_3x4_thumbnail fsri-image wp-post-image" alt="Square blondies laying on parchment paper with fresh flowers." data-pin-nopin="true" aria-hidden="true" srcset="https://joyoliver.com/wp-content/uploads/2021/09/Chocolate-Chip-Blondies-6-360x480.jpeg 360w, https://joyoliver.com/wp-content/uploads/2021/09/Chocolate-Chip-Blondies-6-720x960.jpeg 720w, https://joyoliver.com/wp-content/uploads/2021/09/Chocolate-Chip-Blondies-6-180x240.jpeg 180w, https://joyoliver.com/wp-content/uploads/2021/09/Chocolate-Chip-Blondies-6-640x853.jpeg 640w" sizes="(max-width: 360px) 100vw, 360px" /><div class="fsri-title">Soft and Chewy Chocolate Chip Blondies</div></a></li></ul></div>


<p>Thank you for visiting Joy + Oliver. If you tried this recipe, please leave a 5 Star Review in the recipe card and save all your favorite recipes to&nbsp;<a rel="noreferrer noopener" href="https://www.pinterest.com/JoyandOliver/" target="_blank">Pinterest</a>! </p>



<p>Please visit us on <a data-type="URL" data-id="https://www.instagram.com/joyandoliver/" href="https://www.instagram.com/joyandoliver/">Instagram</a>, <a data-type="URL" data-id="https://www.facebook.com/joyandoliver/" href="https://www.facebook.com/joyandoliver/">Facebook</a> and <a data-type="URL" data-id="https://www.pinterest.com/JoyandOliver/_created/" href="https://www.pinterest.com/JoyandOliver/_created/">Pinterest</a> for more of our favorite recipes that you will love!  </p>


<a class="button tasty-recipes-print-button tasty-recipes-no-print tasty-recipes-print-above-card" href="https://joyoliver.com/chocolate-chip-cookie-dough-balls/print/9069/">Print</a><span class="tasty-recipes-jump-target" id="tasty-recipes-9069-jump-target" style="display:block;padding-top:2px;margin-top:-2px;"></span><div id="tasty-recipes-9069" data-tr-id="9069" class="tasty-recipes tasty-recipes-9069 tasty-recipes-display tasty-recipes-has-image" data-tasty-recipes-customization="primary-color.background-color primary-color.outline-color">


<h2 class="tasty-recipes-title" data-tasty-recipes-customization="h2-color.color h2-transform.text-transform">Chocolate Chip Cookie Dough Balls</h2>
<div class="tasty-recipes-image-button-container">
			<div class="tasty-recipes-image">
			<img decoding="async" width="150" height="150" src="https://joyoliver.com/wp-content/uploads/2020/11/IMG_9387-150x150.jpg" class="attachment-thumbnail size-thumbnail" alt="" data-pin-nopin="true" />		</div>
		<div class="tasty-recipes-buttons">
				<div class="tasty-recipes-button-wrap">
			
<a class="button tasty-recipes-print-button tasty-recipes-no-print" href="https://joyoliver.com/chocolate-chip-cookie-dough-balls/print/9069/" target="_blank" data-tasty-recipes-customization="">
			<img decoding="async" class="svg-print" data-pin-nopin="true" src="https://joyoliver.com/wp-content/plugins/tasty-recipes/templates/buttons/images/icon-print.png">
		Print Recipe</a>
		</div>
					</div>
</div>
	<div class="tasty-recipes-rating" data-tasty-recipes-customization="body-color.color">
					<p><span class="tasty-recipes-ratings-buttons tasty-recipes-no-ratings-buttons"	data-tr-default-rating="0"	>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="5">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg xmlns="http://www.w3.org/2000/svg" viewbox="9 9 46 42" width="18" height="17">	<defs>		<linearGradient id="tasty-recipes-clip-10">			<stop offset="10%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-20">			<stop offset="20%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-30">			<stop offset="30%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-40">			<stop offset="40%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-50">			<stop offset="50%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-60">			<stop offset="60%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-70">			<stop offset="70%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-80">			<stop offset="80%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-90">			<stop offset="90%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>	</defs>	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z"/></svg>			</span>			<span class="tasty-recipes-screen-reader">				5 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="4">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg xmlns="http://www.w3.org/2000/svg" viewbox="9 9 46 42" width="18" height="17">	<defs>		<linearGradient id="tasty-recipes-clip-10">			<stop offset="10%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-20">			<stop offset="20%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-30">			<stop offset="30%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-40">			<stop offset="40%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-50">			<stop offset="50%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-60">			<stop offset="60%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-70">			<stop offset="70%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-80">			<stop offset="80%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-90">			<stop offset="90%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>	</defs>	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z"/></svg>			</span>			<span class="tasty-recipes-screen-reader">				4 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="3">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg xmlns="http://www.w3.org/2000/svg" viewbox="9 9 46 42" width="18" height="17">	<defs>		<linearGradient id="tasty-recipes-clip-10">			<stop offset="10%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-20">			<stop offset="20%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-30">			<stop offset="30%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-40">			<stop offset="40%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-50">			<stop offset="50%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-60">			<stop offset="60%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-70">			<stop offset="70%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-80">			<stop offset="80%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-90">			<stop offset="90%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>	</defs>	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z"/></svg>			</span>			<span class="tasty-recipes-screen-reader">				3 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="2">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg xmlns="http://www.w3.org/2000/svg" viewbox="9 9 46 42" width="18" height="17">	<defs>		<linearGradient id="tasty-recipes-clip-10">			<stop offset="10%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-20">			<stop offset="20%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-30">			<stop offset="30%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-40">			<stop offset="40%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-50">			<stop offset="50%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-60">			<stop offset="60%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-70">			<stop offset="70%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-80">			<stop offset="80%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-90">			<stop offset="90%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>	</defs>	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z"/></svg>			</span>			<span class="tasty-recipes-screen-reader">				2 Stars			</span>		</i>	</span>		<span class="tasty-recipes-rating" >		<i class="checked" data-rating="1">			<span class="tasty-recipes-rating-solid" data-tr-clip="0">				<svg xmlns="http://www.w3.org/2000/svg" viewbox="9 9 46 42" width="18" height="17">	<defs>		<linearGradient id="tasty-recipes-clip-10">			<stop offset="10%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-20">			<stop offset="20%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-30">			<stop offset="30%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-40">			<stop offset="40%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-50">			<stop offset="50%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-60">			<stop offset="60%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-70">			<stop offset="70%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-80">			<stop offset="80%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>		<linearGradient id="tasty-recipes-clip-90">			<stop offset="90%" stop-color="currentColor"/>			<stop stop-opacity="var(--tr-star-opacity)" offset="0%" stop-color="currentColor"/>		</linearGradient>	</defs>	<path d="m46.3 52-14.4-9.5-14.4 9.4L22 35.3 8.7 24.5l17.1-.9 6.2-16 6 16 17.2 1-13.4 10.7z"/></svg>			</span>			<span class="tasty-recipes-screen-reader">				1 Star			</span>		</i>	</span></span></p>
							<p><span data-tasty-recipes-customization="detail-label-color.color" class="rating-label">No reviews</span></p>
			</div>



	<div class="tasty-recipes-details" data-tasty-recipes-customization="body-color.color">
		<ul>
							<li class="author"><strong data-tasty-recipes-customization="detail-label-color.color" class="tasty-recipes-label">Author:</strong> <a data-tasty-recipes-customization="detail-value-color.color" class="tasty-recipes-author-name" href="https://joyoliver.com/about/">kristen massad</a></li>
							<li class="prep-time"><strong data-tasty-recipes-customization="detail-label-color.color" class="tasty-recipes-label">Prep Time:</strong> <span data-tasty-recipes-customization="detail-value-color.color" class="tasty-recipes-prep-time">20 minutes</span></li>
							<li class="total-time"><strong data-tasty-recipes-customization="detail-label-color.color" class="tasty-recipes-label">Total Time:</strong> <span data-tasty-recipes-customization="detail-value-color.color" class="tasty-recipes-total-time">20 minutes</span></li>
							<li class="yield"><strong data-tasty-recipes-customization="detail-label-color.color" class="tasty-recipes-label">Yield:</strong> <span data-tasty-recipes-customization="detail-value-color.color" class="tasty-recipes-yield">28-30</span></li>
							<li class="category"><strong data-tasty-recipes-customization="detail-label-color.color" class="tasty-recipes-label">Category:</strong> <span data-tasty-recipes-customization="detail-value-color.color" class="tasty-recipes-category">Cookies</span></li>
					</ul>
	</div>

	<div class="tasty-recipes-ingredients">
		<div class="tasty-recipes-ingredients-header">
			<div class="tasty-recipes-ingredients-clipboard-container">
				<h3 data-tasty-recipes-customization="h3-color.color h3-transform.text-transform">Ingredients</h3>
							</div>
			<div class="tasty-recipes-units-scale-container">
											</div>
		</div>
		<div class="tasty-recipes-ingredients-body" data-tasty-recipes-customization="body-color.color">
			<p><b>Chocolate Chip Cookie Dough Balls</b><b><br />
</b><span style="font-weight: 400">1 ¼ Cup All Purpose Flour (Pasteurized Optional)</span><span style="font-weight: 400"><br />
</span><span style="font-weight: 400">¼ teaspoon Salt</span> <b><br />
</b><span style="font-weight: 400">½ Cup Unsalted Butter, Room Temperature</span><span style="font-weight: 400"><br />
</span><span style="font-weight: 400">½ Cup Light Brown Sugar<br />
</span><span style="font-weight: 400">¼ Cup Granulated Sugar<br />
</span><span style="font-weight: 400">1 teaspoon Vanilla Extract<br />
</span><span style="font-weight: 400">1 Tablespoon Heavy Whipping Cream</span><span style="font-weight: 400"><br />
</span><span style="font-weight: 400">1 Cup Semisweet Chocolate Chips </span></p>
<p><b>Chocolate Glaze</b><b><br />
</b><span style="font-weight: 400">2 Cups Semisweet Chocolate Chips</span><span style="font-weight: 400"><br />
</span><span style="font-weight: 400">2 teaspoon Coconut Oil </span></p>
<!--INSIDE_INGREDIENTS-->		</div>
		<div class="tasty-recipes-cook-mode">
	<div class="tasty-recipes-cook-mode__container">
		<label class="tasty-recipes-cook-mode__switch">
			<input type="checkbox" id="tasty_recipes_6a03c522d4f86_cookmode">
			<span class="tasty-recipes-cook-mode__switch-slider tasty-recipes-cook-mode__switch-round"
				data-tasty-recipes-customization="button-color.background button-text-color.color"></span>
		</label>
		<label for="tasty_recipes_6a03c522d4f86_cookmode">
			<span class="tasty-recipes-cook-mode__label">Cook Mode</span>
			<span class="tasty-recipes-cook-mode__helper">
				Prevent your screen from going dark			</span>
		</label>
	</div>
</div>
	</div>

	<div class="tasty-recipe-instructions">
		<div class="tasty-recipes-instructions-header">
			<h3 data-tasty-recipes-customization="h3-color.color h3-transform.text-transform">Instructions</h3>
					</div>
		<div class="tasty-recipes-instructions-body" data-tasty-recipes-customization="body-color.color">
			<p><b>Make The Cookie Dough</b></p>
<ol>
<li id="instruction-step-1"><span style="font-weight: 400">In a small bowl combine the flour and salt; set aside</span></li>
<li id="instruction-step-2" style="font-weight: 400"><span style="font-weight: 400">In a mixing bowl with paddle attachment, cream together the butter, light brown sugar, granulated sugar and vanilla extract </span></li>
<li id="instruction-step-3" style="font-weight: 400"><span style="font-weight: 400">Slowly add the flour to the butter mixture until it is fully incorporated and then add the tablespoon of heavy cream</span></li>
<li id="instruction-step-4" style="font-weight: 400"><span style="font-weight: 400">Add the chocolate chips into the cookie dough and mix on low speed just until fully combined </span></li>
<li id="instruction-step-5" style="font-weight: 400"><span style="font-weight: 400">Scoop the cookie dough using a tablespoon or mini ice cream scoop and roll into 1 inch balls and place on a parchment lined baking sheet</span></li>
</ol>
<p><b>Melt The Chocolate and Dip</b></p>
<ol>
<li id="instruction-step-6"><span style="font-weight: 400">In a small microwave safe bowl melt the chocolate and coconut oil for 30 second increments until the chocolate is melted and smooth</span></li>
<li id="instruction-step-7" style="font-weight: 400"><span style="font-weight: 400">Using a small fork, dip the cookie dough balls into the melted chocolate shaking off any excess chocolate that drips off</span></li>
<li id="instruction-step-8" style="font-weight: 400"><span style="font-weight: 400">Place the dipped cookie dough balls on a parchment lined baking sheet and allow them to cool and harden completely or place in the refrigerator to allow the chocolate to set quickly</span></li>
<li id="instruction-step-9" style="font-weight: 400"><span style="font-weight: 400">Serve the Chocolate Chip Cookie Dough Balls or place in an airtight container to enjoy at a later time </span></li>
</ol>
		</div>
	</div>








<footer class="tasty-recipes-entry-footer">
	<h3 data-tasty-recipes-customization="footer-heading-color.color h3-transform.text-transform footer-heading.innerText">Did you make this recipe?</h3>
	<div data-tasty-recipes-customization="footer-description-color.color footer-description.innerHTML"><p>Tag <a href="https://www.instagram.com/joyandoliver" target="_blank" rel="noreferrer noopener">@joyandoliver</a> on Instagram</p>
</div>
</footer>



<script>
window.trCommon={"minRating":6,"ajaxurl":"https:\/\/joyoliver.com\/wp-admin\/admin-ajax.php","ratingNonce":"","postId":9014};
window.TastyRecipes = window.TastyRecipes || {};

window.TastyRecipes.smoothScroll = {
init() {
document.addEventListener( 'click', ( e ) => {
let anchor = e.target;
if ( anchor.tagName !== 'A' ) {
anchor = anchor.closest( 'a.tasty-recipes-scrollto' );
}

if ( ! anchor || ! anchor.classList.contains( 'tasty-recipes-scrollto' ) ) {
return;
}

const elementHref = anchor.getAttribute( 'href' );
if ( ! elementHref ) {
return;
}

e.preventDefault();
this.goToSelector( elementHref );
});
},
goToSelector( selector ) {
const element = document.querySelector( selector );
if ( ! element ) {
return;
}
element.scrollIntoView( { behavior: 'smooth' } );
}
};

document.addEventListener(
'DOMContentLoaded',
() => window.TastyRecipes.smoothScroll.init()
);

window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.cookMode = {
wakeLockApi: false,
wakeLock: false,
cookModeSelector: '.tasty-recipes-cook-mode',
init() {
if ("wakeLock" in navigator && "request" in navigator.wakeLock) {
this.wakeLockApi = navigator.wakeLock;
}

const cookModes = document.querySelectorAll(this.cookModeSelector);

if (cookModes.length > 0) {
for (const cookMode of cookModes) {
if (this.wakeLockApi) {
cookMode.querySelector('input[type="checkbox"]').addEventListener("change", event => {
this.checkboxChange(event.target);
}, false);
} else {
cookMode.style.display = "none";
}
}
}
},
checkboxChange(checkbox) {
if (checkbox.checked) {
this.lock();
} else {
this.unlock();
}
},
setCheckboxesState(state) {
const checkboxes = document.querySelectorAll(this.cookModeSelector + ' input[type="checkbox"]');
for (const checkbox of checkboxes) {
checkbox.checked = state;
}
},
async lock() {
try {
this.wakeLock = await this.wakeLockApi.request("screen");
this.wakeLock.addEventListener("release", () => {
this.wakeLock = false;
this.setCheckboxesState(false);
});
this.setCheckboxesState(true);
} catch (error) {
this.setCheckboxesState(false);
}
},
unlock() {
if (this.wakeLock) {
this.wakeLock.release();
this.wakeLock = false;
}
this.setCheckboxesState(false);
}
};

(function(callback) {
if (document.readyState !== "loading") {
callback();
} else {
document.addEventListener("DOMContentLoaded", callback);
}
})(() => {
window.TastyRecipes.cookMode.init();
});



window.TastyRecipes = window.TastyRecipes || {};

window.TastyRecipes.staticTooltip = {
element: null,
tooltipElement: null,
deleting: false,
init( element ) {
if ( this.deleting ) {
return;
}
this.element = element;
this.buildElements();
},
destroy() {
if ( ! this.tooltipElement || this.deleting ) {
return;
}

this.deleting = true;
this.tooltipElement.classList.remove( 'opened' );

setTimeout( () => {
this.tooltipElement.remove();
this.deleting = false;
}, 500 );
},
buildElements() {
const tooltipElement = document.createElement( 'div' );
tooltipElement.classList.add( 'tasty-recipes-static-tooltip');
tooltipElement.setAttribute( 'id', 'tasty-recipes-tooltip' );

const currentTooltipElement = document.getElementById( 'tasty-recipes-tooltip' );
if ( currentTooltipElement ) {
document.body.replaceChild( tooltipElement, currentTooltipElement );
} else {
document.body.appendChild( tooltipElement );
}

this.tooltipElement = document.getElementById( 'tasty-recipes-tooltip' );
},
show() {
if ( ! this.tooltipElement ) {
return;
}

const tooltipTop = this.element.getBoundingClientRect().top
+ window.scrollY
- 10 // 10px offset.
- this.tooltipElement.getBoundingClientRect().height;
const tooltipLeft = this.element.getBoundingClientRect().left
- ( this.tooltipElement.getBoundingClientRect().width / 2 )
+ ( this.element.getBoundingClientRect().width / 2 ) - 1;
const posLeft = Math.max( 10, tooltipLeft );
this.maybeRemoveTail( posLeft !== tooltipLeft );

this.tooltipElement.setAttribute( 'style', 'top:' + tooltipTop + 'px;left:' + posLeft + 'px;' );
this.tooltipElement.classList.add( 'opened' );

},
maybeRemoveTail( removeTail ) {
if ( removeTail ) {
this.tooltipElement.classList.add( 'tr-hide-tail' );
} else {
this.tooltipElement.classList.remove( 'tr-hide-tail' );
}
},
changeMessage( message ) {
if ( ! this.tooltipElement ) {
return;
}
this.tooltipElement.innerHTML = message;
}
};

window.TastyRecipes.ajax = {
sendPostRequest( url, data, success, failure ) {
const xhr = new XMLHttpRequest();
xhr.open( 'POST', url, true );
xhr.send( this.preparePostData( data ) );

xhr.onreadystatechange = () => {
if ( 4 !== xhr.readyState ) {
return;
}
if ( xhr.status === 200 ) {
success( JSON.parse( xhr.responseText ) );
return;
}

failure( xhr );
};

xhr.onerror = () => {
failure( xhr );
};
},
preparePostData( data ) {
const formData = new FormData();

for ( const key in data ) {
formData.append( key, data[key] );
}
return formData;
},
};

window.TastyRecipes.ratings = {
defaultRating: 0,
currentRatingPercentage: 100,
savingRating: false,
init( minRating ) {
this.minRating = minRating;

this.formWatchRating();
this.closeTooltipWhenClickOutside();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompFormRatingPosition();
},
formWatchRating() {
const ratings = document.querySelectorAll('.tasty-recipes-no-ratings-buttons [data-rating]');
if ( ratings.length <= 0 ) {
return;
}
for ( const rating of ratings ) {
rating.addEventListener( 'click', event => {
event.preventDefault();
this.defaultRating = event.target.closest( '.checked' ).dataset.rating;
this.setCheckedStar( event.target );
this.maybeSendRating( this.defaultRating, event.target );
this.setRatingInForm( this.defaultRating );
} );
}
},
closeTooltipWhenClickOutside() {
window.addEventListener( 'click', e => {
// Bailout (don't remove the tooltip) when the clicked element is a rating star, or it's the tooltip itself.
if ( e.target.closest( '.tasty-recipes-rating' ) || e.target.classList.contains( 'tasty-recipes-static-tooltip' ) ) {
return;
}

window.TastyRecipes.staticTooltip.destroy();
} );
},
 setRatingInForm( rating ) {
const ratingInput = document.querySelector( '#respond .tasty-recipes-rating[value="' + rating + '"]' );
if ( ! ratingInput ) {
return;
}
ratingInput.click();
},
addBodyClassBasedOnSelectedRating() {
const ratingInputs = document.querySelectorAll( 'input.tasty-recipes-rating' );
if ( ! ratingInputs ) {
return;
}
for ( const ratingInput of ratingInputs ) {
ratingInput.addEventListener( 'click', currentEvent => {
const selectedRating = currentEvent.target.getAttribute( 'value' );
this.handleBodyClassByRating( selectedRating );
this.toggleCommentTextareaRequired( selectedRating );
} );
}
},
handleBodyClassByRating( rating ) {
if ( rating < this.minRating ) {
document.body.classList.remove( 'tasty-recipes-selected-minimum-rating' );
return;
}
document.body.classList.add( 'tasty-recipes-selected-minimum-rating' );
},
toggleCommentTextareaRequired( rating ) {
const commentTextarea = document.getElementById( 'comment' );
if ( ! commentTextarea ) {
return;
}

if ( rating < this.minRating ) {
commentTextarea.setAttribute( 'required', '' );
return;
}

commentTextarea.removeAttribute( 'required' );
},
maybeSendRating( rating, element ) {
if ( this.savingRating === rating ) {
return;
}

this.savingRating = rating;
window.TastyRecipes.staticTooltip.init( element );

const recipeCardElement = element.closest( '.tasty-recipes' );
if ( ! recipeCardElement ) {
window.TastyRecipes.staticTooltip.destroy();
return;
}

window.TastyRecipes.ajax.sendPostRequest(
window.trCommon.ajaxurl,
{
action: 'tasty_recipes_save_rating',
rating,
nonce: window.trCommon.ratingNonce,
post_id: window.trCommon.postId,
recipe_id: recipeCardElement.dataset.trId,
},
( response ) => {
window.TastyRecipes.staticTooltip.changeMessage( response.data.message );
window.TastyRecipes.staticTooltip.show();
this.updateAverageText( response.data, recipeCardElement );
this.maybeFillCommentForm( response.data );

// Hide the tooltip after 5 seconds.
setTimeout( () => {
this.maybeResetTooltip( recipeCardElement, response.data, rating );
}, 5000 );
},
() => {
this.resetTooltip( recipeCardElement );
}
);
},
updateAverageText( data, recipeCardElement ) {
if ( ! data.average ) {
return;
}
this.setRatingPercent( data );

if ( ! data.count ) {
return;
}

const quickLink = document.querySelector( '.tasty-recipes-rating-link' );
if ( quickLink ) {
this.setTextInContainer( quickLink, data );
this.setPartialStar( quickLink );
}

const cardStars = recipeCardElement.querySelector( '.tasty-recipes-ratings-buttons' );
cardStars.dataset.trDefaultRating = data.average;
this.setTextInContainer( recipeCardElement.querySelector( '.tasty-recipes-rating' ), data );
},
setTextInContainer( container, data ) {
if ( ! container ) {
return;
}

if ( data.label ) {
const ratingLabelElement = container.querySelector( '.rating-label' );
if ( ratingLabelElement ) {
ratingLabelElement.innerHTML = data.label;
}
return;
}

const averageElement = container.querySelector( '.average' );
if ( averageElement ) {
averageElement.textContent = data.average;
}

const countElement = container.querySelector( '.count' );
if ( countElement ) {
countElement.textContent = data.count;
}
},
setPartialStar( container ) {
const highestStar = container.querySelector( '[data-rating="' + Math.ceil( this.defaultRating ) + '"]' );
if ( highestStar ) {
highestStar.dataset.trClip = this.currentRatingPercentage;
}
},
setRatingPercent( data ) {
this.defaultRating = data.average.toFixed( 1 );
const parts = data.average.toFixed( 2 ).toString().split( '.' );
this.currentRatingPercentage = parts[1] ? parts[1] : 100;
if ( this.currentRatingPercentage === '00' ) {
this.currentRatingPercentage = 100;
}
},
setCheckedStar( target ) {
const cardRatingContainer = target.closest( '.tasty-recipes-ratings-buttons' );
const selectedRatingElement = cardRatingContainer.querySelector( '[data-tr-checked]' );
if ( selectedRatingElement ) {
delete selectedRatingElement.dataset.trChecked;
}

const thisStar = target.closest( '.tasty-recipes-rating' );
thisStar.dataset.trChecked = 1;
thisStar.querySelector( '[data-tr-clip]' ).dataset.trClip = 100;
},
maybeFillCommentForm( data ) {
if ( ! data.comment || ! data.comment.content ) {
return;
}

const commentForm = document.querySelector( '#commentform' );
if ( ! commentForm ) {
return;
}

const commentBox = commentForm.querySelector( '[name=comment]' );
if ( ! commentBox || commentBox.value ) {
return;
}

// Add comment details for editing.
commentBox.innerHTML = data.comment.content;
if ( data.comment.name ) {
commentForm.querySelector( '[name=author]' ).value = data.comment.name;
commentForm.querySelector( '[name=email]' ).value = data.comment.email;
}
},
maybeResetTooltip( recipeCardElement, data, rating ) {
if ( this.savingRating === rating ) {
this.resetTooltip( recipeCardElement, data );
}
},
resetTooltip( recipeCardElement, data ) {
window.TastyRecipes.staticTooltip.destroy();
this.savingRating = false;

// Reset the default rating.
const cardRatingContainer = recipeCardElement.querySelector( '.tasty-recipes-ratings-buttons' );
if ( cardRatingContainer ) {
this.defaultRating = ( data && data.average ) ? data.average.toFixed(1) : cardRatingContainer.dataset.trDefaultRating;
cardRatingContainer.dataset.trDefaultRating = this.defaultRating;

this.resetSelectedStar( cardRatingContainer, data );
}
},
resetSelectedStar( cardRatingContainer ) {
const selectedRatingElement = cardRatingContainer.querySelector( '[data-rating="' + Math.ceil( this.defaultRating ) + '"]' );
if ( selectedRatingElement ) {
selectedRatingElement.querySelector( '[data-tr-clip]' ).dataset.trClip = this.currentRatingPercentage;
selectedRatingElement.parentNode.dataset.trChecked = 1;
}

const previousSelectedElement= cardRatingContainer.querySelector( '[data-tr-checked]' );
if ( previousSelectedElement ) {
const currentSelectedRating = previousSelectedElement.querySelector('[data-rating]');
if ( currentSelectedRating !== selectedRatingElement ) {
delete previousSelectedElement.dataset.trChecked;
}
}
},
backwardCompFormRatingPosition() {
const ratingsButtons = document.querySelector( '#respond .tasty-recipes-ratings-buttons, #tasty-recipes-comment-rating .tasty-recipes-ratings-buttons' );
if ( ! ratingsButtons ) {
return;
}
const ratingsButtonsStyles = window.getComputedStyle(ratingsButtons);
if ( ! ratingsButtonsStyles.display.includes( 'flex' ) ) {
ratingsButtons.style.direction = 'rtl';
}

if ( typeof tastyRecipesRating !== 'undefined' ) {
// Select the rating that was previously selected in admin.
ratingsButtons.querySelector( '.tasty-recipes-rating[value="' + tastyRecipesRating + '"]' ).checked = true;
}

const ratingSpans = ratingsButtons.querySelectorAll( '.tasty-recipes-rating' );
for (const ratingSpan of ratingSpans) {
ratingSpan.addEventListener( 'click', event => {
if ( ratingSpan === event.target ) {
return;
}
ratingSpan.previousElementSibling.click();
} );
}
}
};

(function(callback) {
if (document.readyState !== "loading") {
callback();
} else {
window.addEventListener( 'load', callback );
}
})(() => {
window.TastyRecipes.ratings.init( window.trCommon ? window.trCommon.minRating : 4 );
});
</script></div>


<figure class="wp-block-image"><img decoding="async" width="410" height="173" data-pin-title="Chocolate Chip Cookie Dough Balls" src="https://joyoliver.com/wp-content/uploads/2019/05/Joy-Oliver-Signature-410x173.png" alt="" class="wp-image-4929" srcset="https://joyoliver.com/wp-content/uploads/2019/05/Joy-Oliver-Signature-410x173.png 410w, https://joyoliver.com/wp-content/uploads/2019/05/Joy-Oliver-Signature.png 726w" sizes="(max-width: 410px) 100vw, 410px" /></figure>
<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&amp;linkname=Chocolate%20Chip%20Cookie%20Dough%20Balls" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&amp;linkname=Chocolate%20Chip%20Cookie%20Dough%20Balls" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&amp;linkname=Chocolate%20Chip%20Cookie%20Dough%20Balls" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_tumblr" href="https://www.addtoany.com/add_to/tumblr?linkurl=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&amp;linkname=Chocolate%20Chip%20Cookie%20Dough%20Balls" title="Tumblr" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_yummly" href="https://www.addtoany.com/add_to/yummly?linkurl=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&amp;linkname=Chocolate%20Chip%20Cookie%20Dough%20Balls" title="Yummly" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fjoyoliver.com%2Fchocolate-chip-cookie-dough-balls%2F&#038;title=Chocolate%20Chip%20Cookie%20Dough%20Balls" data-a2a-url="https://joyoliver.com/chocolate-chip-cookie-dough-balls/" data-a2a-title="Chocolate Chip Cookie Dough Balls"></a></p>]]></content:encoded>
			<wfw:commentRss>https://joyoliver.com/chocolate-chip-cookie-dough-balls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
