{"id":9838,"date":"2026-05-19T15:01:09","date_gmt":"2026-05-19T13:01:09","guid":{"rendered":"https:\/\/www.cookingformybaby.com\/en\/?p=9838"},"modified":"2026-05-22T10:18:02","modified_gmt":"2026-05-22T08:18:02","slug":"endive-potato-reblochon-gratin-baby-family","status":"publish","type":"post","link":"https:\/\/www.cookingformybaby.com\/en\/endive-potato-reblochon-gratin-baby-family\/","title":{"rendered":"Endive and Potato Gratin with Reblochon for Babies (and the Whole Family)"},"content":{"rendered":"<div id=\"rank-math-toc\" class=\"wp-block-rank-math-toc-block\">\n<h2>Recipe steps<\/h2>\n<nav>\n<ul>\n<li class=\"\"><a href=\"#ingredients\">Ingredients<\/a><\/li>\n<li class=\"\"><a href=\"#preparation\">Preparation<\/a><\/li>\n<li class=\"\"><a href=\"#cuisson\">Cooking<\/a><\/li>\n<\/ul>\n<\/nav>\n<\/div>\n<div class=\"wp-block-spacer\" style=\"height: 40px;\" aria-hidden=\"true\"><\/div>\n<p>Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family &#x1f642;<\/p>\n<h2 id=\"gratin-pour-bebe\" class=\"wp-block-heading\">Baby gratin<\/h2>\n<p>We are always wondering how to get children (and sometimes even adults\u2026) to eat endives. It is a nutrient-packed vegetable and low in calories (which lets us enjoy it with cheese, after all!). Pairing it with potatoes works really well.<\/p>\n<p>With a little cr\u00e8me fra\u00eeche to mellow the flavor and add a creamy texture to our gratin, onion for extra flavor, and of course Reblochon to make everything beautifully golden: a real treat that everyone should enjoy!<\/p>\n<p>Here is what you need to make this endive recipe for baby, with potatoes and Reblochon (for baby and the whole family from 12 months, for 2 adults and 2 children):<\/p>\n<h2 id=\"ingredients\" class=\"wp-block-heading\">Ingredients<\/h2>\n<ul class=\"wp-block-list\">\n<li><strong>3 large endives<\/strong><\/li>\n<li><strong>5 medium potatoes (about 1.1 lb \/ 500 g peeled)<\/strong><\/li>\n<li><strong>1\/4 wheel Reblochon cheese (adjust the amount for the biggest cheese lovers!)<\/strong><\/li>\n<li><strong>1\/2 onion<\/strong><\/li>\n<li><strong>3\/4 cup cr\u00e8me fra\u00eeche (sour cream 180 ml)<\/strong><\/li>\n<\/ul>\n<h2 id=\"preparation\" class=\"wp-block-heading\">Preparation<\/h2>\n<p>We are going to start with the endives. Remove the core, which can make endive very bitter. Then slice them very finely.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-8324\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-300x158.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-1024x540.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-768x405.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-600x317.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-1170x617.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-585x309.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pour-gratin-bebe-500x264.jpg 500w\" alt=\"Endives (Belgian endive\/chicory) for baby\u2019s gratin\" width=\"1200\" height=\"633\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<p>Place them in a bowl of water to rinse them well.<\/p>\n<p>Meanwhile, peel the potatoes, cut them lengthwise into 4 pieces, then slice them.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-8328\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-300x140.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-1024x477.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-768x358.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-600x280.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-1170x545.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-585x273.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/pommes-de-terre-pour-gratin-bebe-500x233.jpg 500w\" alt=\"Potatoes for baby\u2019s gratin\" width=\"1200\" height=\"559\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<p>Add the potato pieces to the bowl and rinse the vegetables well.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-8325\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-300x161.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-1024x550.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-768x412.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-600x322.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-1170x628.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-585x314.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/laver-endives-pommes-de-terre-pour-gratin-500x268.jpg 500w\" alt=\"Washing endives and potatoes for baby\u2019s gratin\" width=\"1200\" height=\"644\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<p>Drain them, place them in the steamer basket, and steam for 15 minutes!<\/p>\n<p>Meanwhile, finely mince the onion and sweat it in a pan with a drizzle of oil. Once the onion has softened after a few minutes over medium heat, remove the pan from the heat and add the cr\u00e8me fra\u00eeche.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8321\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-300x163.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-1024x556.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-768x417.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-600x326.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-1170x635.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-585x317.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-fraiche-pour-gratin-bebe-500x271.jpg 500w\" alt=\"Cr\u00e8me fra\u00eeche for baby\u2019s gratin\" width=\"1200\" height=\"651\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8320\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-300x132.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-1024x451.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-768x338.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-600x264.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-1170x515.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-585x257.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/creme-et-oignon-pour-gratin-bebe-500x220.jpg 500w\" alt=\"Cr\u00e8me fra\u00eeche and onion for baby\u2019s gratin\" width=\"1200\" height=\"528\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<p>Preheat the oven to 400\u00b0F (200\u00b0C).<\/p>\n<p>Once the vegetables are cooked, place them in a gratin dish, then pour the cream-and-onion mixture over the top. Spread the cream evenly over everything.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8322\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-300x145.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-1024x496.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-768x372.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-600x291.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-1170x566.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-585x283.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-oignon-gratin-bebe-500x242.jpg 500w\" alt=\"Endives and potatoes for baby\u2019s gratin\" width=\"1200\" height=\"581\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8323\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-300x160.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-1024x545.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-768x409.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-600x320.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-1170x623.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-585x312.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/endives-pommes-de-terre-pour-gratin-de-bebe-500x266.jpg 500w\" alt=\"Endives and potatoes for baby\u2019s gratin\" width=\"1200\" height=\"639\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<p>Cut the quarter wheel (or more\u2026) of Reblochon into thin slices and arrange them over the vegetables.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8329\" title=\"\" src=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe.jpg\" sizes=\"(max-width: 1200px) 100vw, 1200px\" srcset=\"https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe.jpg 1200w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-300x179.jpg 300w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-1024x612.jpg 1024w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-768x459.jpg 768w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-600x359.jpg 600w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-1170x699.jpg 1170w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-585x350.jpg 585w, https:\/\/www.cookingformybaby.com\/wp-content\/uploads\/2021\/03\/reblochon-pour-gratin-de-bebe-500x299.jpg 500w\" alt=\"Reblochon for baby\u2019s gratin\" width=\"1200\" height=\"717\" data-pin-title=\"Endive and Potato Gratin with Reblochon for Baby and the Whole Family\" data-pin-description=\"Recipe stepsIngredientsPreparationCooking Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family\u2026\" \/><\/figure>\n<\/div>\n<h2 id=\"cuisson\" class=\"wp-block-heading\">Cooking<\/h2>\n<p>Bake for 15 minutes.<\/p>\n<p>After 15 minutes of baking, you will have a lovely golden gratin, with tender endives and potatoes\u2014such a delicious bite!<\/p>\n<div class=\"custom-rating-container\">\n<div id=\"notation-8319-systeme1\" style=\"text-align: center; margin: 20px 0 60px 0;\">\n<h3 class=\"comment-reply-title\">Did you enjoy this recipe? &#x1f642;<\/h3>\n<div class=\"rating-container\" style=\"display: flex; justify-content: center; margin-bottom: 20px;\">\n<div class=\"crfp-rating-stars\" style=\"display: flex; gap: 4px; zoom: 1.5;\"><a class=\"crfp-rating-star\" style=\"display: inline-block; width: 20px; height: 20px; background-image: url('https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20');\" href=\"#\" data-rating=\"1\"><br \/>\n<\/a><br \/>\n<a class=\"crfp-rating-star\" style=\"display: inline-block; width: 20px; height: 20px; background-image: url('https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20');\" href=\"#\" data-rating=\"2\"><br \/>\n<\/a><br \/>\n<a class=\"crfp-rating-star\" style=\"display: inline-block; width: 20px; height: 20px; background-image: url('https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20');\" href=\"#\" data-rating=\"3\"><br \/>\n<\/a><br \/>\n<a class=\"crfp-rating-star\" style=\"display: inline-block; width: 20px; height: 20px; background-image: url('https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20');\" href=\"#\" data-rating=\"4\"><br \/>\n<\/a><br \/>\n<a class=\"crfp-rating-star\" style=\"display: inline-block; width: 20px; height: 20px; background-image: url('https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&amp;color=FFD700&amp;size=20');\" href=\"#\" data-rating=\"5\"><br \/>\n<\/a><\/div>\n<\/div>\n<\/div>\n<p><script type=\"text\/javascript\"><br \/>\n    document.addEventListener(\"DOMContentLoaded\", function() {<br \/>\n        const container = document.querySelector(\"#notation-8319-systeme1\");<br \/>\n        const postID = 8319; \/\/ Injects the post ID<br \/>\n        const nonce = \"e1eb2e7f60\";<\/p>\n<p>        if (!container) return; \/\/ If the container does not exist<\/p>\n<p>        const stars = container.querySelectorAll(\".crfp-rating-star\");<br \/>\n        let selectedRating = 0;<br \/>\n        let isSubmitting = false;<\/p>\n<p>        function updateStars(rating) {<br \/>\n            stars.forEach((star, index) => {<br \/>\n                const color = index < rating \n                    ? \"FFD700\" \n                    : \"cccccc\";\n                star.style.backgroundImage = `url(https:\/\/www.cookingformybaby.com\/wp-content\/plugins\/comment-rating-field-pro-plugin\/views\/global\/svg.php?svg=star&#038;color=${color}&#038;size=20)`;\n            });\n        }\n\n        stars.forEach((star, index) => {<br \/>\n            star.addEventListener(\"mouseover\", function() {<br \/>\n                updateStars(index + 1);<br \/>\n            });<\/p>\n<p>            star.addEventListener(\"mouseout\", function() {<br \/>\n                updateStars(selectedRating);<br \/>\n            });<\/p>\n<p>            star.addEventListener(\"click\", function(e) {<br \/>\n                e.preventDefault();<br \/>\n                if (isSubmitting) return;<\/p>\n<p>                selectedRating = index + 1;<br \/>\n                updateStars(selectedRating);<\/p>\n<p>                isSubmitting = true;<\/p>\n<p>                console.log({<br \/>\n    action: \"enregistrer_vote\",<br \/>\n    rating: selectedRating,<br \/>\n    post_id: postID,<br \/>\n    nonce: nonce<br \/>\n});<\/p>\n<p>                fetch(\"https:\/\/www.cookingformybaby.com\/wp-admin\/admin-ajax.php\", {<br \/>\n                    method: \"POST\",<br \/>\n                    headers: { \"Content-Type\": \"application\/x-www-form-urlencoded\" },<br \/>\n                    body: new URLSearchParams({<br \/>\n        action: \"enregistrer_vote\",<br \/>\n        rating: selectedRating, \/\/ Uses the clicked rating<br \/>\n        post_id: postID, \/\/ Uses the correctly defined variable<br \/>\n        nonce: nonce<br \/>\n    })<br \/>\n})<\/p>\n<p>                .then(response => response.json())<br \/>\n                .then(data => {<br \/>\n                    isSubmitting = false;<br \/>\n                    if (data.success) {<br \/>\n                        alert(\"Thank you for your rating!\");<br \/>\n                    } else {<br \/>\n                        alert(data?.data?.message || \"An error occurred.\");<br \/>\n                    }<br \/>\n                })<br \/>\n                .catch(error => {<br \/>\n                    isSubmitting = false;<br \/>\n                    console.error(\"AJAX error:\", error);<br \/>\n                    alert(\"An error occurred while submitting. Please try again.\");<br \/>\n                });<br \/>\n            });<br \/>\n        });<br \/>\n    });<br \/>\n    <\/script><\/p>\n<\/div>\n<p>Our endive and potato gratin with Reblochon recipe for baby and the whole family (from 12 months) is now ready &#x1f642; Feel free to cut it into very small pieces on baby\u2019s plate.<\/p>\n<p>Always season your own plate rather than the whole dish.<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tartiflette-style flavors with endives? It is possible\u2014and absolutely delicious! Here is an endive recipe for baby and the whole family&hellip;<\/p>\n","protected":false},"author":1,"featured_media":9839,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[250,338,354,293,49,309,145,51,192,54,544,80,487,343,43,332],"tags":[],"class_list":["post-9838","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-12-months","category-18-months","category-dinner","category-baby-food-recipes","category-age","category-cheese","category-onion","category-ingredient","category-endive","category-potato","category-reblochon","category-vegetables","category-easy-family-dinner-ideas","category-family-recipes","category-vegetarian","category-winter"],"_links":{"self":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts\/9838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/comments?post=9838"}],"version-history":[{"count":2,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts\/9838\/revisions"}],"predecessor-version":[{"id":9841,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/posts\/9838\/revisions\/9841"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/media\/9839"}],"wp:attachment":[{"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/media?parent=9838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/categories?post=9838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cookingformybaby.com\/en\/wp-json\/wp\/v2\/tags?post=9838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}