Large Size Joinus Calculator Soup
Large Size Joinus Calculator Soup
Calculate your large joinus soup size and ingredients.
Not calculated yet.
Soup Size: ${size} liters
Ingredient 1: ${ingredient1}g
Ingredient 2: ${ingredient2}g
Ingredient 3: ${ingredient3}g
`; soupSteps += `Formulas:
Total Calories = Ingredient1 * Calorie per gram + Ingredient2 * Calorie per gram + Ingredient3 * Calorie per gram
`; soupSteps += `Results:
Total Calories: ${totalCalories.toFixed(2)}
`; if(document.getElementById(“calculationStepsSoup”).style.display === “block”){ document.getElementById(“calculationStepsSoup”).innerHTML = soupSteps; } } function resetSoup(){ document.querySelectorAll(“#calculator input”).forEach(el => el.value = “”); soupSteps = “”; document.getElementById(“calculationStepsSoup”).innerHTML = “
Not calculated yet.
“; } function toggleSoupSteps(){ const s = document.getElementById(“calculationStepsSoup”); const a = document.getElementById(“toggleArrowSoup”); if(s.style.display === “none” || s.style.display === “”){ s.style.display = “block”; a.style.transform = “rotate(180deg)”; s.innerHTML = soupSteps || “Not calculated yet.
“; }else{ s.style.display = “none”; a.style.transform = “rotate(0deg)”; } }