@ -2031,8 +2031,8 @@
|
||||
"<p>Top 3 things cats hate:</p>"
|
||||
],
|
||||
"tests": [
|
||||
"assert.equal($(\"ol\").prev().text(), 'Top 3 things cats hate:', 'message: You should have an ordered list for \"Top 3 things cats hate:\"');",
|
||||
"assert.equal($(\"ul\").prev().text(), \"Things cats love:\", 'message: You should have an unordered list for \"Things cats love:\"');",
|
||||
"assert((/Top 3 things cats hate:/i).test($(\"ol\").prev().text()), 'message: You should have an ordered list for \"Top 3 things cats hate:\"');",
|
||||
"assert((/Things cats love:/i).test($(\"ul\").prev().text()), 'message: You should have an unordered list for \"Things cats love:\"');",
|
||||
"assert.equal($(\"ul li\").length, 3, 'message: You should have three <code>li</code> elements within your <code>ul</code> element.');",
|
||||
"assert.equal($(\"ol li\").length, 3, 'message: You should have three <code>li</code> elements within your <code>ol</code> element.');",
|
||||
"assert(code.match(/<\\/ul>/g) && code.match(/<\\/ul>/g).length === code.match(/<ul>/g).length, 'message: Make sure your <code>ul</code> element has a closing tag.');",
|
||||
|
@ -212,7 +212,7 @@
|
||||
"description": [
|
||||
"In this video, we decode a number written in binary notation.",
|
||||
"Let's talk about the binary numeral system, also known as a bunch of 1's and 0's over and over again.",
|
||||
"We're going to start by labeling, staring backwards, how many numbers there are.",
|
||||
"We're going to start by labeling, starting backwards, how many numbers there are.",
|
||||
"(In this video there are 7, but we start at 0, so we only get up to 6.) Pretty straightforward.",
|
||||
"The next step is to take 2 to the power of whatever place it is, a 2 to the 0, 2 to the 1, all the way up to the largest placeholder.",
|
||||
"Then, all we have to do is fill in some mathematical blanks by completing the exponential 2 problems.",
|
||||
|
Reference in New Issue
Block a user