Introduction and Quick Summary
Zucchini muffins are a delightful treat that seamlessly blend health and indulgence. These moist and flavorful bites incorporate fresh zucchini, making them a nutritious option for breakfast or an afternoon snack. The beauty of this recipe lies in its simplicity; it requires minimal ingredients yet delivers maximum flavor. Whether you’re looking to sneak some veggies into your diet or simply want to enjoy a delicious muffin, this recipe is perfect for all occasions.
These delightful muffins can be enjoyed warm from the oven or stored for later munching. Perfectly spiced with cinnamon and nutmeg, they offer a warm depth of flavor that pairs beautifully with the subtle sweetness of the zucchini. You can also customize your muffins by adding nuts or chocolate chips for an extra treat. This recipe not only caters to those seeking healthier options but also satisfies sweet cravings without compromising taste.
In just a few steps, you can whip up a batch of these scrumptious zucchini muffins that are sure to impress family and friends alike. They are ideal for meal prep; bake them on a Sunday and enjoy them throughout the week! Let’s dive into the ingredients needed to create these mouthwatering delights.

Main Ingredients
Zucchini
The star ingredient in these muffins is undoubtedly the fresh zucchini. You will need about 2 cups of grated zucchini, which is roughly two medium-sized zucchinis. When choosing your zucchinis, opt for firm ones with smooth skin and avoid any that appear soft or blemished. Grating the zucchini adds moisture to the muffins without making them soggy. It’s essential to squeeze out excess moisture using a clean kitchen towel after grating; this step ensures your muffins have the right texture.
All-Purpose Flour
For this recipe, you will require 1 ½ cups of all-purpose flour. This versatile ingredient serves as the foundation of your muffin batter. While whole wheat flour can be used for a healthier option, all-purpose flour provides the best texture and rise for these muffins. Be sure to spoon the flour into your measuring cup rather than scooping it directly from the bag; this helps prevent dense muffins caused by packing too much flour.
Sugar
You will need ¾ cup of granulated sugar for sweetness. This amount balances well with the natural sweetness of zucchini while allowing other flavors like cinnamon and vanilla to shine through. If you’re watching your sugar intake, you can consider substitutes like coconut sugar or even applesauce for a lower-calorie option; however, this may slightly alter the taste and texture.
Eggs
Two large eggs are essential for binding your ingredients together in this recipe. Eggs add structure and moisture to the muffins while contributing to their rich flavor profile. If you prefer a vegan alternative or if you’re out of eggs, try using flaxseed meal mixed with water (1 tablespoon of flaxseed meal combined with 2.5 tablespoons of water equals one egg) as an effective substitute.
Baking Powder & Baking Soda
You’ll need 1 teaspoon each of baking powder and baking soda for leavening purposes. These ingredients help your muffins rise beautifully while creating a light and fluffy texture. Ensure that both are fresh; expired leavening agents can lead to flat muffins that lack structure.
Cinnamon & Nutmeg
Finally, spices like 1 teaspoon of ground cinnamon and ½ teaspoon of ground nutmeg enhance the overall flavor profile of your zucchinis by providing warmth and depth. These spices complement the natural sweetness from both the zucchinis and sugar perfectly.
How to Prepare Zucchini Muffins
Preheat Your Oven
Start by preheating your oven to 350°F (175°C). Preheating is crucial because it ensures that your batter begins cooking immediately upon hitting the pan—leading to optimal rise and texture in your finished product. While waiting for your oven to reach temperature, gather all your ingredients together on a clean workspace; having everything within reach makes preparation smoother.
Prepare Your Muffin Tin
Next, prepare your muffin tin by either greasing it lightly with cooking spray or lining it with paper liners for easy removal after baking. If you choose not to use liners, ensure that every cavity is well-greased; otherwise, you may find yourself wrestling with sticky muffins later on! Using liners also offers neatness when serving—perfect if you’re sharing with friends or family.
Mix Dry Ingredients
In a large mixing bowl, combine all-purpose flour (1 ½ cups), granulated sugar (¾ cup), baking powder (1 teaspoon), baking soda (1 teaspoon), ground cinnamon (1 teaspoon), ground nutmeg (½ teaspoon), and salt (½ teaspoon). Whisk these dry ingredients together until evenly mixed; this step ensures that leavening agents are distributed throughout so each muffin rises uniformly during baking.
Mix Wet Ingredients
In another bowl, whisk together two large eggs until they are light in color—about one minute should suffice. Then add grated zucchini along with melted butter (⅓ cup) or vegetable oil if preferred for moisture retention during baking; include vanilla extract (1 teaspoon) at this stage as well for added flavor complexity.
Combine Wet & Dry Ingredients
Gently fold wet ingredients into dry ones using a spatula or wooden spoon until just combined—be cautious not to overmix! Overmixing can result in tough muffins instead of tender ones due to gluten formation from too much stirring action—a common mistake many bakers make without realizing it!
Fill Muffin Tin & Bake
Spoon generous portions of batter into each prepared muffin cavity—fill them about two-thirds full so there’s room for rising while they bake! Carefully place them in the preheated oven set at 350°F (175°C) before closing shut gently—bake between 20-25 minutes until golden brown tops form while inserting toothpicks comes out clean when tested from center regions! If you notice browning too quickly around edges after around 15 minutes’ mark then cover loosely with aluminum foil ensuring continued cooking without burning outer layers!
Cool Before Serving
Once baked adequately remove from oven carefully placing onto wire racks allowing cooling time as they settle down before serving—this process usually takes about ten minutes but allows flavors meld together even more enhancing overall enjoyment factor when tasting!
Serving and Storing Tips
Serving Your Zucchini Muffins
Serve these delicious zucchini muffins warm alongside butter or cream cheese spread atop each piece if desired—the rich flavors pair beautifully enhancing experience overall whether enjoyed during breakfast hours paired alongside coffee tea beverages alike! You can also serve them as an afternoon snack at home gatherings where friends family converge sharing laughter stories while nibbling on tasty treats complementing drinks served nearby!
If you’d like variety within serving options consider presenting muffin halves topped off with fresh fruits such as strawberries blueberries drizzled lightly over honey syrup adds refreshing twist elevating experience further enticing guests palates drawing raves compliments alike!
Storing Leftover Muffins
To store leftover zucchini muffins properly place cooled ones into airtight containers sealing tightly ensuring freshness preservation up till five days maximum duration spanning various temperatures ranging between room chilling methods utilized effectively prolong shelf life significantly reducing wastefulness often associated baked goods consumption habits observed frequently amongst households nowadays!
For longer-term storage freezing works wonderfully too just wrap individual pieces tightly using plastic wrap followed by placing inside freezer-safe bags labeled accordingly noting date created reminding everyone enjoying later without losing track time elapsed since creation moment occurred previously!

Mistakes to avoid:
One common mistake when making Zucchini Muffins is not properly preparing the zucchini. Many people simply grate the zucchini and add it to the batter without removing excess moisture. This can lead to soggy muffins that don’t rise well. To avoid this, thoroughly drain the grated zucchini using a clean kitchen towel or paper towels. Squeeze out as much liquid as possible before incorporating it into your mixture. Not only will this help achieve a better texture, but it will also enhance the flavor of your muffins.
Another pitfall is overmixing the batter. When combining wet and dry ingredients, it’s crucial to mix just until everything is incorporated. Overmixing can develop gluten, resulting in dense and tough muffins rather than light and fluffy ones. Stir gently with a spatula or wooden spoon until you no longer see dry flour. A few lumps are perfectly fine! By treating the batter delicately, you’ll ensure your Zucchini Muffins have a delightful crumb.
Additionally, some bakers forget to check their oven temperature before baking Zucchini Muffins. An incorrect temperature can drastically affect the outcome of your muffins. If your oven runs hot, your muffins might cook too quickly on the outside while remaining raw on the inside. Use an oven thermometer for an accurate reading, and preheat your oven completely before baking to guarantee even cooking.
Lastly, neglecting to taste the batter can be a mistake that many make. Adjusting flavors before baking allows you to perfect your muffins according to your preference. If you find that the batter is lacking sweetness or spice, this is your chance to adjust it before putting it in the oven. Always remember that what goes into the oven should be exactly how you want it to taste!
Tips and tricks:
To create perfect Zucchini Muffins, start with fresh ingredients. Using fresh zucchinis not only enhances flavor but also ensures optimal moisture levels in your mixture. Look for firm zucchinis with shiny skin when shopping; they should feel heavy for their size. Storing them properly in a cool place will keep them fresh longer and improve their quality when baked into muffins.
Another helpful tip is experimenting with spices and flavorings in your recipe. Adding cinnamon, nutmeg, or vanilla extract can elevate the taste of your Zucchini Muffins significantly. These additions provide warmth and richness that complements the subtle flavor of zucchini beautifully. Don’t hesitate to adjust spices based on personal preference or even try out unique variations like adding chocolate chips or nuts for added texture.
Consider using different types of flour as well; whole wheat flour can give a nutty flavor while adding more fiber than regular all-purpose flour. Alternatively, gluten-free options like almond flour can cater to those with dietary restrictions without sacrificing taste or texture. Be mindful of adjusting liquid ratios accordingly if you decide to switch flours since different types absorb moisture differently.
Lastly, let your muffins cool properly after baking before storing them away or serving them up! Cooling allows them to set correctly and makes them easier to remove from muffin tins without falling apart. Once cooled completely, store them in an airtight container at room temperature for up to three days or in the refrigerator for about a week.

Suggestions for Zucchini Muffins:
When considering toppings for Zucchini Muffins, think about adding a layer of cream cheese frosting or a simple glaze made from powdered sugar and milk for extra sweetness and richness on top of each muffin! Cream cheese pairs wonderfully with zucchini’s natural moisture while also providing a delicious contrast in flavors that keeps everyone coming back for more.
You might also consider varying the type of nuts or seeds added into your muffin mix! Chopped walnuts are traditional; however, pecans or sunflower seeds could lend unique textures and flavors as well! Toasting these ingredients lightly beforehand enhances their flavor further; just be careful not to burn them!
Another great suggestion is making mini-muffin versions of these treats! Mini Zucchini Muffins are ideal for children’s snacks or portion control if you’re looking for something lighter post-meal without feeling guilty about indulging too much! Adjust baking time down accordingly by checking them around 10-12 minutes instead of 20-25 minutes typical for regular-sized muffins.
Finally, consider freezing any leftovers once cooled completely! Properly wrapped in plastic wrap followed by aluminum foil prevents freezer burn while keeping them fresh for months ahead whenever cravings strike! Just reheat directly from frozen at 350°F until warmed through—perfectly convenient!
FAQs:
What makes Zucchini Muffins moist?
Zucchini Muffins achieve their moistness primarily due to freshly grated zucchini’s natural water content. When incorporated into the batter, this moisture helps create a tender crumb that keeps muffins soft even after baking. However, it’s essential not to overload on zucchini; otherwise, they may become too soggy if excess water is retained during preparation.
Can I substitute other vegetables in my muffin recipe?
Yes! While zucchini is popular due its mild flavor profile suitable alongside sweet elements within baked goods like muffins—you could also experiment with carrots or even mashed bananas depending on desired sweetness levels! Keep in mind that vegetable moisture contents will differ so adjustments may be necessary regarding other liquid components within recipes!
How do I know when my Zucchini Muffins are done baking?
To determine if your Zucchini Muffins are finished baking successfully—a toothpick inserted into one should come out clean (or only slightly crumb-like). Additionally—grown golden brown tops indicate readiness typically around 20-25 minutes at 350°F (175°C). Always ensure edges pull away from pan sides slightly indicating proper set-up throughout!
Can I make these muffins vegan?
Absolutely! There are simple substitutions available allowing anyone wanting vegan-friendly options without sacrificing taste nor texture: swapping eggs can be done using flaxseed meal combined with water instead while replacing dairy milk products would involve non-dairy alternatives like almond milk easily fitting into most recipes seamlessly!
Are there gluten-free options available?
Definitely! Gluten-free flours such as almond flour or coconut flour work exceptionally well combined together providing delicious alternatives suitable even among those avoiding gluten altogether! Just remember: adjustments may arise concerning liquid ratios based upon chosen flour types when substituting standard all-purpose varieties previously included within original recipes!
What’s the best way to store leftover Zucchini Muffins?
Once cooled completely—place leftover muffins inside airtight containers at room temperature where they’ll last approximately three days before needing refrigeration extending shelf life another week maximum! Alternatively—freeze extras wrapped tightly preventing freezer burn extending enjoyment much longer than anticipated too!
Conclusion:
In summary, creating delicious Zucchini Muffins involves knowing common mistakes such as improperly preparing zucchini and overmixing batter which can lead to undesirable textures in baked goods overall! By implementing tips like using fresh ingredients along with experimenting flavors through spices & nuts—bakers will elevate their creations significantly while ensuring delightful results every time they bake.
Moreover—exploring alternative vegetables opens doors towards exciting new combinations alongside customizing portions whether opting mini-muffin styles instead big ones appealing especially kids too!. Lastly—remember proper storage techniques help maintain freshness allowing everyone indulgence whenever cravings arise later down road!
With these insights at hand—feel empowered taking on any recipe confidently producing scrumptious results enjoyed by family friends alike—all thanks amazing versatile nature found within simple yet satisfying world known today as beloved “Zucchini Muffins”!
.tasty-recipes-print-button{background-color:#667;border:none;display:inline-block;padding:.5em 1em;text-decoration:none}body:not(.tasty-recipes-print-view) .tasty-recipes-print-button.tasty-recipes-print-above-card{color:#fff;display:none}body:not(.tasty-recipes-print-view) .tasty-recipes-print-button.tasty-recipes-print-above-card:hover{background-color:#b2b2bb;color:#fff;display:inline-block;padding:.5em 1em;text-decoration:none}.tasty-recipes-image-button-container{display:flex;flex-direction:column;flex-wrap:wrap;float:right;margin-left:10px}body.tasty-recipes-print-view .tasty-recipes-buttons{display:none}.tasty-recipes-image-button-container .tasty-recipes-buttons{margin-bottom:10px;margin-top:10px}.tasty-recipes-image-button-container .tasty-recipes-button-wrap{box-sizing:border-box;margin-bottom:10px}.tasty-recipes-image-button-container .tasty-recipes-buttons a{background-color:#f9f9f9;border:1px solid #aaa;border-radius:0;color:#aaa;display:block;font-size:16px;font-weight:700;line-height:16px;margin-top:0;padding:8px;text-align:center;text-decoration:none;text-transform:uppercase}.tasty-recipes-image-button-container .tasty-recipes-buttons .button:hover{background-color:#aaa;border:1px solid #aaa;color:#fff;opacity:1}.tasty-recipes-image-button-container .tasty-recipes-buttons a:hover{background-color:#979599;text-decoration:none}.tasty-recipes-image-button-container .tasty-recipes-buttons svg{display:none}.tasty-recipes-yield-scale{border:1px solid #979599;border-radius:2px;color:#979599;font-size:.7rem;margin-left:3px;padding:0 4px}.tasty-recipes-units-scale-container{display:flex;flex-wrap:wrap}.tasty-recipes-convert-container{padding:0 1em 1em 0}.tasty-recipes-convert-container .tasty-recipes-convert-label{align-self:center;color:#979599;font-size:.6rem;text-transform:uppercase}.tasty-recipes-convert-container button{background:transparent;border:1px solid #353547;border-radius:2px;color:#353547;letter-spacing:0;margin-left:5px;min-width:34px;padding:2px 4px;text-align:center}.tasty-recipes-convert-container button.tasty-recipes-convert-button-active{background-color:#000;border-color:#000;color:#fff}.tasty-recipes-convert-container button:focus{outline:none}.tasty-recipes-scale-container{display:flex;padding:0 0 1em}.tasty-recipes-scale-container .tasty-recipes-scale-label{align-self:center;color:#979599;font-size:.6rem;text-transform:uppercase}.tasty-recipes-scale-container button{background:transparent;border:1px solid #353547;border-radius:2px;color:#353547;letter-spacing:0;margin-left:5px;min-width:34px;padding:2px 4px}.tasty-recipes-scale-container button.tasty-recipes-scale-button-active{background-color:#000;border-color:#000;color:#fff}.tasty-recipes-scale-container button:focus{outline:none}.tasty-recipes-ingredients-header{margin:1em 0}@media only screen and (min-width:520px){.tasty-recipes-ingredients-header{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}}.tasty-recipes-ingredients-header .tasty-recipes-ingredients-clipboard-container{align-items:baseline;display:inline-flex}.tasty-recipes-ingredients-header h3{margin:0 10px 10px 0}.tasty-recipes-ingredients-clipboard-container .tasty-recipes-copy-button{background:transparent;border:none;color:#353547;height:24px;padding:0;position:relative;width:24px}.tasty-recipes-ingredients-clipboard-container .tasty-recipes-copy-button:hover{opacity:.5}.tasty-recipes-instructions-header{align-items:baseline;display:flex;flex-wrap:wrap;justify-content:space-between;margin:1em 0}.tasty-recipes-entry-content .tasty-recipes-instructions h3{margin:0 0 1rem}@media only screen and (min-width:520px){.tasty-recipes-entry-content .tasty-recipes-instructions h3{margin:0}}button[name=tasty-recipes-video-toggle]{background:#979599;border:#979599;border-radius:2px;display:inline-block;font-size:14px;height:30px;line-height:20px;margin:0;padding:0;text-align:center;vertical-align:middle;width:86px}button[name=tasty-recipes-video-toggle] span{padding:0 4px;pointer-events:none}button[name=tasty-recipes-video-toggle][aria-checked=false] :last-child,button[name=tasty-recipes-video-toggle][aria-checked=true] :first-child{background:#fff;border-radius:2px;color:#979599;padding:2px 4px}button[name=tasty-recipes-video-toggle][aria-checked=false] :first-child,button[name=tasty-recipes-video-toggle][aria-checked=true] :last-child{color:#fff}label[for=tasty-recipes-video-toggle]{color:#979599;font-size:.6rem;line-height:30px;padding-right:8px;text-transform:uppercase;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;-o-user-select:none;vertical-align:middle}.tasty-recipe-responsive-iframe-container{margin:10px 0}.tasty-recipes-equipment{display:flex;flex-wrap:wrap;justify-content:space-evenly}.tasty-recipes-equipment>h3{flex:0 0 100%}.tasty-recipes-equipment .tasty-link-card{flex:0 0 50%;padding:1.5rem 1rem;text-align:center}@media screen and (min-width:500px){.tasty-recipes-equipment .tasty-link-card{flex:0 0 33%}}.tasty-recipes-equipment .tasty-link-card p{font-size:1em;font-weight:700;margin-bottom:0}.tasty-recipes-equipment .tasty-link-card p a{color:initial}.tasty-recipes-equipment .tasty-link-card span{font-size:.9em}.tasty-recipes .tasty-recipes-nutrition ul{list-style-type:none;margin:0;padding:0}.tasty-recipes .tasty-recipes-nutrition ul:after{clear:both;content:” “;display:block}.tasty-recipes .tasty-recipes-nutrition li{float:left;list-style-type:none;margin-bottom:0;margin-left:0;margin-right:16px}.tasty-recipes-plug{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:1em;text-align:center}.tasty-recipes-plug a{box-shadow:none;text-decoration:none}.tasty-recipes-plug a img{display:inline-block;height:auto;margin:5px 0 0 8px;width:150px}.tasty-recipes-footer-content{padding:1.5em;text-align:center}.tasty-recipes-footer-content .tasty-recipes-footer-copy{margin-left:0}.tasty-recipes-footer-content img,.tasty-recipes-footer-content svg{width:60px}.tasty-recipes-entry-content .tasty-recipes-entry-footer h3{font-size:1.25em;margin:0 0 .25em;padding:0}.tasty-recipes-entry-footer p{font-size:.75em;margin:0}.tasty-recipes-entry-footer p a{border-bottom:none;box-shadow:none;text-decoration:underline}.tasty-recipes-flash-message{background-color:#fff;border-radius:4px;box-shadow:0 .3px .4px 0 rgba(0,0,0,.024),0 .9px 1.5px 0 rgba(0,0,0,.05),0 3.5px 6px 0 rgba(0,0,0,.1);color:#313135;display:inline-block;font-size:13px;letter-spacing:0;line-height:1.2em;margin-left:10px;padding:4px 10px}@media screen and (min-width:500px){.tasty-recipes-flash-message{padding:4px 10px}}.tasty-recipes-flash-message p{margin:0;padding:0;text-transform:none}@media screen and (min-width:500px){.tasty-recipes-footer-content{align-items:center;display:flex;justify-content:center;padding:1.5em 0;text-align:left}.tasty-recipes-footer-content .tasty-recipes-footer-copy{margin-left:.8em}}@media print{.tasty-recipes-no-print,.tasty-recipes-no-print *{display:none!important}}[data-tr-ingredient-checkbox]{cursor:pointer;list-style-position:outside;list-style-type:none!important;margin-left:0!important}[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container{position:relative}[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]+label{display:inline-block;position:relative;vertical-align:middle}[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]+label:before{border:1px solid;border-radius:2px;content:””;display:inline-block;height:20px;margin-right:10px;position:relative;width:20px}[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]:checked+label:after{border-bottom:2px solid;border-left:2px solid;content:””;display:inline-block;height:6px;left:4px;position:absolute;top:4px;transform:rotate(-45deg);width:12px}[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]:focus+label:before{box-shadow:0 0 8px #5e9ed6;outline:1px solid #5d9dd5}[data-tr-ingredient-checkbox=checked]{opacity:.8;text-decoration:line-through}/* Bold recipe card styles. */ .tasty-recipes{border:5px solid #667;margin-top:6em;margin-bottom:4em}.tasty-recipes.tasty-recipes-has-plug{margin-bottom:1em}.tasty-recipes-plug{margin-bottom:4em}.tasty-recipes-print-button{display:none}.tasty-recipes-image-shim{height:69.5px;clear:both}.tasty-recipes-entry-header{background-color:#667;color:#fff;text-align:center;padding-top:35px;padding-bottom:1.5em;padding-left:2.5em;padding-right:2.5em}.tasty-recipes-entry-header.tasty-recipes-has-image{padding-top:0px}.tasty-recipes-entry-header .tasty-recipes-image{float:none;text-align:center;transform:translateY(-115px);margin-bottom:1em;/* Decide if we need this */}.tasty-recipes-entry-header .tasty-recipes-image img{-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;border:5px solid #667;height:150px;width:150px;display:inline-block;object-fit:cover}.tasty-recipes-entry-header h2{font-size:2em;font-weight:400;text-transform:lowercase;margin-bottom:0;text-align:center;color:#fff;margin-top:0;padding-top:0;padding-bottom:0}.tasty-recipes-has-image .tasty-recipes-entry-header h2{margin-top:-115px}.tasty-recipes-entry-header hr{border:1px solid #b7bbc6;background-color:#b7bbc6;margin-bottom:1em;margin-top:1em}.tasty-recipes-entry-header div.tasty-recipes-rating{text-decoration:none;border:none}.tasty-recipes-entry-header .tasty-recipes-rating:hover{text-decoration:none}.tasty-recipes-entry-header div.tasty-recipes-rating{font-size:1.375em;display:block}.tasty-recipes-entry-header .tasty-recipes-rating p{margin-bottom:0}.tasty-recipes-entry-header span.tasty-recipes-rating{margin-left:0.25em;margin-right:0.25em;color:#fff}.tasty-recipes-entry-header .rating-label{font-style:italic;color:#b7bbc6;font-size:0.6875em;display:block}.tasty-recipes-entry-header .tasty-recipes-details{margin-top:1em}.tasty-recipes-entry-header .tasty-recipes-details ul{list-style-type:none;margin:0}.tasty-recipes-entry-header .tasty-recipes-details ul li{display:inline-block;margin-left:0.5em;margin-right:0.5em;font-size:1em;line-height:2.5em;color:#fff}@media only screen and (max-width:520px){.tasty-recipes-entry-header .tasty-recipes-details .detail-icon{height:0.8em;margin-top:0.4em}.tasty-recipes-entry-header .tasty-recipes-details ul li{font-size:0.875em;line-height:1.75em}}@media only screen and (min-width:520px){.tasty-recipes-entry-header .tasty-recipes-details .detail-icon{height:1em;margin-top:0.6em}.tasty-recipes-entry-header .tasty-recipes-details ul li{font-size:1em;line-height:2.5em}}.tasty-recipes-entry-header .tasty-recipes-details .tasty-recipes-label{font-style:italic;color:#b7bbc6;margin-right:0.125em}.tasty-recipes-entry-header .tasty-recipes-details .detail-icon{vertical-align:top;margin-right:0.2em;display:inline-block;color:#FFF}.tasty-recipes-entry-header .tasty-recipes-details .author a{color:inherit;text-decoration:underline}.tasty-recipes-entry-content{padding-top:1.25em}.tasty-recipes-entry-content .tasty-recipes-buttons{margin-bottom:1.25em;margin-left:1.25em;margin-right:1.25em}.tasty-recipes-entry-content .tasty-recipes-buttons:after{content:’ ‘;display:block;clear:both}.tasty-recipes-entry-content .tasty-recipes-button-wrap{width:50%;display:inline-block;float:left;box-sizing:border-box}.tasty-recipes-entry-content .tasty-recipes-buttons a{text-transform:uppercase;text-align:center;display:block;color:#fff;background-color:#667;font-size:1em;line-height:1.375em;padding-top:1em;padding-bottom:1em;font-weight:bold;margin-top:0;border:none;border-radius:0;text-decoration:none}.tasty-recipes-entry-content a img{box-shadow:none;-webkit-box-shadow:none}.tasty-recipes-entry-content .tasty-recipes-buttons a:hover{background-color:#979599;text-decoration:none}.tasty-recipes-entry-content .tasty-recipes-buttons img{vertical-align:top}.tasty-recipes-entry-content .tasty-recipes-buttons .svg-print,.tasty-recipes-entry-content .tasty-recipes-buttons .svg-pinterest,.tasty-recipes-entry-content .tasty-recipes-buttons .svg-heart-regular,.tasty-recipes-entry-content .tasty-recipes-buttons .svg-heart-solid{height:1.25em;margin-right:0.375em;margin-bottom:0;background:none;display:inline-block;vertical-align:middle}@media only screen and (min-width:520px){.tasty-recipes-entry-content .tasty-recipes-button-wrap:first-child{padding-right:0.625em}.tasty-recipes-entry-content .tasty-recipes-button-wrap:last-child{padding-left:0.625em}}@media only screen and (max-width:520px){.tasty-recipes-entry-content .tasty-recipes-button-wrap{width:100%}.tasty-recipes-entry-content .tasty-recipes-button-wrap:nth-child(2){padding-top:1em}}.tasty-recipes-entry-content h3{text-transform:uppercase;font-size:0.75em;color:#979599;margin:1.5em 0}.tasty-recipes-ingredients-header,.tasty-recipes-instructions-header{margin:1.5em 0}.tasty-recipes-entry-content h4{font-size:1em;padding-top:0;margin-bottom:1.5em;margin-top:1.5em}.tasty-recipes-entry-content hr{background-color:#eae9eb;border:1px solid #eae9eb;margin-top:1em;margin-bottom:1em}.tasty-recipes-entry-content .tasty-recipes-description,.tasty-recipes-entry-content .tasty-recipes-ingredients,.tasty-recipes-entry-content .tasty-recipes-instructions,.tasty-recipes-entry-content .tasty-recipes-keywords{padding-left:1.25em;padding-right:1.25em}.tasty-recipes-entry-content .tasty-recipes-description h3{display:none}.tasty-recipes-entry-content .tasty-recipes-description p{margin-bottom:1em}.tasty-recipes-entry-content .tasty-recipes-ingredients ul,.tasty-recipes-entry-content .tasty-recipes-instructions ul{list-style-type:none;margin-left:0;margin-bottom:1.5em;padding:0}.tasty-recipes-entry-content .tasty-recipes-ingredients ul li,.tasty-recipes-entry-content .tasty-recipes-instructions ul li{margin-bottom:0.625em;list-style-type:none;position:relative;margin-left:1.5em;line-height:1.46}.tasty-recipes-entry-content .tasty-recipes-ingredients ul li:before,.tasty-recipes-entry-content .tasty-recipes-instructions ul li:before{background-color:#667;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;height:0.5em;width:0.5em;display:block;content:’ ‘;left:-1.25em;top:0.375em;position:absolute}.tasty-recipes-entry-content .tasty-recipes-ingredients ol,.tasty-recipes-entry-content .tasty-recipes-instructions ol{counter-reset:li;margin-left:0;padding:0}.tasty-recipes-entry-content .tasty-recipes-ingredients ol>li,.tasty-recipes-entry-content .tasty-recipes-instructions ol>li{list-style-type:none;position:relative;margin-bottom:1em;margin-left:1.5em;line-height:1.46}.tasty-recipes-entry-content .tasty-recipes-ingredients ol>li:before,.tasty-recipes-entry-content .tasty-recipes-instructions ol>li:before{content:counter(li);counter-increment:li;position:absolute;background-color:#667;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;height:1.45em;width:1.45em;color:#fff;left:-1.25em;transform:translateX(-50%);line-height:1.5em;font-size:0.6875em;text-align:center;top:0.1875em}.tasty-recipes-entry-content .tasty-recipes-ingredients li li,.tasty-recipes-entry-content .tasty-recipes-instructions li li{margin-top:0.625em}.tasty-recipes-entry-content .tasty-recipes-ingredients li ul,.tasty-recipes-entry-content .tasty-recipes-ingredients li ol,.tasty-recipes-entry-content .tasty-recipes-instructions li ul,.tasty-recipes-entry-content .tasty-recipes-instructions li ol{margin-bottom:0}.tasty-recipes-entry-content .tasty-recipes-equipment{padding-left:1.25em;padding-right:1.25em}.tasty-recipes-entry-content .tasty-recipe-video-embed~.tasty-recipes-equipment{padding-top:1em}.tasty-recipes-entry-content .tasty-recipes-notes{padding:1.25em;background-color:#edf0f2}.tasty-recipes-entry-content .tasty-recipes-notes ol{counter-reset:li;margin-left:0;padding:0}.tasty-recipes-entry-content .tasty-recipes-notes ul{margin-left:0;padding:0}.tasty-recipes-entry-content .tasty-recipes-notes p,.tasty-recipes-entry-content .tasty-recipes-notes ul,.tasty-recipes-entry-content .tasty-recipes-notes ol{background-color:#fff;padding-left:1.5625em;padding-right:1.5625em;padding-top:1.25em;padding-bottom:1.25em;margin-bottom:1.5em;position:relative;-webkit-clip-path:polygon(20px 0,100% 0,100% 100%,0 100%,0 20px);clip-path:polygon(20px 0,100% 0,100% 100%,0 100%,0 20px)}@media only screen and (min-width:520px){.tasty-recipes-entry-content .tasty-recipes-notes ul,.tasty-recipes-entry-content .tasty-recipes-notes ol{margin-left:2em}.tasty-recipes-entry-content .tasty-recipes-notes p,.tasty-recipes-entry-content .tasty-recipes-notes ul li,.tasty-recipes-entry-content .tasty-recipes-notes ol li{padding-left:2.5em}.tasty-recipes-entry-content .tasty-recipes-notes ul li,.tasty-recipes-entry-content .tasty-recipes-notes ol li{position:relative;list-style:none;padding-top:1em;margin-left:0;margin-bottom:0}.tasty-recipes-entry-content .tasty-recipes-notes p:before,.tasty-recipes-entry-content .tasty-recipes-notes ul li:before{content:’i’;display:block;background-color:#667;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;height:1.3em;width:1.3em;font-size:0.75em;line-height:1.3em;text-align:center;color:#fff;position:absolute;left:1.167em;top:1.9em}.tasty-recipes-entry-content .tasty-recipes-notes ol>li:before{content:counter(li);counter-increment:li;position:absolute;background-color:#667;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;height:1.45em;width:1.45em;color:#fff;left:2em;transform:translateX(-50%);line-height:1.5em;font-size:0.6875em;text-align:center;top:2em}}.tasty-recipes-entry-content .tasty-recipes-notes p:last-child{margin-bottom:0}.tasty-recipes-entry-content .tasty-recipes-other-details{background-color:#edf0f2;padding:0 1.25em 1.25em}.tasty-recipes-entry-content .tasty-recipes-other-details ul{color:#667;display:flex;flex-wrap:wrap;font-size:0.85rem;list-style:none;margin-bottom:0}.tasty-recipes-entry-content .tasty-recipes-other-details ul li{margin:0 0.5rem;list-style:none}.tasty-recipes-entry-content .tasty-recipes-other-details ul li .tasty-recipes-label{font-style:italic}.tasty-recipes-entry-content .tasty-recipes-other-details .detail-icon{color:#667;vertical-align:top;margin-right:0.2em;display:inline-block}@media only screen and (max-width:520px){.tasty-recipes-entry-content .tasty-recipes-other-details .detail-icon{height:0.8em;margin-top:0.4em}.tasty-recipes-entry-content .tasty-recipes-other-details ul li{font-size:0.875em;line-height:1.75em}}@media only screen and (min-width:520px){.tasty-recipes-entry-content .tasty-recipes-other-details .detail-icon{height:1em;margin-top:0.8em}.tasty-recipes-entry-content .tasty-recipes-other-details ul li{font-size:1em;line-height:2.5em}}.tasty-recipes-entry-content .tasty-recipes-keywords{background-color:#edf0f2;padding-bottom:1em;padding-top:1em}.tasty-recipes-entry-content .tasty-recipes-keywords p{font-size:0.7em;font-style:italic;color:#979599;margin-bottom:0}.tasty-recipes-entry-content .tasty-recipes-keywords p span{font-weight:bold}.tasty-recipes-nutrifox{text-align:center;margin:0}.nutrifox-label{background-color:#edf0f2}.tasty-recipes-nutrifox iframe{width:100%;display:block;margin:0}.tasty-recipes-entry-content .tasty-recipes-nutrition{padding:1.25em;color:#667}.tasty-recipes-nutrition .tasty-recipes-label{font-style:italic;color:#b7bbc6;margin-right:0.125em;font-weight:400}.tasty-recipes-nutrition ul li{float:none;display:inline-block;line-height:2em;margin:0 10px 0 0}.tasty-recipes-entry-footer{background-color:#667}.tasty-recipes-entry-footer img,.tasty-recipes-entry-footer svg{color:#FFF}.tasty-recipes-entry-content .tasty-recipes-entry-footer h3{color:#fff}.tasty-recipes-entry-footer{color:#fff}.tasty-recipes-entry-footer:after{content:’ ‘;display:block;clear:both}/* Print view styles */ .tasty-recipes-print-view .tasty-recipe-video-embed,.tasty-recipes-print-view .tasty-recipes-other-details,.tasty-recipes-print .tasty-recipes-entry-header .tasty-recipes-details .detail-icon,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes p:before,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes ul li:before,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-ingredients ul li:before,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-ingredients ol li:before,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-instructions ul li:before,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-instructions ol li:before,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes ol>li:before,.tasty-recipes-print .tasty-recipes-entry-footer img{display:none}.tasty-recipes-print-view{font-size:11px;background-color:#fff;line-height:1.5em}.tasty-recipes-print{padding:0}.tasty-recipes-print-view .tasty-recipes{margin-top:1em}.tasty-recipes-print-view .tasty-recipes-entry-content h3{font-size:1.2em;letter-spacing:0.1em;margin:0 0 10px 0}.tasty-recipes-print-view .tasty-recipes-ingredients-header,.tasty-recipes-print-view .tasty-recipes-instructions-header{margin:0}.tasty-recipes-print-view .tasty-recipes-ingredients,.tasty-recipes-print-view .tasty-recipes-instructions{padding:1.25em}.tasty-recipes-print .tasty-recipes-entry-header{background-color:inherit;color:inherit;padding-bottom:0;padding-left:1em;padding-right:1em;padding-top:1em;text-align:left}.tasty-recipes-print .tasty-recipes-entry-header .tasty-recipes-image{float:right;transform:none}.tasty-recipes-print.tasty-recipes-has-image .tasty-recipes-entry-header h2{margin-top:0;text-align:left}.tasty-recipes-print .tasty-recipes-entry-header h2{color:inherit;margin-bottom:0.5em}.tasty-recipes-print .tasty-recipes-entry-header hr{display:none}.tasty-recipes-print .tasty-recipes-entry-header span.tasty-recipes-rating{color:#000}.tasty-recipes-entry-header div.tasty-recipes-rating a{text-decoration:none}.tasty-recipes-entry-header div.tasty-recipes-rating p{margin-top:4px}.tasty-recipes-print .tasty-recipes-entry-header .tasty-recipes-details ul{padding:0;clear:none}.tasty-recipes-print .tasty-recipes-entry-header .tasty-recipes-details ul li{line-height:1.5em;color:#000;margin:0 10px 0 0}.tasty-recipes-print .tasty-recipes-entry-content img{max-width:50%;height:auto}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-ingredients ol li,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-instructions ol li{margin-bottom:0.5em;line-height:1.1;list-style:decimal;line-height:1.5em}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-ingredients ul li,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-instructions ul li{margin-bottom:0.5em;line-height:1.1;list-style:disc}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes{background:none!important}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes ul,.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes ol{background:none!important}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes ol li{padding:0;clip-path:none;background:none;line-height:1.5em;list-style:decimal}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes p{padding:0;clip-path:none;background:none;line-height:1.5em}.tasty-recipes-print .tasty-recipes-entry-content .tasty-recipes-notes ul li{padding:0;clip-path:none;background:none;line-height:1.5em;list-style:disc}.tasty-recipes-print .tasty-recipes-source-link{text-align:center}.tasty-recipes-entry-content .tasty-recipes-ingredients ul li[data-tr-ingredient-checkbox]:before{display:none}
Delicious Zucchini Muffins Recipe
Total Time: 37 minutes
Yield: 12 muffins 1x
Description
These moist and fluffy zucchini muffins combine garden-fresh zucchini with warm spices and a hint of vanilla, creating the perfect healthy breakfast or snack option.
Ingredients
Scale
- 2 cups all-purpose flour
- 2 cups grated zucchini (about 2 medium)
- 2 large eggs
- ½ cup vegetable oil
- ¾ cup granulated sugar
- ¼ cup brown sugar
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- 2 teaspoons cinnamon
- ½ teaspoon salt
- 1 teaspoon vanilla extract
Instructions
- Preheat oven to 350°F (175°C) and line a 12-cup muffin tin with paper liners.
- In a large bowl, whisk together flour, baking powder, baking soda, cinnamon, and salt.
- In another bowl, beat eggs, sugars, oil, and vanilla until well combined.
- Fold in grated zucchini to the wet ingredients.
- Gradually mix wet ingredients into dry ingredients until just combined.
- Divide batter evenly among muffin cups and bake for 20-22 minutes.
Notes
- Squeeze excess moisture from grated zucchini before adding to batter
- Muffins are done when a toothpick inserted comes out clean
- Store in an airtight container for up to 3 days
- Can be frozen for up to 3 months
- Prep Time: 15 minutes
- Cook Time: 22 minutes
Nutrition
- Calories: 225
- Sugar: 15g
- Sodium: 180mg
- Fat: 9g
- Carbohydrates: 32g
- Fiber: 1.5g
- Protein: 4g
(function(){
/* frac.js (C) 2012-present SheetJS — http://sheetjs.com */
/* bothEquals() avoids use of &&, which gets prettified by WordPress. */
var bothEquals = function( d1, d2, D ) {
var ret = 0;
if (d1<=D) {
ret++;
}
if (d2<=D) {
ret++;
}
return ret === 2;
};
var frac =function frac(x,D,mixed){var n1=Math.floor(x),d1=1;var n2=n1+1,d2=1;if(x!==n1)while(bothEquals(d1,d2,D)){var m=(n1+n2)/(d1+d2);if(x===m){if(d1+d2d2)d2=D+1;else d1=D+1;break}else if(xD){d1=d2;n1=n2}if(!mixed)return[0,n1,d1];var q=Math.floor(n1/d1);return[q,n1-q*d1,d1]};frac.cont=function cont(x,D,mixed){var sgn=x<0?-1:1;var B=x*sgn;var P_2=0,P_1=1,P=0;var Q_2=1,Q_1=0,Q=0;var A=Math.floor(B);while(Q_1<D){A=Math.floor(B);P=A*P_1+P_2;Q=A*Q_1+Q_2;if(B-AD){if(Q_1>D){Q=Q_2;P=P_2}else{Q=Q_1;P=P_1}}if(!mixed)return[0,sgn*P,Q];var q=Math.floor(sgn*P/Q);return[q,sgn*P-q*Q,Q]};
/* {‘¼’: ‘1/4′,’½’: ‘1/2′,’¾’: ‘3/4′,’⅓’: ‘1/3′,’⅔’:’2/3′,’⅕’:’1/5′,’⅖’:’2/5′,’⅗’:’3/5′,’⅘’:’4/5′,’⅙’:’1/6′,’⅚’:’5/6′,’⅛’:’1/8′,’⅜’:’3/8′,’⅝’:’5/8′,’⅞’:’7/8′} */
window.tastyRecipesVulgarFractions = JSON.parse(decodeURIComponent(“%7B%22%C2%BC%22%3A%221%2F4%22%2C%22%C2%BD%22%3A%221%2F2%22%2C%22%C2%BE%22%3A%223%2F4%22%2C%22%E2%85%93%22%3A%221%2F3%22%2C%22%E2%85%94%22%3A%222%2F3%22%2C%22%E2%85%95%22%3A%221%2F5%22%2C%22%E2%85%96%22%3A%222%2F5%22%2C%22%E2%85%97%22%3A%223%2F5%22%2C%22%E2%85%98%22%3A%224%2F5%22%2C%22%E2%85%99%22%3A%221%2F6%22%2C%22%E2%85%9A%22%3A%225%2F6%22%2C%22%E2%85%9B%22%3A%221%2F8%22%2C%22%E2%85%9C%22%3A%223%2F8%22%2C%22%E2%85%9D%22%3A%225%2F8%22%2C%22%E2%85%9E%22%3A%227%2F8%22%7D”));
window.tastyRecipesFormatAmount = function(amount, el) {
if ( parseFloat( amount ) === parseInt( amount ) ) {
return amount;
}
var roundType = ‘frac’;
if (typeof el.dataset.amountShouldRound !== ‘undefined’) {
if (‘false’ != el.dataset.amountShouldRound) {
if ( ‘number’ === el.dataset.amountShouldRound ) {
roundType = ‘number’;
} else if (‘frac’ === el.dataset.amountShouldRound) {
roundType = ‘frac’
} else if (‘vulgar’ === el.dataset.amountShouldRound) {
roundType = ‘vulgar’
} else {
roundType = ‘integer’;
}
}
}
if (‘number’ === roundType) {
amount = Number.parseFloat(amount).toPrecision(2);
} else if (‘integer’ === roundType) {
amount = Math.round(amount);
} else if (‘frac’ === roundType || ‘vulgar’ === roundType) {
var denom = 8;
if (typeof el.dataset.unit !== ‘undefined’) {
var unit = el.dataset.unit;
if ([‘cups’,’cup’,’c’].includes(unit)) {
denom = 4;
if (0.125 === amount) {
denom = 8;
}
if (“0.1667″ === Number.parseFloat( amount ).toPrecision(4)) {
denom = 6;
}
}
if ([‘tablespoons’,’tablespoon’,’tbsp’].includes(unit)) {
denom = 2;
}
if ([‘teaspoons’,’teaspoon’,’tsp’].includes(unit)) {
denom = 8;
}
}
var amountArray = frac.cont( amount, denom, true );
var newAmount = ”;
if ( amountArray[1] !== 0 ) {
newAmount = amountArray[1] + ‘/’ + amountArray[2];
if (‘vulgar’ === roundType) {
Object.keys(window.tastyRecipesVulgarFractions).forEach(function(vulgar) {
if (newAmount === window.tastyRecipesVulgarFractions[vulgar]) {
newAmount = vulgar;
}
});
}
}
if ( newAmount ) {
newAmount = ‘ ‘ + newAmount;
}
if ( amountArray[0] ) {
newAmount = amountArray[0] + newAmount;
}
amount = newAmount;
}
return amount;
}
/**
* Update the URLs used to display a print view when the scale or unit
* selection on a recipe card has changed.
*/
window.tastyRecipesUpdatePrintLink = () => {
const printLinks = document.querySelectorAll( ‘.tasty-recipes-print-link’ );
const printButtons = document.querySelectorAll( ‘.tasty-recipes-print-button’ );
// Use the first print button found as the canonical URL source.
const printButton = document.querySelector( ‘.tasty-recipes-print-button’ );
// If no print button is available, we can’t reliably update its href.
if ( ! printButton ) {
return;
}
const printURL = new URL( printButton.href );
const searchParams = new URLSearchParams( printURL.search );
const unitButton = document.querySelector( ‘.tasty-recipes-convert-button-active’ );
const scaleButton = document.querySelector( ‘.tasty-recipes-scale-button-active’ );
let unit = ”;
let scale = ”;
if ( unitButton ) {
unit = unitButton.dataset.unitType;
searchParams.delete(‘unit’)
searchParams.set( ‘unit’, unit );
}
if ( scaleButton ) {
scale = scaleButton.dataset.amount;
searchParams.set( ‘scale’, scale );
}
const paramString = searchParams.toString();
const newURL = ” === paramString ? printURL.href : printURL.origin + printURL.pathname + ‘?’ + paramString;
printLinks.forEach( ( el ) => {
el.href = newURL;
});
printButtons.forEach( ( el ) => {
el.href = newURL;
});
}
// When the document loads, look for unit and scale parameters and setup the recipe card
// to reflect those values.
document.addEventListener( ‘DOMContentLoaded’, () => {
// Only reflect URL parameters on the print view.
if ( ! window.location.href.includes( ‘/print/’ ) ) {
return;
}
const searchParams = new URLSearchParams( window.location.search );
const unit = searchParams.get( ‘unit’ );
const scale = searchParams.get( ‘scale’ );
if ( unit && ( ‘metric’ === unit || ‘usc’ === unit ) ) {
document.querySelector( ‘.tasty-recipes-convert-button[data-unit-type=”‘ + unit + ‘”]’ ).click();
}
if ( scale && Number(scale) > 0 ) {
document.querySelector( ‘.tasty-recipes-scale-button[data-amount=”‘ + Number(scale) + ‘”]’ ).click();
}
})
}())
(function(){
var buttonClass = ‘tasty-recipes-scale-button’,
buttonActiveClass = ‘tasty-recipes-scale-button-active’,
buttons = document.querySelectorAll(‘.tasty-recipes-scale-button’);
if ( ! buttons ) {
return;
}
buttons.forEach(function(button){
button.addEventListener(‘click’, function(event){
event.preventDefault();
var recipe = event.target.closest(‘.tasty-recipes’);
if ( ! recipe ) {
return;
}
var otherButtons = recipe.querySelectorAll(‘.’ + buttonClass);
otherButtons.forEach(function(bt){
bt.classList.remove(buttonActiveClass);
});
button.classList.add(buttonActiveClass);
/* Scales all scalable amounts. */
var scalables = recipe.querySelectorAll(‘span[data-amount]’);
var buttonAmount = parseFloat( button.dataset.amount );
scalables.forEach(function(scalable){
if (typeof scalable.dataset.amountOriginalType === ‘undefined’
&& typeof scalable.dataset.nfOriginal === ‘undefined’) {
if (-1 !== scalable.innerText.indexOf(‘/’)) {
scalable.dataset.amountOriginalType = ‘frac’;
}
if (-1 !== scalable.innerText.indexOf(‘.’)) {
scalable.dataset.amountOriginalType = ‘number’;
}
Object.keys(window.tastyRecipesVulgarFractions).forEach(function(vulgar) {
if (-1 !== scalable.innerText.indexOf(vulgar)) {
scalable.dataset.amountOriginalType = ‘vulgar’;
}
})
if (typeof scalable.dataset.amountOriginalType !== ‘undefined’) {
scalable.dataset.amountShouldRound = scalable.dataset.amountOriginalType;
}
}
var amount = parseFloat( scalable.dataset.amount ) * buttonAmount;
amount = window.tastyRecipesFormatAmount(amount, scalable);
if ( typeof scalable.dataset.unit !== ‘undefined’ ) {
if ( ! scalable.classList.contains(‘nutrifox-quantity’) ) {
if ( ! scalable.classList.contains(‘nutrifox-second-quantity’) ) {
amount += ‘ ‘ + scalable.dataset.unit;
}
}
}
scalable.innerText = amount;
});
/* Appends ” (x2)” indicator. */
var nonNumerics = recipe.querySelectorAll(‘[data-has-non-numeric-amount]’);
nonNumerics.forEach(function(nonNumeric){
var indicator = nonNumeric.querySelector(‘span[data-non-numeric-label]’);
if ( indicator ) {
nonNumeric.removeChild(indicator);
}
if ( 1 !== buttonAmount ) {
var indicator = document.createElement(‘span’);
indicator.setAttribute(‘data-non-numeric-label’, true);
var text = document.createTextNode(‘ (x’ + buttonAmount + ‘)’);
indicator.appendChild(text);
nonNumeric.appendChild(indicator);
}
});
window.tastyRecipesUpdatePrintLink();
});
});
}());



