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

Tell us what’s happening:

No matter what I try I just cannot complete this lesson. Can anyone help me because I don’t know what to do :confused:

Your code so far

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

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

 ${decimalToBinary(`${obj.inputVal}`)}

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

Challenge Information:

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

1 Like

Hello there!

Kindly check the hint box. The answer is provided, correct your code using it.

i’ve tried this solution before and it didn’t work but now somehow it worked. thanks!