Learn Recursion by Building a Decimal to Binary Converter - Step 104

Tell us what’s happening:

I’m not sure what to call the .getElementById() on.

Your code so far

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

/* file: styles.css */

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

getElementById(obj.inputVal)

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

Challenge Information:

Learn Recursion by Building a Decimal to Binary Converter - Step 104

It’s document

Not generally, specifically to this question.

Still
document.getElementById()

The document variable is a global variable that represent the current HTML page that browser is displaying.

Sorry, now I remenber.

I was totally confused, that’s why. Thanks a lot.