Build a Decimal to Binary Converter - Step 96

Tell us what’s happening:

I need to use string interpolation to set the string as the value of the p element. What am I doing wrong? Please help.

Your code so far

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

/* file: styles.css */

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

`decimalToBinary(${obj.inputVal})`

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0

Challenge Information:

Build a Decimal to Binary Converter - Step 96

Don’t use the template literal strings (back ticks) again. It’s already there on line number 33 and 37

1 Like