Merge pull request #9166 from FreeCodeCamp/revert-9084-Fix/Change-the-Font-Size-of-an-Element

Revert "Fix/Change the Font Size of an Element"
pull/9167/head
Berkeley Martinez 2016-06-15 18:53:37 -07:00 committed by GitHub
commit 8737348f90
1 changed files with 2 additions and 2 deletions

View File

@ -733,8 +733,8 @@
"assert($(\"p\").length > 1, 'message: You need 2 <code>p</code> elements with Kitty Ipsum text.');",
"assert(code.match(/<\\/p>/g) && code.match(/<\\/p>/g).length === code.match(/<p/g).length, 'message: Make sure each of your <code>p</code> elements has a closing tag.');",
"assert.isTrue((/Purr\\s+jump\\s+eat/gi).test($(\"p\").text()), 'message: Your <code>p</code> element should contain the first few words of the provided additional <code>kitty ipsum text</code>.');",
"assert(code.match(/<p>Purr jump eat the grass/), 'message: Do not add a class attribute to the second <code>p</code> element.');",
"assert(code.match(/<style>[\\w\\W\\s]*?p\\s*?{\\W*?font-size:\\s?16px;\\W*?}\\W*?<\\\/style>/), 'message: Between the <code>style</code> tags, give the <code>p</code> elements <code>font-size</code> of <code>16px</code>. Browser and Text zoom should be at 100%.');"
"assert($(\"p:not([class])\").length === 1, 'message: Do not add a class attribute to the second <code>p</code> element.');",
"assert(parseInt($(\"p:not([class])\").css(\"font-size\"), 10) > 15, 'message: Between the <code>style</code> tags, give the <code>p</code> elements <code>font-size</code> of <code>16px</code>. Browser and Text zoom should be at 100%.');"
],
"type": "waypoint",
"titleEs": "Cambia el tamaño de fuente de un elemento.",