This home made pizza dough recipe is mushy, chewy, and filled with taste! Learn to get the right pizza dough each time utilizing easy substances.

This pizza dough recipe has change into my most-loved recipe. Folks cease me on the retailer to say they’ve made it three weeks in a row, and my inbox has notes from readers who say it’s modified their pizza nights perpetually. The key? Simply 5 fundamental substances and somewhat endurance!
I’ve spent the final decade honing this recipe with my husband Alex: interviewing pizzeria cooks, touring to Italy to style genuine Neapolitan pizza, and making numerous pizzas in our kitchen. This grasp dough recipe makes the right chewy texture, crispy golden brown crust, and complicated taste. You don’t even want particular gear: simply your naked palms and a ardour for pizza!
Video: how you can make pizza dough
Selfmade pizza dough might be tough the primary few occasions, I created a tutorial video to point out you how you can work with the dough!
Why You’ll Love This Recipe
I’ve examined each simple pizza dough recipe variation, and this one persistently delivers high-quality outcomes with substances chances are you’ll have already got in your pantry. Right here’s why you’ll like it:
- The flavour is unbelievable. This recipe develops advanced nutty notes, particularly when you let it cold-ferment within the fridge for a few days. Even with out that, the flavour places premade dough to disgrace.
- The feel hits each mark. It’s bought a satisfying chew once you chunk into the crust, the sunshine and ethereal inside, and crispy edges.
- It’s dependable. After years of testing totally different flour ratios and kneading occasions, I’ve dialed in actual measurements (use a kitchen scale for precision) and strategies that work each time.
- It’s versatile. This recipe makes sufficient for 3 medium pizzas, nice for a household pizza evening. You can too freeze parts for fast weeknight meals later.
5-Star Reader Evaluation




“Phenomenal! I’m making my second batch of dough now to freeze for fast meals for my husband and I. That is by far the best possible pizza dough we’ve made! I didn’t have nice outcomes from different recipes, and I can’t stand the premade dough. We used the 00 flour and weighed the substances. No extra frozen pizza for us!” -Valerie




“I’ve been making pizza dough for some time now. However this was the most effective pizza dough ever. Once more thanks a lot for this and all of your recipes.” -Marlaine
Which Flour Works Finest?
The absolute best home made pizza dough recipe is made with nice flour. Our best choice is the flour that skilled pizzerias use, known as Tipo 00. Right here’s what to find out about kinds of flours for pizza dough:
- Tipo 00 flour, a finely floor flour utilized in Italian delicacies, is the only option for pizza dough: it makes a lightweight and ethereal crust with a crispy exterior. The excessive gluten content material lets the dough stretch simply with out tearing, making a fluffy, chewy texture. Tipo 00 is turning into extra broadly out there at American grocery shops, or you’ll be able to order it on-line.
- Bread flour, a sort of flour that’s excessive in gluten and protein, can be used for pizza dough. The excessive protein content material helps to create a pleasant chewiness within the dough. It’s not as mild and ethereal as Tipo 00, however it’s most popular over all-purpose flour.
- All-purpose flour additionally works for this home made pizza dough recipe. It’s broadly out there and cheap, however it doesn’t have as excessive of gluten content material as Tipo 00 or bread flour flour. This makes pizza crust barely extra dense and crumbly. If it’s all you may have, it nonetheless makes for a wonderful home made pizza dough!
Gear You’ll Want
Certainly one of my favourite issues about this home made pizza dough recipe is how little gear you really need. Right here’s what I take advantage of:
- Giant bowl or mixing bowl: Any massive bowl works for mixing and proofing.
- Kitchen scale: Not required, however measuring in grams ensures constant outcomes each time (I take advantage of this one).
- Stand mixer with dough hook (non-obligatory): You’ll be able to knead by hand, however a KitchenAid mixer makes the method method simpler and hands-off. Both methodology takes 8 minutes.
- Clear kitchen towel: For overlaying the dough ball throughout rises.
- Bench scraper (non-obligatory): Makes dividing dough simpler, however a knife works tremendous.
- Pizza stone: That is my #1 device advice for crispy crusts. I preheat mine at 500°F for 45 minutes earlier than baking. See my information to the most effective pizza stone for particular suggestions.
- Pizza peel: For transferring pizzas to your scorching stone. I discover that is very useful, however a rimless baking sheet can work in a pinch. Right here’s the pizza peel I take advantage of.
Don’t Have a Pizza Stone?
Attempt making my Sheet Pan Pizza or Pan Pizza as an alternative: each strategies are extremely forgiving and don’t require specialty gear.

Tips on how to Make This Pizza Dough Recipe
Making home made pizza dough is a reasonably easy course of. Listed below are some issues to find out about how you can make pizza dough, or go proper to the recipe to get began cooking.
Combine the Dough
Begin by combining the Tipo 00 flour with the yeast, and salt, then including the nice and cozy water and olive oil. See the full recipe for portions. (Heat water prompts the yeast, however water that’s too scorching will kill it.)
At this level, use a picket spoon to stir all the things collectively. The combination ought to look shaggy and tough: preserve mixing till no dry flour stays on the backside of the bowl.
Knead Till Clean and Elastic
I want kneading with a stand mixer: merely connect the dough hook and knead on medium-low velocity for 8 minutes. Look ahead to the dough to tug away from the edges of the bowl and change into clean.
To knead by hand, place it on a floured floor and push the dough away with the heel of your hand, fold it again over itself, give it a flip, and repeat. The dough feels very sticky at first. At 5 minutes it turns into smoother, and by 8 minutes, it’s mushy and stretchy. It’s prepared once you poke it and it springs again gently.
Let the Dough Rise
Divide the dough into 3 equal items with a bench scraper or a knife. Use evenly floured palms to form each bit right into a ball (known as a boule), folding the perimeters of every piece beneath itself to make a clean domed high.
Place every ball on a floured floor, brush the tops with a little bit of olive oil, and canopy with a humid towel. The dough wants 45 minutes to 1 hour at room temperature to rise till doubled in measurement. (That is the right time to prep your home made pizza sauce.)
Non-obligatory: Chilly Fermentation for Subsequent-Degree Taste
I’ve interviewed some high rated pizzeria cooks in America they usually all agree. For the greatest pizza dough, make it prematurely and refrigerate it for two to three days earlier than baking.
This naturally ferments the dough, infusing a nutty, advanced taste. After all, considering forward by 2 to three days is just not all the time attainable! You’ll be able to skip this step and the dough nonetheless tastes unbelievable. (Promise.)

Suggestions for Stretching Your Dough
Do you need to throw home made pizza dough into the air like in your favourite pizzeria? Whereas it seems fancy, any such stretching is just not required for home made dough. It’s best to look at this Tips on how to Stretch Pizza Dough video earlier than you begin. Listed below are a number of suggestions for stretching pizza dough:
- Prep the dough: Place the dough on a evenly floured floor. Mud the highest of the dough with flour.
- Pat right into a circle: Pat the dough right into a circle, then drape it in your knuckles to stretch it. If the dough resists stretching, set it down and let it relaxation for 1 minute. When you decide it up once more, the gluten can have relaxed and it will likely be attainable to stretch.
- Drape the dough over your knuckles: After getting about an 8-inch circle, decide up the dough and gently drape it over the knuckles on each of your palms. Slowly rotate it round, permitting gravity to stretch it right into a circle about 11 inches in diameter. If it resists stretching, put it down and permit it to relaxation for a couple of minutes, at which level it would stretch extra simply.
Pizza Dough Variations and Taste Concepts
This home made pizza dough recipe produces a deliciously fluffy pizza crust excellent for the standard, artisan-style pizza. Listed below are a number of variations on this pizza crust recipe:
- Garlic Herb Crust: Add 1 teaspoon garlic powder and 1 tablespoon Italian seasoning to the dry substances.
- Complete Wheat: Substitute 25% of the flour with complete wheat flour.
- The whole lot Seasoning: Brush the crust edges with olive oil and sprinkle with all the things bagel seasoning earlier than baking.
- Skinny Crust Pizza Dough: You’ll be able to really roll this one out as an alternative of stretching
- Pan Pizza: A thick crust made in a forged iron pan
- Sheet Pan Pizza or Focaccia Pizza: Easy to make on a sheet pan
- Pizza Oven Dough: This recipe is optimized for an out of doors pizza oven
- Gluten Free Pizza Dough: Excellent for these with particular diets.
Storing and Freezing Suggestions
Fridge: This pizza dough retains nicely within the fridge for as much as 3 days. I place every dough ball in its personal sealed container brushed with olive oil to stop sticking.
The dough continues to develop taste within the fridge, so day 2 or 3 dough really tastes higher than day 1! Simply bear in mind to convey it to room temperature (30-45 minutes) earlier than stretching.
Freezer: After the preliminary rise wrap every ball in plastic wrap then in a freezer bag or container. To thaw it, place frozen dough within the fridge to thaw in a single day, then let it come to room temperature earlier than stretching. For extra, see Tips on how to Freeze Pizza Dough.
Dietary notes
This pizza dough recipe is vegetarian, vegan, plant-based and dairy-free.
Continuously requested questions
The dough must be barely sticky however nonetheless workable. If it’s too sticky, attempt:
– Including simply sufficient flour to make it workable (don’t overdo it)
– Utilizing barely much less water subsequent time (about 30g much less)
– Keep in mind that a considerably sticky dough usually ends in a lighter, airier crust
Sure! At all times do the preliminary 45-60 minute rise at room temperature first, then divide into balls and refrigerate. This units up the correct fermentation course of.
Whereas a pizza stone creates the most effective crust, you’ll be able to nonetheless make nice pizza with out one. Use a preheated baking sheet or an inverted forged iron pan. Bake at 450-500°F – the crust gained’t be fairly as crispy however will nonetheless be scrumptious.
Sure! A 50/50 mix of all-purpose flour and bread flour offers you a pleasant center floor if desired. However I’d advocate utilizing all bread flour if in case you have it.
Completely. After kneading, form the dough into balls, place them in oiled containers, full the primary rise, after which refrigerate for 12-24 hours. This develops unbelievable taste. Simply convey the dough to room temperature earlier than stretching (about 45 minutes on the counter).
They’re comparable however not equivalent. Each have to preheat in a very popular oven to create that crispy backside crust.
Pizza stone: Made out of ceramic or cordierite, stones are extra reasonably priced and work nicely. They will crack if uncovered to sudden temperature adjustments.
Pizza metal: Made out of thick metal, these conduct warmth even higher than stones and are practically indestructible. They’re dearer however price it when you make pizza often.
Selfmade Pizza Dough (Fan Favourite!)
This home made pizza dough recipe actually is the most effective! Listed below are our methods for how you can make pizza dough with the right fluffy, chewy texture and strong taste—each time. That is certainly one of our hottest recipes with a great deal of optimistic critiques!
For the absolute best pizza dough, we advocate this pizza stone. Right here’s why we like it.
- Prep Time: 1 hour
- Prepare dinner Time: 0 minutes
- Complete Time: 1 hour
- Yield: 3 medium pizzas (about 11 inches in diameter)
- Class: Important Recipes
- Methodology: Baked
- Delicacies: Italian
Substances
- 500 grams* Tipo 00 or all-purpose flour (3 ⅓ cups)
- 8 grams prompt or energetic dry yeast (2 teaspoons)
- 7 grams kosher salt (1 teaspoon)
- 338 grams heat water (1 ¼ cups + 3 tablespoons)
- 13 grams olive oil (1 tablespoon)
Directions
- Mix the flour, salt, and yeast in a bowl or the bowl of your stand mixer. Stir to mix. Add the water and olive oil and stir till a raggy dough kinds. Flip the dough out onto a floured floor.
- Knead the dough by pushing with the bottom of your palm, then reforming it right into a ball. Proceed kneading for 8 minutes till the dough feels pillowy and has a clean, stretchy exterior. If the dough may be very sticky, add a small quantity of flour whereas kneading. Alternatively: connect the dough hook to a stand mixer and begin the mixer on medium-low velocity, then enable the mixer to knead for 8 minutes.
- After the kneading is completed, divide the dough into 3 equal items. Utilizing floured palms, gently form every half right into a boule (ball form) by folding the dough underneath itself. Set every boule on a floured floor and dab the dough with a little bit of olive oil to maintain it moist. Cowl all boules with a humid towel and permit them to rise at room temperature till doubled in measurement, about 45 minutes to 1 hour.
- The dough can be utilized instantly: go to Step 6. For next-level taste, you’ll be able to switch the dough to separate sealed containers, massive sufficient for the dough to double in measurement once more, and retailer within the fridge for two to three days. (We don’t all the time do that, however we attempt when attainable as a result of it makes for a noticeably nutty, distinctive taste that actually is the most effective home made pizza dough you’ve ever had.) You can too freeze pizza dough you don’t plan to make use of that day.
- **If you happen to’re utilizing the dough after refrigerating: The day of serving, take away the dough from the refrigerated containers, place it on a evenly floured floor coated with a towel, and permit it to return to room temperature earlier than stretching, 30 to 45 minutes. (This isn’t required when you’re utilizing the dough instantly after proofing.)
- Place a pizza stone within the oven and preheat to 500°F. OR preheat your pizza oven (right here’s the pizza oven we use).
- To stretch the dough, place it on a evenly floured floor and gently press it right into a circle, flipping a number of occasions and including a pinch of flour whether it is too sticky. After getting about an 8-inch circle, decide up the dough and gently drape it over the knuckles on each of your palms. Slowly rotate it round, permitting gravity to stretch it right into a circle about 11 inches in diameter. Don’t overwork or fold the dough. If the dough begins to withstand stretching, put it down and permit it to relaxation for a couple of minutes, at which level it would stretch extra simply. Then gently place the dough onto the pizza peel.
- Add your pizza toppings (like a ⅓ to ½ cup of this Selfmade Pizza Sauce and cheese). Use the pizza peel to fastidiously switch the pizza onto the preheated pizza stone. Bake the pizza till the cheese and crust are properly browned, about 5 to 7 minutes within the oven (or 1 minute in a pizza oven).
- Enable the pizza to chill for a minute or two, then add contemporary basil (if utilizing), slice into items, and serve instantly.
Notes
- Weigh your substances: Utilizing a meals scale makes certain you may have constant outcomes each time! I take advantage of this one.
- Flour choices: Tipo 00 offers the most effective texture, however bread flour and all-purpose flour each work. See “Which Flour Works Finest?” part for extra particulars.
- Hand kneading vs. stand mixer: Each strategies work completely, although stand mixer is far simpler.
- If the dough feels sticky: Pizza dough must be barely cheesy. If it’s too moist to deal with, mud with small quantities of flour whereas kneading. Tipo 00 and bread flour take in liquid in a different way than all-purpose.
- Make forward: This dough really improves with time. Refrigerating for 24-72 hours develops deeper, extra advanced taste.
- Freezing: Wrap formed dough balls tightly in plastic wrap and freeze for as much as 3 months. Thaw in a single day in fridge earlier than utilizing. See Tips on how to Freeze Pizza Dough.
- Baking suggestions: Preheat your pizza stone or baking sheet within the oven at 500°F for a minimum of 45 minutes. This ensures a crispy backside crust.
(operate(){
window.addEventListener( ‘message’, operate( occasion ){
if ( ( ‘https://nutrifox.com’ !== occasion.origin && ‘https://nutrifox.check’ !== occasion.origin ) ||
typeof occasion.knowledge !== ‘string’ ) {
return;
}
var payload = JSON.parse( occasion.knowledge );
swap ( payload.occasion ) {
case ‘setHeight’:
var iframe = doc.getElementById( ‘nutrifox-label-‘ + payload.recipeId );
iframe.model.peak = payload.peak + ‘px’;
break;
}
} );
}());
window.trCommon={“minRating”:6,”ajaxurl”:”https://www.acouplecooks.com/wp-admin/admin-ajax.php”,”ratingNonce”:””,”postId”:35063};
window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.smoothScroll = {
init() {
doc.addEventListener( ‘click on’, ( e ) => {
let anchor = e.goal;
if ( anchor.tagName !== ‘A’ ) {
anchor = anchor.closest( ‘a.tasty-recipes-scrollto’ );
}
if ( ! anchor || ! anchor.classList.incorporates( ‘tasty-recipes-scrollto’ ) ) {
return;
}
const elementHref = anchor.getAttribute( ‘href’ );
if ( ! elementHref ) {
return;
}
e.preventDefault();
this.goToSelector( elementHref );
});
},
goToSelector( selector ) {
const component = doc.querySelector( selector );
if ( ! component ) {
return;
}
component.scrollIntoView( { habits: ‘clean’ } );
}
};
doc.addEventListener(
‘DOMContentLoaded’,
() => window.TastyRecipes.smoothScroll.init()
);
window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.cookMode = {
wakeLockApi: false,
wakeLock: false,
cookModeSelector: ‘.tasty-recipes-cook-mode’,
init() {
if (“wakeLock” in navigator && “request” in navigator.wakeLock) {
this.wakeLockApi = navigator.wakeLock;
}
const cookModes = doc.querySelectorAll(this.cookModeSelector);
if (cookModes.size > 0) {
for (const cookMode of cookModes) {
if (this.wakeLockApi) {
cookMode.querySelector(‘enter[type=”checkbox”]’).addEventListener(“change”, occasion => {
this.checkboxChange(occasion.goal);
}, false);
} else {
cookMode.model.show = “none”;
}
}
}
},
checkboxChange(checkbox) {
if (checkbox.checked) {
this.lock();
} else {
this.unlock();
}
},
setCheckboxesState(state) {
const checkboxes = doc.querySelectorAll(this.cookModeSelector + ‘ enter[type=”checkbox”]’);
for (const checkbox of checkboxes) {
checkbox.checked = state;
}
},
async lock() {
attempt {
this.wakeLock = await this.wakeLockApi.request(“display”);
this.wakeLock.addEventListener(“launch”, () => {
this.wakeLock = false;
this.setCheckboxesState(false);
});
this.setCheckboxesState(true);
} catch (error) {
this.setCheckboxesState(false);
}
},
unlock() {
if (this.wakeLock) {
this.wakeLock.launch();
this.wakeLock = false;
}
this.setCheckboxesState(false);
}
};
(operate(callback) {
if (doc.readyState !== “loading”) {
callback();
} else {
doc.addEventListener(“DOMContentLoaded”, callback);
}
})(() => {
window.TastyRecipes.cookMode.init();
});
window.TastyRecipes = window.TastyRecipes || {};
window.TastyRecipes.staticTooltip = {
component: null,
tooltipElement: null,
deleting: false,
init( component ) {
if ( this.deleting ) {
return;
}
this.component = component;
this.buildElements();
},
destroy() {
if ( ! this.tooltipElement || this.deleting ) {
return;
}
this.deleting = true;
this.tooltipElement.classList.take away( ‘opened’ );
setTimeout( () => {
this.tooltipElement.take away();
this.deleting = false;
}, 500 );
},
buildElements() {
const tooltipElement = doc.createElement( ‘div’ );
tooltipElement.classList.add( ‘tasty-recipes-static-tooltip’);
tooltipElement.setAttribute( ‘id’, ‘tasty-recipes-tooltip’ );
const currentTooltipElement = doc.getElementById( ‘tasty-recipes-tooltip’ );
if ( currentTooltipElement ) {
doc.physique.replaceChild( tooltipElement, currentTooltipElement );
} else {
doc.physique.appendChild( tooltipElement );
}
this.tooltipElement = doc.getElementById( ‘tasty-recipes-tooltip’ );
},
present() {
if ( ! this.tooltipElement ) {
return;
}
const tooltipTop = this.component.getBoundingClientRect().high
+ window.scrollY
– 10 // 10px offset.
– this.tooltipElement.getBoundingClientRect().peak;
const tooltipLeft = this.component.getBoundingClientRect().left
– ( this.tooltipElement.getBoundingClientRect().width / 2 )
+ ( this.component.getBoundingClientRect().width / 2 ) – 1;
const posLeft = Math.max( 10, tooltipLeft );
this.maybeRemoveTail( posLeft !== tooltipLeft );
this.tooltipElement.setAttribute( ‘model’, ‘high:’ + tooltipTop + ‘px;left:’ + posLeft + ‘px;’ );
this.tooltipElement.classList.add( ‘opened’ );
},
maybeRemoveTail( removeTail ) {
if ( removeTail ) {
this.tooltipElement.classList.add( ‘tr-hide-tail’ );
} else {
this.tooltipElement.classList.take away( ‘tr-hide-tail’ );
}
},
changeMessage( message ) {
if ( ! this.tooltipElement ) {
return;
}
this.tooltipElement.innerHTML = message;
}
};
window.TastyRecipes.ajax = {
sendPostRequest( url, knowledge, success, failure ) {
const xhr = new XMLHttpRequest();
xhr.open( ‘POST’, url, true );
xhr.ship( this.preparePostData( knowledge ) );
xhr.onreadystatechange = () => {
if ( 4 !== xhr.readyState ) {
return;
}
if ( xhr.standing === 200 ) {
success( JSON.parse( xhr.responseText ) );
return;
}
failure( xhr );
};
xhr.onerror = () => {
failure( xhr );
};
},
preparePostData( knowledge ) {
const formData = new FormData();
for ( const key in knowledge ) {
formData.append( key, knowledge[key] );
}
return formData;
},
};
window.TastyRecipes.scores = {
defaultRating: 0,
currentRatingPercentage: 100,
savingRating: false,
init( minRating ) {
this.minRating = minRating;
this.formWatchRating();
this.closeTooltipWhenClickOutside();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompFormRatingPosition();
},
formWatchRating() {
const scores = doc.querySelectorAll(‘.tasty-recipes-no-ratings-buttons [data-rating]’);
if ( scores.size {
occasion.preventDefault();
this.defaultRating = occasion.goal.closest( ‘.checked’ ).dataset.score;
this.setCheckedStar( occasion.goal );
this.maybeSendRating( this.defaultRating, occasion.goal );
this.setRatingInForm( this.defaultRating );
} );
}
},
closeTooltipWhenClickOutside() {
window.addEventListener( ‘click on’, e => {
// Bailout (do not take away the tooltip) when the clicked component is a score star, or it is the tooltip itself.
if ( e.goal.closest( ‘.tasty-recipes-rating’ ) || e.goal.classList.incorporates( ‘tasty-recipes-static-tooltip’ ) ) {
return;
}
window.TastyRecipes.staticTooltip.destroy();
} );
},
setRatingInForm( score ) {
const ratingInput = doc.querySelector( ‘#reply .tasty-recipes-rating[value=”‘ + rating + ‘”]’ );
if ( ! ratingInput ) {
return;
}
ratingInput.click on();
},
addBodyClassBasedOnSelectedRating() {
const ratingInputs = doc.querySelectorAll( ‘enter.tasty-recipes-rating’ );
if ( ! ratingInputs ) {
return;
}
for ( const ratingInput of ratingInputs ) {
ratingInput.addEventListener( ‘click on’, currentEvent => {
const selectedRating = currentEvent.goal.getAttribute( ‘worth’ );
this.handleBodyClassByRating( selectedRating );
this.toggleCommentTextareaRequired( selectedRating );
} );
}
},
handleBodyClassByRating( score ) {
if ( score < this.minRating ) {
doc.physique.classList.take away( 'tasty-recipes-selected-minimum-rating' );
return;
}
doc.physique.classList.add( 'tasty-recipes-selected-minimum-rating' );
},
toggleCommentTextareaRequired( score ) {
const commentTextarea = doc.getElementById( 'remark' );
if ( ! commentTextarea ) {
return;
}
if ( score {
window.TastyRecipes.staticTooltip.changeMessage( response.knowledge.message );
window.TastyRecipes.staticTooltip.present();
this.updateAverageText( response.knowledge, recipeCardElement );
this.maybeFillCommentForm( response.knowledge );
// Disguise the tooltip after 5 seconds.
setTimeout( () => {
this.maybeResetTooltip( recipeCardElement, response.knowledge, score );
}, 5000 );
},
() => {
this.resetTooltip( recipeCardElement );
}
);
},
updateAverageText( knowledge, recipeCardElement ) {
if ( ! knowledge.common ) {
return;
}
this.setRatingPercent( knowledge );
if ( ! knowledge.rely ) {
return;
}
const quickLink = doc.querySelector( ‘.tasty-recipes-rating-link’ );
if ( quickLink ) {
this.setTextInContainer( quickLink, knowledge );
this.setPartialStar( quickLink );
}
const cardStars = recipeCardElement.querySelector( ‘.tasty-recipes-ratings-buttons’ );
cardStars.dataset.trDefaultRating = knowledge.common;
this.setTextInContainer( recipeCardElement.querySelector( ‘.tasty-recipes-rating’ ), knowledge );
},
setTextInContainer( container, knowledge ) {
if ( ! container ) {
return;
}
if ( knowledge.label ) {
const ratingLabelElement = container.querySelector( ‘.rating-label’ );
if ( ratingLabelElement ) {
ratingLabelElement.innerHTML = knowledge.label;
}
return;
}
const averageElement = container.querySelector( ‘.common’ );
if ( averageElement ) {
averageElement.textContent = knowledge.common;
}
const countElement = container.querySelector( ‘.rely’ );
if ( countElement ) {
countElement.textContent = knowledge.rely;
}
},
setPartialStar( container ) {
const highestStar = container.querySelector( ‘[data-rating=”‘ + Math.ceil( this.defaultRating ) + ‘”]’ );
if ( highestStar ) {
highestStar.dataset.trClip = this.currentRatingPercentage;
}
},
setRatingPercent( knowledge ) {
this.defaultRating = knowledge.common.toFixed( 1 );
const components = knowledge.common.toFixed( 2 ).toString().cut up( ‘.’ );
this.currentRatingPercentage = components[1] ? components[1] : 100;
if ( this.currentRatingPercentage === ’00’ ) {
this.currentRatingPercentage = 100;
}
},
setCheckedStar( goal ) {
const cardRatingContainer = goal.closest( ‘.tasty-recipes-ratings-buttons’ );
const selectedRatingElement = cardRatingContainer.querySelector( ‘[data-tr-checked]’ );
if ( selectedRatingElement ) {
delete selectedRatingElement.dataset.trChecked;
}
const thisStar = goal.closest( ‘.tasty-recipes-rating’ );
thisStar.dataset.trChecked = 1;
thisStar.querySelector( ‘[data-tr-clip]’ ).dataset.trClip = 100;
},
maybeFillCommentForm( knowledge ) {
if ( ! knowledge.remark || ! knowledge.remark.content material ) {
return;
}
const commentForm = doc.querySelector( ‘#commentform’ );
if ( ! commentForm ) {
return;
}
const commentBox = commentForm.querySelector( ‘[name=comment]’ );
if ( ! commentBox || commentBox.worth ) {
return;
}
// Add remark particulars for enhancing.
commentBox.innerHTML = knowledge.remark.content material;
if ( knowledge.remark.identify ) {
commentForm.querySelector( ‘[name=author]’ ).worth = knowledge.remark.identify;
commentForm.querySelector( ‘[name=email]’ ).worth = knowledge.remark.e mail;
}
},
maybeResetTooltip( recipeCardElement, knowledge, score ) {
if ( this.savingRating === score ) {
this.resetTooltip( recipeCardElement, knowledge );
}
},
resetTooltip( recipeCardElement, knowledge ) {
window.TastyRecipes.staticTooltip.destroy();
this.savingRating = false;
// Reset the default score.
const cardRatingContainer = recipeCardElement.querySelector( ‘.tasty-recipes-ratings-buttons’ );
if ( cardRatingContainer ) {
this.defaultRating = ( knowledge && knowledge.common ) ? knowledge.common.toFixed(1) : cardRatingContainer.dataset.trDefaultRating;
cardRatingContainer.dataset.trDefaultRating = this.defaultRating;
this.resetSelectedStar( cardRatingContainer, knowledge );
}
},
resetSelectedStar( cardRatingContainer ) {
const selectedRatingElement = cardRatingContainer.querySelector( ‘[data-rating=”‘ + Math.ceil( this.defaultRating ) + ‘”]’ );
if ( selectedRatingElement ) {
selectedRatingElement.querySelector( ‘[data-tr-clip]’ ).dataset.trClip = this.currentRatingPercentage;
selectedRatingElement.parentNode.dataset.trChecked = 1;
}
const previousSelectedElement= cardRatingContainer.querySelector( ‘[data-tr-checked]’ );
if ( previousSelectedElement ) {
const currentSelectedRating = previousSelectedElement.querySelector(‘[data-rating]’);
if ( currentSelectedRating !== selectedRatingElement ) {
delete previousSelectedElement.dataset.trChecked;
}
}
},
backwardCompFormRatingPosition() {
const ratingsButtons = doc.querySelector( ‘#reply .tasty-recipes-ratings-buttons, #tasty-recipes-comment-rating .tasty-recipes-ratings-buttons’ );
if ( ! ratingsButtons ) {
return;
}
const ratingsButtonsStyles = window.getComputedStyle(ratingsButtons);
if ( ! ratingsButtonsStyles.show.consists of( ‘flex’ ) ) {
ratingsButtons.model.route = ‘rtl’;
}
if ( typeof tastyRecipesRating !== ‘undefined’ ) {
// Choose the score that was beforehand chosen in admin.
ratingsButtons.querySelector( ‘.tasty-recipes-rating[value=”‘ + tastyRecipesRating + ‘”]’ ).checked = true;
}
const ratingSpans = ratingsButtons.querySelectorAll( ‘.tasty-recipes-rating’ );
for (const ratingSpan of ratingSpans) {
ratingSpan.addEventListener( ‘click on’, occasion => {
if ( ratingSpan === occasion.goal ) {
return;
}
ratingSpan.previousElementSibling.click on();
} );
}
}
};
(operate(callback) {
if (doc.readyState !== “loading”) {
callback();
} else {
window.addEventListener( ‘load’, callback );
}
})(() => {
window.TastyRecipes.scores.init( window.trCommon ? window.trCommon.minRating : 4 );
});
Extra pizza recipes & assets
Attempt our fan-favorite Selfmade Pizza or Margherita Pizza topped with the most effective home made pizza sauce. Go traditional with Selfmade Cheese Pizza, or extra distinctive with Mushroom Pizza or Taco Pizza. Or begin the day with Breakfast Pizza!