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

Tell us what’s happening:

“You should add the property msg to the animation object in the middle of the stack.”

Your code so far

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

/* file: styles.css */

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

  {
    inputVal: 2,
    addElDelay: 1500
    msg: "decimalToBinary(2) returns '1' + 0 (2 % 2) and gives that value to the stack below. Then it pops off the stack.",
    showMsgDelay: 10000,
    removeElDelay: 15000,
  },

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

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

Before you added the msg property, what also needed to be added?

1 Like