fix(learn): Change width for piano on step 28 (#45673)

* fix: change width on step 28

* fix: update step-33 seed

Co-authored-by: Rafael Hernandez <rafaeldavish@Rafaels-MacBook-Pro.local>
This commit is contained in:
Rafael D. Hernandez
2022-04-15 07:36:24 -07:00
committed by GitHub
parent 4cc20172c5
commit 832eb29c0d
6 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@ dashedName: step-28
# --description--
Add a new `#piano` selector within your `@media` query, and set the `width` to `335px`.
Add a new `#piano` selector within your `@media` query, and set the `width` to `358px`.
# --hints--
@ -19,12 +19,12 @@ const piano = rules?.find(rule => rule.selectorText === '#piano');
assert(piano);
```
Your new `#piano` selector should have a `width` of `335px`.
Your new `#piano` selector should have a `width` of `358px`.
```js
const rules = new __helpers.CSSHelp(document).getRuleListsWithinMedia('(max-width: 768px)');
const piano = rules?.find(rule => rule.selectorText === '#piano');
assert(piano?.style.width === '335px');
assert(piano?.style.width === '358px');
```
# --seed--

View File

@ -129,7 +129,7 @@ html {
--fcc-editable-region--
@media (max-width: 768px) {
#piano {
width: 335px;
width: 358px;
}
}
--fcc-editable-region--

View File

@ -128,7 +128,7 @@ html {
--fcc-editable-region--
@media (max-width: 768px) {
#piano {
width: 335px;
width: 358px;
}
.keys {

View File

@ -119,7 +119,7 @@ html {
@media (max-width: 768px) {
#piano {
width: 335px;
width: 358px;
}
.keys {

View File

@ -126,7 +126,7 @@ html {
@media (max-width: 768px) {
#piano {
width: 335px;
width: 358px;
}
.keys {

View File

@ -146,7 +146,7 @@ html {
@media (max-width: 768px) {
#piano {
width: 335px;
width: 358px;
}
.keys {
@ -264,7 +264,7 @@ html {
@media (max-width: 768px) {
#piano {
width: 335px;
width: 358px;
}
.keys {