Merge pull request #2570 from dokkillo/dokkillo-2308

issue 2308 Center Text with Bootstrap typo
pull/2569/head
Berkeley Martinez 2015-08-24 11:10:51 -07:00
commit 045d1a73b6
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@
"difficulty": 2.03,
"description": [
"Now that we're using Bootstrap, we can center our heading elements to make them look better. All we need to do is add the class <code>text-center</code> to our <code>h1</code> and <code>h2</code> elements.",
"Remember that you can add several classes to the same element by separating each of them with a space, like this: <code>&#60h2 class=\"text-red text-center\"&#62your text&#60/h2&#62</code>."
"Remember that you can add several classes to the same element by separating each of them with a space, like this: <code>&#60h2 class=\"red-text text-center\"&#62your text&#60/h2&#62</code>."
],
"tests": [
"assert($(\"h2\").hasClass(\"text-center\"), 'Your <code>h2</code> element should be centered by applying the class <code>text-center</code>')"