fix(curriculum): decimal to binary converter - Confusing quotes (#55550)

This commit is contained in:
Gagan Bhullar
2024-07-19 01:13:51 -07:00
committed by GitHub
parent 29607fb473
commit 210a0b75dd
11 changed files with 11 additions and 13 deletions
@@ -13,8 +13,6 @@ Set the value of the `msg` property to the following string:
"decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack."
```
Note that, since the string itself contains double quotation marks, you'll need to escape them with a backslash, or use single quotation marks for your string value.
# --hints--
You should add the property `msg` to the animation object at the top of the stack.
@@ -192,7 +192,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.'
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack."
}
--fcc-editable-region--
];
@@ -217,7 +217,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -220,7 +220,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -188,7 +188,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -170,7 +170,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -179,7 +179,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -188,7 +188,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -179,7 +179,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -190,7 +190,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -170,7 +170,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
}
@@ -368,7 +368,7 @@ const animationData = [
inputVal: 1,
marginTop: -200,
addElDelay: 2000,
msg: 'decimalToBinary(1) returns "1" (base case) and gives that value to the stack below. Then it pops off the stack.',
msg: "decimalToBinary(1) returns '1' (base case) and gives that value to the stack below. Then it pops off the stack.",
showMsgDelay: 5000,
removeElDelay: 10000,
},