1.3 KiB
1.3 KiB
id | title | challengeType | videoUrl |
---|---|---|---|
587d781c367417b2b2512ac4 | Set the font-size of Paragraph Text | 0 | https://scrimba.com/c/cVJ36Cr |
Description
font-size
property in CSS is not limited to headings, it can be applied to any element containing text.
Instructions
font-size
property for the paragraph to 16px to make it more visible.
Tests
tests:
- text: Your <code>p</code> tag should have a <code>font-size</code> of 16 pixels.
testString: assert($('p').css('font-size') == '16px', 'Your <code>p</code> tag should have a <code>font-size</code> of 16 pixels.');
Challenge Seed
<style>
p {
font-size: 10px;
}
</style>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>
Solution
// solution required