curriculum/challenges/english/blocks/workshop-cat-painting/646ceb843412c74edee27a79.md
Using a class selector, give the .cat-right-ear element height and width properties set to 100px. Set the background-color to white. Set the left and right borders to 35px solid blue. Set the top and bottom borders to 35px solid red.
You should have a .cat-right-ear selector.
assert.exists(new __helpers.CSSHelp(document)?.getStyle('.cat-right-ear'))
Your .cat-right-ear selector should have a height property set to 100px. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.height, '100px')
Your .cat-right-ear selector should have a width property set to 100px. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.width, '100px')
Your .cat-right-ear selector should have a background-color property set to white. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.backgroundColor, 'white')
Your .cat-right-ear selector should have a border-left property set to 35px solid blue. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderLeft, '35px solid blue')
Your .cat-right-ear selector should have a border-right property set to 35px solid blue. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderRight, '35px solid blue')
Your .cat-right-ear selector should have a border-top property set to 35px solid red. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTop, '35px solid red')
Your .cat-right-ear selector should have a border-bottom property set to 35px solid red. Don't forget to add a semi-colon.
assert.strictEqual(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderBottom, '35px solid red')
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>fCC Cat Painting</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<main>
<div class="cat-head">
<div class="cat-ears">
<div class="cat-left-ear">
<div class="cat-left-inner-ear"></div>
</div>
<div class="cat-right-ear">
<div class="cat-right-inner-ear"></div>
</div>
</div>
</div>
</main>
</body>
</html>
* {
box-sizing: border-box;
}
body {
background-color: #c9d2fc;
}
.cat-head {
position: absolute;
right: 0;
left: 0;
top: 0;
bottom: 0;
margin: auto;
background: linear-gradient(#5e5e5e 85%, #45454f 100%);
width: 205px;
height: 180px;
border: 1px solid #000;
border-radius: 46%;
}
--fcc-editable-region--
--fcc-editable-region--