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

Tell us what’s happening:

Sorry, your code does not pass. You’re getting there.

You should set the textContent property of the targeted element equal to the msg property of the current object.

i got this error i can t understand why it doesnt work like this
msg = textcontent …

Your code so far

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

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

   document.getElementById(obj.inputVal).textContent;
    
    }, obj.showMsgDelay);

// User Editable Region
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

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

“you should set the” means, after the textContent and before the semi-colon they expect you to have an equal sign (which is the assignment operator used to ‘set’ things)

1 Like