mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-07 18:01:40 -05:00
chore: sync i18n (#55397)
This commit is contained in:
committed by
GitHub
parent
3e659b53b3
commit
b2dba74e28
@@ -1,10 +0,0 @@
|
||||
---
|
||||
id: 64514fda6c245de4d11eb7bb
|
||||
title: Example Certification
|
||||
certification: example-certification
|
||||
challengeType: 7
|
||||
isPrivate: true
|
||||
tests:
|
||||
-
|
||||
id: 645147516c245de4d11eb7ba
|
||||
title: Certification Exam
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cecc9eb5c4f4f73dafd07
|
||||
title: Step 23
|
||||
challengeType: 0
|
||||
dashedName: step-23
|
||||
dashedName: step-25
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cef0c2b98915094df7099
|
||||
title: Step 24
|
||||
challengeType: 0
|
||||
dashedName: step-24
|
||||
dashedName: step-26
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf1206cac5f51804f49cf
|
||||
title: Step 25
|
||||
challengeType: 0
|
||||
dashedName: step-25
|
||||
dashedName: step-27
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf2249f02ca5233d9af7c
|
||||
title: Step 26
|
||||
challengeType: 0
|
||||
dashedName: step-26
|
||||
dashedName: step-28
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf48d8f8e1f535a1821d3
|
||||
title: Step 27
|
||||
challengeType: 0
|
||||
dashedName: step-27
|
||||
dashedName: step-29
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf6cbca98e258da65c979
|
||||
title: Step 28
|
||||
challengeType: 0
|
||||
dashedName: step-28
|
||||
dashedName: step-30
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf88aa884405a11ea5bcc
|
||||
title: Step 29
|
||||
challengeType: 0
|
||||
dashedName: step-29
|
||||
dashedName: step-31
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cfc2b8e6fe95c20a819d5
|
||||
title: Step 30
|
||||
challengeType: 0
|
||||
dashedName: step-30
|
||||
dashedName: step-32
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cfd853634255d02b64cc1
|
||||
title: Step 31
|
||||
challengeType: 0
|
||||
dashedName: step-31
|
||||
dashedName: step-33
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cfde6ac612e5d60391f50
|
||||
title: Step 32
|
||||
challengeType: 0
|
||||
dashedName: step-32
|
||||
dashedName: step-34
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd556d524bc61c0139bd6
|
||||
title: Step 33
|
||||
challengeType: 0
|
||||
dashedName: step-33
|
||||
dashedName: step-35
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd6f9caa862627dd87772
|
||||
title: Step 34
|
||||
challengeType: 0
|
||||
dashedName: step-34
|
||||
dashedName: step-36
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd7cfd0cfac630c1dd520
|
||||
title: Step 35
|
||||
challengeType: 0
|
||||
dashedName: step-35
|
||||
dashedName: step-37
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd8c79ec23463a3d0e356
|
||||
title: Step 36
|
||||
challengeType: 0
|
||||
dashedName: step-36
|
||||
dashedName: step-38
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd9d9a729916460724f16
|
||||
title: Step 37
|
||||
challengeType: 0
|
||||
dashedName: step-37
|
||||
dashedName: step-39
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddab8afd73764f5241bbf
|
||||
title: Step 38
|
||||
challengeType: 0
|
||||
dashedName: step-38
|
||||
dashedName: step-40
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddb61ff08366570cc5902
|
||||
title: Step 39
|
||||
challengeType: 0
|
||||
dashedName: step-39
|
||||
dashedName: step-41
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddd3f9f97a0667b964bdb
|
||||
title: Step 40
|
||||
challengeType: 0
|
||||
dashedName: step-40
|
||||
dashedName: step-42
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dde7dc20dc167489faa69
|
||||
title: Step 41
|
||||
challengeType: 0
|
||||
dashedName: step-41
|
||||
dashedName: step-43
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddf888632fa67f1180940
|
||||
title: Step 42
|
||||
challengeType: 0
|
||||
dashedName: step-42
|
||||
dashedName: step-44
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de5dc8988076a1d992afd
|
||||
title: Step 43
|
||||
challengeType: 0
|
||||
dashedName: step-43
|
||||
dashedName: step-45
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de6a97b50a86ac487de86
|
||||
title: Step 44
|
||||
challengeType: 0
|
||||
dashedName: step-44
|
||||
dashedName: step-46
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de7b64467e96b7d35b5cd
|
||||
title: Step 45
|
||||
challengeType: 0
|
||||
dashedName: step-45
|
||||
dashedName: step-47
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de8478d6f796bfbdccfb2
|
||||
title: Step 46
|
||||
challengeType: 0
|
||||
dashedName: step-46
|
||||
dashedName: step-48
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de8d204a3426c7d184372
|
||||
title: Step 47
|
||||
challengeType: 0
|
||||
dashedName: step-47
|
||||
dashedName: step-49
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dea1c98c2426d43a705c3
|
||||
title: Step 48
|
||||
challengeType: 0
|
||||
dashedName: step-48
|
||||
dashedName: step-50
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646deb169847f86df0f95bfc
|
||||
title: Step 49
|
||||
challengeType: 0
|
||||
dashedName: step-49
|
||||
dashedName: step-51
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dec359bef3b7811fba5a6
|
||||
title: Step 50
|
||||
challengeType: 0
|
||||
dashedName: step-50
|
||||
dashedName: step-52
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dedbcba062079128b2ecc
|
||||
title: Step 51
|
||||
challengeType: 0
|
||||
dashedName: step-51
|
||||
dashedName: step-53
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646def5e863abf7a14501421
|
||||
title: Step 52
|
||||
challengeType: 0
|
||||
dashedName: step-52
|
||||
dashedName: step-54
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646df03c8f79337ab46f148b
|
||||
title: Step 53
|
||||
challengeType: 0
|
||||
dashedName: step-53
|
||||
dashedName: step-55
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646df0cf26413a7b35e4b8b3
|
||||
title: Step 54
|
||||
challengeType: 0
|
||||
dashedName: step-54
|
||||
dashedName: step-56
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646df1d1aa4ae57bdf1869c4
|
||||
title: Step 55
|
||||
challengeType: 0
|
||||
dashedName: step-55
|
||||
dashedName: step-57
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dffd8ce9ac77ec1906f2e
|
||||
title: Step 56
|
||||
challengeType: 0
|
||||
dashedName: step-56
|
||||
dashedName: step-58
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f0417322c0e04983a5149
|
||||
title: Step 59
|
||||
challengeType: 0
|
||||
dashedName: step-59
|
||||
dashedName: step-61
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f08293804a30685533c6f
|
||||
title: Step 60
|
||||
challengeType: 0
|
||||
dashedName: step-60
|
||||
dashedName: step-62
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f09293eb3230723a62f77
|
||||
title: Step 61
|
||||
challengeType: 0
|
||||
dashedName: step-61
|
||||
dashedName: step-63
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f0c9a1e3360092d1bbd33
|
||||
title: Step 62
|
||||
challengeType: 0
|
||||
dashedName: step-62
|
||||
dashedName: step-64
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f0ce5737243098ad6e494
|
||||
title: Step 63
|
||||
challengeType: 0
|
||||
dashedName: step-63
|
||||
dashedName: step-65
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f0ef13604420a8744f7d4
|
||||
title: Step 64
|
||||
challengeType: 0
|
||||
dashedName: step-64
|
||||
dashedName: step-66
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f0f7c5933560af8e7e380
|
||||
title: Step 65
|
||||
challengeType: 0
|
||||
dashedName: step-65
|
||||
dashedName: step-67
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f102bf87b350b593baa72
|
||||
title: Step 66
|
||||
challengeType: 0
|
||||
dashedName: step-66
|
||||
dashedName: step-68
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f107abb89d00bb99f387a
|
||||
title: Step 67
|
||||
challengeType: 0
|
||||
dashedName: step-67
|
||||
dashedName: step-69
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f12da0b4c5d0ca162834a
|
||||
title: Step 69
|
||||
challengeType: 0
|
||||
dashedName: step-69
|
||||
dashedName: step-71
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f135eab69d90d0c6d4e9b
|
||||
title: Step 70
|
||||
challengeType: 0
|
||||
dashedName: step-70
|
||||
dashedName: step-72
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f159b2cffb21150b927cb
|
||||
title: Step 71
|
||||
challengeType: 0
|
||||
dashedName: step-71
|
||||
dashedName: step-73
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f164bf100dd11d226161f
|
||||
title: Step 72
|
||||
challengeType: 0
|
||||
dashedName: step-72
|
||||
dashedName: step-74
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f1764e2f1d212ba9785a7
|
||||
title: Step 73
|
||||
challengeType: 0
|
||||
dashedName: step-73
|
||||
dashedName: step-75
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f1802a09a171332e14630
|
||||
title: Step 74
|
||||
challengeType: 0
|
||||
dashedName: step-74
|
||||
dashedName: step-76
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f4d6c42dc5f214f4e7444
|
||||
title: Step 75
|
||||
challengeType: 0
|
||||
dashedName: step-75
|
||||
dashedName: step-77
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f4e46e81f7021d5fd9c1d
|
||||
title: Step 76
|
||||
challengeType: 0
|
||||
dashedName: step-76
|
||||
dashedName: step-78
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f4f6a14e3c522d130a0d2
|
||||
title: Step 77
|
||||
challengeType: 0
|
||||
dashedName: step-77
|
||||
dashedName: step-79
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f4fe12b7985232bf475a5
|
||||
title: Step 78
|
||||
challengeType: 0
|
||||
dashedName: step-78
|
||||
dashedName: step-80
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f507e4d1cd323f17db4fc
|
||||
title: Step 79
|
||||
challengeType: 0
|
||||
dashedName: step-79
|
||||
dashedName: step-81
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f516dbfc1342495515625
|
||||
title: Step 80
|
||||
challengeType: 0
|
||||
dashedName: step-80
|
||||
dashedName: step-82
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 64a2687ef267e5934a2f93e3
|
||||
title: Step 57
|
||||
challengeType: 0
|
||||
dashedName: step-57
|
||||
dashedName: step-59
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 64a26ac5540c5493f4641f10
|
||||
title: Step 58
|
||||
challengeType: 0
|
||||
dashedName: step-58
|
||||
dashedName: step-60
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 64a3bcbc83e574b58c8ed048
|
||||
title: Step 68
|
||||
challengeType: 0
|
||||
dashedName: step-68
|
||||
dashedName: step-70
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -0,0 +1,148 @@
|
||||
---
|
||||
id: 6676a8a8d9861319ee901a90
|
||||
title: Step 24
|
||||
challengeType: 0
|
||||
dashedName: step-24
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Now you can begin working on your cat's ears.
|
||||
|
||||
Clean up your review code by removing the `.cat-right-ear` selector and all of its properties.
|
||||
|
||||
Using a class selector, give the `.cat-left-ear` element a left and right border of `35px solid transparent` each. Also, set the bottom border to `70px solid #5e5e5e`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Your `.cat-right-ear` selector not should have a `height` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.height)
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should not have a `width` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.width)
|
||||
```
|
||||
|
||||
|
||||
Your `.cat-right-ear` selector should not have a `border-left` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderLeft)
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should not have a `border-right` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderRight)
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should not have a `border-top` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTop)
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should not have a `border-bottom` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderBottom)
|
||||
```
|
||||
|
||||
You should not have a `.cat-right-ear` selector.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document)?.getStyle('.cat-right-ear'))
|
||||
```
|
||||
|
||||
You should have a `.cat-left-ear` selector.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear'))
|
||||
```
|
||||
|
||||
Your `.cat-left-ear` selector should have a `border-left` property set to `35px solid transparent`
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.borderLeft === '35px solid transparent')
|
||||
```
|
||||
|
||||
Your `.cat-left-ear` selector should have a `border-right` property set to `35px solid transparent`
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.borderRight === '35px solid transparent')
|
||||
```
|
||||
|
||||
Your `.cat-left-ear` selector should have a `border-bottom` property set to `70px solid #5e5e5e`
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.borderBottom === '70px solid rgb(94, 94, 94)')
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```html
|
||||
<!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>
|
||||
```
|
||||
|
||||
```css
|
||||
* {
|
||||
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--
|
||||
.cat-right-ear {
|
||||
height: 0;
|
||||
width: 0;
|
||||
border-left: 35px solid transparent;
|
||||
border-right: 35px solid transparent;
|
||||
border-top: 35px solid transparent;
|
||||
border-bottom: 35px solid red;
|
||||
}
|
||||
--fcc-editable-region--
|
||||
```
|
||||
@@ -0,0 +1,131 @@
|
||||
---
|
||||
id: 6676a8b01e56ec1a1e07c202
|
||||
title: Step 23
|
||||
challengeType: 0
|
||||
dashedName: step-23
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Notice that you now have a white square with thick borders. The borders have diagonal edges which can be used to create triangles.
|
||||
|
||||
Within the same class selector adjust `height` and `width` to `0`. Set the left, right and top border to `transparent`.
|
||||
|
||||
Remove the `background-color` property, and you should see a triangle.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
You should have a `.cat-right-ear` selector.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document)?.getStyle('.cat-right-ear'))
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should have a `height` property set to `0`. Don't forget to add a semi-colon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.height == '0px')
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should have a `width` property set to `0`. Don't forget to add a semi-colon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.width === '0px')
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should have a `border-left` property set to `35px solid transparent`. Don't forget to add a semi-colon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderLeft === '35px solid transparent')
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should have a `border-right` property set to `35px solid transparent`. Don't forget to add a semi-colon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderRight === '35px solid transparent')
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should have a `border-top` property set to `35px solid transparent`. Don't forget to add a semi-colon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTop === '35px solid transparent')
|
||||
```
|
||||
|
||||
|
||||
Your `.cat-right-ear` selector should have a `border-bottom` property set to `35px solid red`. Don't forget to add a semi-colon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderBottom === '35px solid red')
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should not have a `background-color` property.
|
||||
|
||||
```js
|
||||
assert(!new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.backgroundColor)
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```html
|
||||
<!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>
|
||||
```
|
||||
|
||||
```css
|
||||
* {
|
||||
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--
|
||||
.cat-right-ear {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
background-color: white;
|
||||
border-left: 35px solid blue;
|
||||
border-right: 35px solid blue;
|
||||
border-top: 35px solid red;
|
||||
border-bottom: 35px solid red;
|
||||
}
|
||||
--fcc-editable-region--
|
||||
```
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
id: 657e0d0037192f3d9e3d5417
|
||||
id: 657e0d0037192f3d9e3d5417
|
||||
title: Task 128
|
||||
challengeType: 22
|
||||
dashedName: task-128
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
id: 645147516c245de4d11eb7ba
|
||||
title: Certification Exam
|
||||
challengeType: 17
|
||||
dashedName: certification-exam
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Here are some rules:
|
||||
|
||||
- click start
|
||||
|
||||
# --instructions--
|
||||
|
||||
# --hints--
|
||||
|
||||
# --seed--
|
||||
|
||||
# --solutions--
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
id: 64514fda6c245de4d11eb7bb
|
||||
title: 示例認證
|
||||
certification: example-certification
|
||||
challengeType: 7
|
||||
isPrivate: true
|
||||
tests:
|
||||
-
|
||||
id: 645147516c245de4d11eb7ba
|
||||
title: 認證考試
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cecc9eb5c4f4f73dafd07
|
||||
title: 步驟 23
|
||||
challengeType: 0
|
||||
dashedName: step-23
|
||||
dashedName: step-25
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cef0c2b98915094df7099
|
||||
title: 步驟 24
|
||||
challengeType: 0
|
||||
dashedName: step-24
|
||||
dashedName: step-26
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf1206cac5f51804f49cf
|
||||
title: 步驟 25
|
||||
challengeType: 0
|
||||
dashedName: step-25
|
||||
dashedName: step-27
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf2249f02ca5233d9af7c
|
||||
title: 步驟 26
|
||||
challengeType: 0
|
||||
dashedName: step-26
|
||||
dashedName: step-28
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf48d8f8e1f535a1821d3
|
||||
title: 步驟 27
|
||||
challengeType: 0
|
||||
dashedName: step-27
|
||||
dashedName: step-29
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf6cbca98e258da65c979
|
||||
title: 步驟 28
|
||||
challengeType: 0
|
||||
dashedName: step-28
|
||||
dashedName: step-30
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cf88aa884405a11ea5bcc
|
||||
title: 步驟 29
|
||||
challengeType: 0
|
||||
dashedName: step-29
|
||||
dashedName: step-31
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cfc2b8e6fe95c20a819d5
|
||||
title: 步驟 30
|
||||
challengeType: 0
|
||||
dashedName: step-30
|
||||
dashedName: step-32
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cfd853634255d02b64cc1
|
||||
title: 步驟 31
|
||||
challengeType: 0
|
||||
dashedName: step-31
|
||||
dashedName: step-33
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646cfde6ac612e5d60391f50
|
||||
title: 步驟 32
|
||||
challengeType: 0
|
||||
dashedName: step-32
|
||||
dashedName: step-34
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd556d524bc61c0139bd6
|
||||
title: 步驟 33
|
||||
challengeType: 0
|
||||
dashedName: step-33
|
||||
dashedName: step-35
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd6f9caa862627dd87772
|
||||
title: 步驟 34
|
||||
challengeType: 0
|
||||
dashedName: step-34
|
||||
dashedName: step-36
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd7cfd0cfac630c1dd520
|
||||
title: 步驟 35
|
||||
challengeType: 0
|
||||
dashedName: step-35
|
||||
dashedName: step-37
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd8c79ec23463a3d0e356
|
||||
title: 步驟 36
|
||||
challengeType: 0
|
||||
dashedName: step-36
|
||||
dashedName: step-38
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dd9d9a729916460724f16
|
||||
title: 步驟 37
|
||||
challengeType: 0
|
||||
dashedName: step-37
|
||||
dashedName: step-39
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddab8afd73764f5241bbf
|
||||
title: 步驟 38
|
||||
challengeType: 0
|
||||
dashedName: step-38
|
||||
dashedName: step-40
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddb61ff08366570cc5902
|
||||
title: 步驟 39
|
||||
challengeType: 0
|
||||
dashedName: step-39
|
||||
dashedName: step-41
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddd3f9f97a0667b964bdb
|
||||
title: 步驟 40
|
||||
challengeType: 0
|
||||
dashedName: step-40
|
||||
dashedName: step-42
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dde7dc20dc167489faa69
|
||||
title: 步驟 41
|
||||
challengeType: 0
|
||||
dashedName: step-41
|
||||
dashedName: step-43
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646ddf888632fa67f1180940
|
||||
title: 步驟 42
|
||||
challengeType: 0
|
||||
dashedName: step-42
|
||||
dashedName: step-44
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de5dc8988076a1d992afd
|
||||
title: 步驟 43
|
||||
challengeType: 0
|
||||
dashedName: step-43
|
||||
dashedName: step-45
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de6a97b50a86ac487de86
|
||||
title: 步驟 44
|
||||
challengeType: 0
|
||||
dashedName: step-44
|
||||
dashedName: step-46
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de7b64467e96b7d35b5cd
|
||||
title: 步驟 45
|
||||
challengeType: 0
|
||||
dashedName: step-45
|
||||
dashedName: step-47
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de8478d6f796bfbdccfb2
|
||||
title: 步驟 46
|
||||
challengeType: 0
|
||||
dashedName: step-46
|
||||
dashedName: step-48
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646de8d204a3426c7d184372
|
||||
title: 步驟 47
|
||||
challengeType: 0
|
||||
dashedName: step-47
|
||||
dashedName: step-49
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dea1c98c2426d43a705c3
|
||||
title: 步驟 48
|
||||
challengeType: 0
|
||||
dashedName: step-48
|
||||
dashedName: step-50
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646deb169847f86df0f95bfc
|
||||
title: 步驟 49
|
||||
challengeType: 0
|
||||
dashedName: step-49
|
||||
dashedName: step-51
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dec359bef3b7811fba5a6
|
||||
title: 步驟 50
|
||||
challengeType: 0
|
||||
dashedName: step-50
|
||||
dashedName: step-52
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dedbcba062079128b2ecc
|
||||
title: 步驟 51
|
||||
challengeType: 0
|
||||
dashedName: step-51
|
||||
dashedName: step-53
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646def5e863abf7a14501421
|
||||
title: 步驟 52
|
||||
challengeType: 0
|
||||
dashedName: step-52
|
||||
dashedName: step-54
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646df03c8f79337ab46f148b
|
||||
title: 步驟 53
|
||||
challengeType: 0
|
||||
dashedName: step-53
|
||||
dashedName: step-55
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646df0cf26413a7b35e4b8b3
|
||||
title: 步驟 54
|
||||
challengeType: 0
|
||||
dashedName: step-54
|
||||
dashedName: step-56
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646df1d1aa4ae57bdf1869c4
|
||||
title: 步驟 55
|
||||
challengeType: 0
|
||||
dashedName: step-55
|
||||
dashedName: step-57
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646dffd8ce9ac77ec1906f2e
|
||||
title: 步驟 56
|
||||
challengeType: 0
|
||||
dashedName: step-56
|
||||
dashedName: step-58
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f0417322c0e04983a5149
|
||||
title: 步驟 59
|
||||
challengeType: 0
|
||||
dashedName: step-59
|
||||
dashedName: step-61
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
id: 646f08293804a30685533c6f
|
||||
title: 步驟 60
|
||||
challengeType: 0
|
||||
dashedName: step-60
|
||||
dashedName: step-62
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user