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

Tell us what’s happening:

While my document get id work correctly I can’t pass the msg object…

Your code so far

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

/* file: styles.css */

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

document.getElementById("obj.inputVal").textContent;
textContent = obj.msg;

// 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 Recursion by Building a Decimal to Binary Converter - Step 103

you don’t have an element with id="obj.inputVal", double check what you are writing

Thanks it helped!! :grin: