Tell us what’s happening:
Hello There,
could you help to find what is the issue in this question , please ?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const updateResultsList = () => {
resultList.innerHTML = "";
units.forEach(item => {
if(item !== unitToConvert.value){
const convertedQuantity = processIngredient(ingredientQuantity.value)(unitToConvert.value)(item)(numberOfServings.value)
const newListItem = document.createElement('li')
resultList.appendChild(newListItem)
newListItem.textContent += `${ingredientName.value}: ${convertedQuantity} ${item}`
}
})
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Build a Recipe Ingredient Converter - Step 18