Learn Form Validation by Building a Calorie Counter - Step 16

Tell us what’s happening:

what mistake is happening here?
// running tests
7. You should declare a variable called output.
9. You should assign the #output element to output.
// tests completed
it showing error like this but i have code it correctly

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

const calorieCounter = document.getElementById('calorie-counter');
const budgetNumberInput = document.getElementById('budget');
const entryDropdown = document.getElementById('entry-dropdown');
let addEntryButton;
addEntryButton=document.getElementById('add-entry');
let clearButton;
clearButton=document.getElementById('clear');
let output;
output=document.getElementById('output')


// 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/137.0.0.0 Safari/537.36

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 16

Have you tried using const for all variables? And initialize them all intead of first declaring?

yeah i tried.. still shows the error

please show your updated code