This easy homemade granola is bursting with the flavor of fresh summer ripe strawberries, crunchy toasted nuts, and sweet coconut. It is the perfect prep-ahead breakfast made with healthy ingredients, fiber, and good-for-you nutrients!

Table of contents
- Why We Love This Recipe For Strawberry Granola
- Key Ingredients for Granola with Strawberries
- How To Make Homemade Berry Granola
- FAQs and Expert tips
- How To Serve Strawberry Granola
- Additional Strawberry Recipes To Try
.tasty-recipes-quick-links { text-align:center; }
.tasty-recipes-quick-links a { padding: 0.5rem; }
Why We Love This Recipe For Strawberry Granola
This homemade berry granola is the perfect healthy snack or wholesome breakfast. It’s great served with milk or yogurt with fruit. Use it to create a healthy parfait or snack on it for a midday treat. The maple syrup is a subtle natural sweetener and the freeze-dried strawberries add a crunchy burst of flavor!
Recipe Highlights
- Pair with milk or milk substitute for a healthy breakfast any day of the week.
- Great nutritional benefits include heart-healthy fiber, essential fatty acids, and plant-based protein
- Stores well at room temperature- so it is terrific for meal prep
- Homemade berry granola is less expensive than buying pre-made granola at the supermarket.
- The level of sweetness, choice of nuts and seasonings can be adjusted and customized to your preferred ratio.
- Naturally sweetened with berries and maple syrup.
- Freeze-dried strawberries add the vibrant flavor of tart and sweet berries in convenient, shelf-stable dried form. Freeze-dried fruit is perfect for stirring into homemade granola.
- Double or triple the recipe easily for more- or to make a gift from the kitchen!
.tasty-recipes-quick-links { text-align:center; }
.tasty-recipes-quick-links a { padding: 0.5rem; }
Key Ingredients for Granola with Strawberries

- Maple Syrup: When possible we use a natural sweetener for our recipes here at HSR, and in the case of this granola recipe we used pure maple syrup. We always recommend the darkest available grade syrup you can find. (Dark Robust has the best maple flavor.)You can adjust the amount of maple syrup based on your preferences. Maple syrup helps create the granola clusters by clumping some of the oats, nuts, and seeds together as the mixture bakes.
- Cooking Oil: Your prefered neutral oil can be used. We suggest either organic canola oil or avocado oil, but any neutral oil will work. The oil helps the oats become crispy as they bake.
- Old-Fashioned Rolled Oats: These old-fashioned oats are sturdy and retain their texture better than other types of oats. We would not recommend quick oats, but if you wind up using them you’ll need to adjust the cooking time and chop the nuts to ensure everything is cooked evenly.
- Nuts & Seeds: We use raw whole almonds, but you can use any nut in its place as long as they’re raw and similar in size. We also use raw pepitas which add color and texture to the granola.
- Unsweetened Coconut Flakes: Strawberries and coconut are a classic pairing and we love that the flakes look great in the granola! Coconut flakes (or chips as they are sometimes called) are unsweetened. They can bake faster than sweetened shredded coconut.
- Freeze-Dried Strawberries: They have a super concentrated strawberry flavor and add to the crunchiness factor.
- Seasonings: Vanilla, Cinnamon, ginger, and salt season the granola.
How To Make Homemade Berry Granola

Step 1: Preheat and Prep
Preheat your oven to 350F and prepare a large-rimmed baking sheet by lining it with a sheet of parchment. Set aside.
Step 2: Combine Seasonings and Natural Sweeteners
In a large bowl, stir together the oil, syrup, vanilla, cinnamon, ginger, and salt. Mix until everything is combined. Stir the oats, almonds, and pepitas into the large bowl.

Step 3: Add Crunch & Bake
Spread the mixture evenly on the prepared baking sheet and then bake in the preheated oven. Stir the granola occasionally until the nuts are toasted, which should take about 20 to 25 minutes.
Step 4: Add Coconut
Remove the pan from the oven, and stir in the coconut. Return the sheet to the oven and bake until the coconut is golden on the edges, which should take about 3 to 5 minutes.

Step 5: Add Freeze Dried Strawberries
Remove the pan from the oven and then stir in the strawberries until they’re just combined. Allow the granola to cool on the baking sheet, stirring occasionally to avoid sticking to the tray, for about 10 minutes.

.tasty-recipes-quick-links { text-align:center; }
.tasty-recipes-quick-links a { padding: 0.5rem; }
FAQs and Expert tips
Make Ahead & Storage
This strawberry coconut granola is a great make-ahead recipe! Whip up a batch and then store it in an airtight container for up to one month at room temperature.
Expert Tips
- We added the coconut and strawberries at the end which ensures that it won’t burn since they have a shorter cooking time.
- It’s important to stir throughout cooking to promote even cooking and so nothing sticks on the tray.
- Cook the granola at 350F or lower so the sugars do not burn before the oats, and so the seeds and nuts are toasty.
- Every oven is different, so be sure to watch your granola at 20 minutes. It will start to deepen in color to a golden brown and become drier.
Substitutions
- Any spices could be used here based on preference. Pumpkin pie spice is a convenient sub for the individual spices.
- If you prefer a different type of nut, you could use any whole nut like pecans, walnuts, or hazelnuts.
- You could use honey or agave instead of maple syrup.
- Replace vanilla with a little almond extract, if preferred.
- Any type of freeze-dried fruit would work to replace the strawberries. We love blueberries and raspberries too!
- Replace the coconut flakes with shredded coconut, but you may need to reduce the cook time slightly.

How To Serve Strawberry Granola
- Homemade berry granola pairs well with plant milk or cow’s milk for a bowl of healthy morning cereal. Add fresh berries to the top for added flavor and nutrition.
- Use for a yogurt bowl with fruit: Serve over yogurt with fresh fruit for a healthy parfait, and add chia seeds and/or flax seeds.
- Use your granola as a topping for a smoothie bowl to give it an added crunch.
- Turn this berry and coconut granola into a trail mix by adding white chocolate chips and additional nuts. Enjoy it as an afternoon snack!
- Take your granola to the next level by using it in a strawberry shortcake dessert with a slice of pound cake, vanilla ice cream, and fresh strawberries.
- Enjoy your granola over Greek yogurt with a drizzle of melted peanut butter on top.
- Serve it over ice cream with a drizzle of our strawberry coulis recipe listed below!
Additional Strawberry Recipes To Try
Simple Strawberry Coulis
Strawberry Oatmeal Bars
Strawberry Peanut Butter Smoothie
Strawberry Overnight Oats
Thanks so much for reading! If you are new here, you may want to sign up for my email newsletter to get a free weekly menu plan and the latest recipes right to your inbox. If you make this recipe, please come back and leave a star rating and review. I would love to hear what you thought!
Happy Cooking! ~Katie
.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,body.tasty-recipes-print-view .tasty-recipes-cook-mode{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;cursor:pointer;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;cursor:pointer;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{background:transparent;box-shadow:none;display:inline-block;height:auto;margin:5px 0 0 8px;padding:0;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}.tasty-recipes-cook-mode__container{align-items:center;display:flex;line-height:100%}.tasty-recipes-cook-mode__container label{font-size:inherit}.tasty-recipes-cook-mode__switch{display:inline-block;height:17px;margin-right:10px;position:relative;width:30px}.tasty-recipes-cook-mode__switch-slider{background-color:#737373;bottom:0;cursor:pointer;display:block;left:0;opacity:.4;position:absolute;right:0;top:0;transition:.4s}.tasty-recipes-cook-mode__switch-slider:before{background-color:#fff;bottom:2px;content:””;height:13px;left:2px;position:absolute;transition:.4s;width:13px}.tasty-recipes-cook-mode__switch input{display:none}.tasty-recipes-cook-mode__switch input:checked+span{opacity:1}.tasty-recipes-cook-mode__switch input:checked+span:before{transform:translateX(13px)}.tasty-recipes-cook-mode__switch-round{border-radius:34px}.tasty-recipes-cook-mode__switch-round:before{border-radius:50%}.tasty-recipes-cook-mode__label{font-weight:700}/* 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;display:block;font-size:1.375em}.tasty-recipes-entry-header .tasty-recipes-rating:hover{text-decoration:none}.tasty-recipes-entry-header .tasty-recipes-rating p{margin-bottom:0}.tasty-recipes-no-ratings-buttons .unchecked,.tasty-recipes-no-ratings-buttons .checked,.tasty-recipes-entry-header span.tasty-recipes-rating{color:#fff;color:var(–tr-star-color)}.tasty-recipes-entry-header .rating-label{font-style:italic;color:#b7bbc6;font-size:0.6875em;display:block}.tasty-recipes,.tasty-recipes-ratings{–tr-star-size:0.97em!important;–tr-star-margin:0.5em!important}.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;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}.tasty-recipes-cook-mode{margin-top:1em}.tasty-recipes-cook-mode__label{font-style:italic;color:#667;font-weight:normal}.tasty-recipes-cook-mode__helper{font-size:1em}.tasty-recipes-cook-mode .tasty-recipes-cook-mode__switch .tasty-recipes-cook-mode__switch-slider{background-color:#667}.tasty-recipes{border:1px solid #e4e5e5;margin:100px 0 40px}.tasty-recipes-entry-header{text-align:center;background-color:#f2f2f2;padding:25px 25px 25px;margin:0}.tasty-recipes-entry-header .tasty-recipes-image img{border:none;height:200px;width:200px}.tasty-recipes-entry-header h2{padding:0;margin:0 0 10px;border:none;text-transform:none!important}.tasty-recipes-entry-header hr{display:none}.tasty-recipes-entry-header .tasty-recipes-rating p{margin:0;line-height:1.1}.tasty-recipes-entry-header span.tasty-recipes-rating{color:#6666aa!important;margin:0!important}.tasty-recipes-entry-header .rating-label{font-size:12px;font-style:italic;color:#677074}.tasty-recipes-entry-header .tasty-recipes-details,.tasty-recipes-entry-content .tasty-recipes-other-details{font-size:14px;line-height:1.7;color:#677074}.tasty-recipes-entry-header .tasty-recipes-details ul li,.tasty-recipes-entry-content .tasty-recipes-other-details ul li{display:inline-block;color:#677074;margin:0 8px;line-height:1.7;font-size:14px}.tasty-recipes-entry-header .tasty-recipes-details ul li:before,.tasty-recipes-entry-content .tasty-recipes-other-details ul li:before{display:none}.tasty-recipes-entry-header .tasty-recipes-details .tasty-recipes-label,.tasty-recipes-entry-content .tasty-recipes-other-details .tasty-recipes-label{font-family:”Futura”,Arial,Helvetica,Geneva,sans-serif;text-transform:uppercase;font-weight:bold;letter-spacing:.12em;font-style:normal!important;color:#677074}.tasty-recipes-entry-header .tasty-recipes-details .detail-icon,.tasty-recipes-entry-content .tasty-recipes-other-details .detail-icon{position:relative;margin:0;vertical-align:middle}.tasty-recipes-yield-scale,.tasty-recipes-scale-label{color:#677074!important}.tasty-recipes .tasty-recipes-buttons a{text-decoration:none;font-family:”Futura”,Arial,Helvetica,Geneva,sans-serif;font-weight:bold;text-transform:uppercase;letter-spacing:.1em;font-size:16px;background-color:#9bb83d;color:#212629!important;padding:16px 25px;text-decoration:none;border:none!important;border-radius:0;box-shadow:none!important}.tasty-recipes-entry-header .tasty-recipes-buttons a:hover{background-color:#7772b5;cursor:pointer}.tasty-recipes-entry-header .tasty-recipes-buttons img{vertical-align:top}@media only screen and (min-width:520px){.tasty-recipes-entry-header .tasty-recipes-button-wrap:first-child{padding-right:.625em}.tasty-recipes-entry-header .tasty-recipes-button-wrap:last-child{padding-left:.625em}}@media only screen and (max-width:520px){.tasty-recipes-entry-header .tasty-recipes-button-wrap{width:100%}.tasty-recipes-entry-header .tasty-recipes-button-wrap:nth-child(2){padding-top:1em}}.tasty-recipes-entry-content{}.tasty-recipes-description{padding:0 25px}.tasty-recipes-description p{margin:20px 0}.tasty-recipes-entry-content h3{text-transform:none;font-size:26px;margin-bottom:20px}.tasty-recipes-entry-content h4{font-size:1em;padding-top:0;margin-bottom:25px;margin-top:25px}.tasty-recipes-entry-content hr{border:1px solid #E4E6E6;border-bottom:none;margin-top:25px;margin-bottom:25px}.tasty-recipes-entry-content .tasty-recipes-ingredients{}.tasty-recipes-entry-content .tasty-recipes-ingredients,.tasty-recipes-entry-content .tasty-recipes-instructions,.tasty-recipes-entry-content .tasty-recipes-keywords{padding-left:25px;padding-right:25px}.tasty-recipes-entry-content .tasty-recipes-ingredients ul,.tasty-recipes-entry-content .tasty-recipes-instructions ul{list-style-type:none;margin-bottom:25px;padding:0}.tasty-recipes-entry-content .tasty-recipes-ingredients ul li,.tasty-recipes-entry-content .tasty-recipes-instructions ul li{}.tasty-recipes-entry-content .tasty-recipes-ingredients ul li:before,.tasty-recipes-entry-content .tasty-recipes-instructions ul li:before{font-size:80%;background-color:#9ab73c;left:0;top:9px}.tasty-recipes-entry-content .tasty-recipes-ingredients ol,.tasty-recipes-entry-content .tasty-recipes-instructions ol{counter-reset:li;margin-left:0px;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}.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:#9bb83d;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;height:20px;width:20px;color:#212629;left:-20px;top:5px;transform:translateX(-50%);line-height:20px;font-size:10px;text-align:center;font-family:futura;font-weight:bold}@media only screen and (max-width:520px){.tasty-recipes-entry-content .tasty-recipes-ingredients ol,.tasty-recipes-entry-content .tasty-recipes-instructions ol{margin-left:0}}.tasty-recipes-entry-content .tasty-recipes-keywords{display:none}.tasty-recipes-entry-content .tasty-recipes-notes{background-color:#f2f2f2!important;padding:1px 20px 20px;font-size:90%}.tasty-recipes-entry-content .tasty-recipes-notes h3{margin-top:20px}.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:transparent;padding:0 0 0 30px;margin:0 0 10px;position:relative;-webkit-clip-path:unset;clip-path:unset}.tasty-recipes-entry-content .tasty-recipes-notes p:before,.tasty-recipes-entry-content .tasty-recipes-notes ul li:before{color:#9ab73c;content:’f324’;font-family:”Font Awesome 5 Pro”;font-weight:bold;margin:0 0 0 -0px;width:30px;font-weight:normal;font-size:90%;display:inline-block;background-color:transparent;border-radius:0;top:5px;left:0}.tasty-recipes-entry-content .tasty-recipes-other-details{background-color:transparent;padding:1px 20px 20px;margin:0!important}.tasty-recipes-entry-content .tasty-recipes-nutrition{padding:25px;text-align:left;margin:0;font-style:italic;font-weight:normal;text-transform:lowercase;letter-spacing:normal;color:#5d6163;background-color:transparent;border-top:1px solid #e4e5e5}.tasty-recipes-entry-content .tasty-recipes-nutrition h3{margin:0 0 15px;font-style:normal}.tasty-recipes-entry-content .tasty-recipes-nutrition li:before{display:none!important}.tasty-recipes-nutrition .tasty-recipes-label{font-style:normal;font-weight:bold;text-transform:uppercase;letter-spacing:.1em;font-family:”futura”;font-size:90%;color:#5d6163}.tasty-recipes-nutrition ul{font-size:14px;margin:0;padding:0}.tasty-recipes-nutrition li{margin:0 10px 0 0!important;padding:0!important}.tasty-recipes-nutrition *{line-height:1.5!important;color:#5d6163}.tasty-recipes-entry-footer{background-color:#e8e8f2;color:#212629;padding:25px;text-align:center}.tasty-recipes-entry-footer .tasty-recipes-footer-content{display:block;width:100%;margin:0;padding:0;text-align:center}.tasty-recipes-entry-footer .tasty-recipes-footer-content h3{margin:5px 0 5px;color:#9bb83d;font-size:22px;padding:0;text-align:center}.tasty-recipes-entry-footer .tasty-recipes-footer-content p{margin:0;padding:0;font-size:16px;text-align:center}.tasty-recipes-entry-footer p a{color:#6161A8}.tasty-recipes-entry-footer p a:hover{}.tasty-recipes-entry-footer:after{content:” “;display:block;clear:both}@media only screen and (max-width:399px){.tasty-recipes-entry-header{text-align:center;padding:25px 15px 15px}.tasty-recipes-entry-header h2{font-size:32px}.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:0;padding-right:0}.tasty-recipes-entry-content .tasty-recipes-notes{padding:1px 15px 15px}.tasty-recipes-entry-content .tasty-recipes-notes p,.tasty-recipes-entry-content .tasty-recipes-notes ul,.tasty-recipes-entry-content .tasty-recipes-notes ol{padding:0px;margin:0 0 10px}.tasty-recipes-entry-content .tasty-recipes-nutrition{padding:10px 0 15px}.tasty-recipes-entry-content .tasty-recipes-other-details{padding:1px 0px 20px;text-align:center}.tasty-recipes-entry-content .tasty-recipes-other-details ul{display:block;text-align:center}.tasty-recipes-entry-content .tasty-recipes-ingredients,.tasty-recipes-entry-content .tasty-recipes-instructions,.tasty-recipes-entry-content .tasty-recipes-keywords{padding-left:0px!important;padding-right:0px!important}.tasty-recipes{border:none!important}}/* Print view styles */ .tasty-recipes-print-view{font-size:95%;line-height:1.5}.tasty-recipes-print-view .tasty-recipes-entry-header .tasty-recipes-details ul li:before{display:none}.tasty-recipes-print-view .tasty-recipes-ingredients ul{margin:0 25px;list-style-type:disc}.tasty-recipes-print-view .tasty-recipes-instructions ol{margin:0 25px}.tasty-recipes-print-view .tasty-recipes-header,.tasty-recipes-print-view .tasty-recipes-description,.tasty-recipes-print-view .tasty-recipes-ingredients,.tasty-recipes-print-view .tasty-recipes-instructions,.tasty-recipes-print-view .tasty-recipes-keywords,.tasty-recipes-print-view .tasty-recipes-notes,.tasty-recipes-print-view .tasty-recipes-nutrition{padding-left:0;padding-right:0}

Strawberry Granola
Total Time: 50 mins
Yield: 7 cups
Description
This easy homemade granola is bursting with the flavor of fresh summer ripe strawberries, crunchy toasted nuts, and sweet coconut. It is the perfect prep-ahead breakfast made with healthy ingredients, fiber, and good-for-you nutrients!
Ingredients
- 1/4 cup avocado oil or organic canola oil
- 1/2 cup maple syrup
- 1 teaspoon vanilla extract
- 1/2 teaspoon ground cinnamon
- 1/4 teaspoon ground ginger
- 1/4 teaspoon salt
- 3 cups old-fashioned rolled oats
- 1 cup raw whole almonds
- 1/2 cup raw pepitas
- 1 cup unsweetened coconut flakes
- 1–8 oz. package freeze-dried strawberries (about 1 cup)
Instructions
- Pre-heat oven 350F. Prepare large rimmed baking sheet by placing a piece of parchment on it. Set aside.
- Stir oil, syrup, vanilla, cinnamon, ginger and salt in a large bowl. Stir in oats, almonds and pepitas, and mix until combined.
- Spread evenly on the prepared baking sheet. Bake stirring once or twice, until nuts are toasted, the granola is dry and the mixture is lightly golden, 20 to 25 minutes.
- Remove the pan from the oven. Stir in the coconut. Bake until the coconut is golden on the edges, 3 to 5 minutes.
- Remove the pan from the oven. Gently stir in the strawberries. Stir as it cools, once or twice to prevent the granola from sticking to the baking sheet.
Notes
Ingredient Note:
- Any spices could be used here based on preference
- If you prefer a different type of nut, you could use any whole nut like pecans, walnuts or hazelnuts
- Used rolled oats because they are heartier than quick oats and will cook more consistently with the nuts
Tip:
- Adding the coconut and strawberries at the end ensures that it won’t burn
- Important to stir throughout cooking to promote even cooking and so it won’t stick on the tray
Make Ahead:
- Make ahead and store in airtight container for up to 1 month at room temperature
Prep Time: 10 mins
Active Time: 15 mins
Cook Time: 35 mins
Category: Breakfast and Brunch
Method: Oven
Cuisine: American
Nutrition
- Calories: 262
- Sugar: 8 g
- Fat: 17 g
- Carbohydrates: 25 g
- Fiber: 4 g
- Protein: 6 g
Keywords: strawberry granola, strawberry coconut granola, homemade berry granola
window.tasty_recipes_min_rating = 4;
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) {
checkbox.checked ? this.lock() : 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”, event => {
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.ratings = {
init( min_rating ) {
this.min_rating = min_rating;
this.recipeRatingReflectInRespondSection();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompRespondRatingPosition();
},
recipeRatingReflectInRespondSection() {
const ratings = document.querySelectorAll(‘.tasty-recipes-no-ratings-buttons [data-rating]’);
if (ratings.length {
this.fireRatingInRespond( event.target.dataset.rating );
} );
}
},
fireRatingInRespond( rating ) {
const ratingInput = document.querySelector(‘.tasty-recipes-rating[value=”‘ + rating + ‘”]’);
if ( ! ratingInput ) {
return;
}
ratingInput.click();
},
addBodyClassBasedOnSelectedRating() {
const ratingInputs = document.querySelectorAll(‘input.tasty-recipes-rating’);
if ( ratingInputs.length {
let selectedRating = event.target.getAttribute( ‘value’ );
this.handleBodyClassByRating( selectedRating );
} );
}
},
handleBodyClassByRating( rating ) {
if ( rating < this.min_rating ) {
document.body.classList.remove( 'tasty-recipes-selected-minimum-rating' );
return;
}
document.body.classList.add( 'tasty-recipes-selected-minimum-rating' );
},
backwardCompRespondRatingPosition() {
const ratings_buttons = document.querySelector( '#respond .tasty-recipes-ratings-buttons' );
if ( ratings_buttons.length {
if ( rating_span === event.target ) {
return;
}
rating_span.previousElementSibling.click();
} );
}
}
};
(function(callback) {
if (document.readyState !== “loading”) {
callback();
} else {
document.addEventListener(“DOMContentLoaded”, callback);
}
})(() => {
window.TastyRecipes.ratings.init( window.tasty_recipes_min_rating );
});
Original source: https://www.healthyseasonalrecipes.com/strawberry-granola/