Tell us what’s happening:
Sorry, your code does not pass. Try again.
You should use the .getElementById() method to target the element where the id attribute matches the value of inputVal for the current object.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
document.getElementById(`${obj.inputVal}`)
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Challenge Information:
Learn Recursion by Building a Decimal to Binary Converter - Step 104