1.2 KiB
1.2 KiB
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
bad87fee1348bd9aedf08736 | Style the HTML Body Element | 0 | قم بتهيئة عنصر نص HTML |
Description
body
عنصر. Instructions
undefined
Tests
tests:
- text: ''
testString: 'assert($("body").css("background-color") === "rgb(0, 0, 0)", "Give your <code>body</code> element the <code>background-color</code> of black.");'
- text: ''
testString: 'assert(code.match(/<style>\s*body\s*\{\s*background.*\s*:\s*.*;\s*\}\s*<\/style>/i), "Make sure your CSS rule is properly formatted with both opening and closing curly brackets.");'
- text: تأكد من انتهاء قاعدة CSS بفاصلة منقوطة.
testString: 'assert(code.match(/<style>\s*body\s*\{\s*background.*\s*:\s*.*;\s*\}\s*<\/style>/i), "Make sure your CSS rule ends with a semi-colon.");'
Challenge Seed
<style>
</style>
Solution
// solution required