Hey guys the Hint says : "You should use document.getElementById() to get the #calorie-counter element"

here is what i got so far :wink:

const calorieCounter = document.getElementById(‘calorieCounterForm’);
2)???
plz help

Hint for what? There are hundreds of lessons, we need more information.

The challenges have a link to click to ask for help, which creates a post on the forum which links back

You should use document.getElementById() to get the #calorie-counter element

That would mean the id name is calorie-counter so that is what you should pass to getElementById, not calorieCounterForm

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.