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:
committed by
GitHub
parent
4cc20172c5
commit
832eb29c0d
@ -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--
|
||||
|
@ -129,7 +129,7 @@ html {
|
||||
--fcc-editable-region--
|
||||
@media (max-width: 768px) {
|
||||
#piano {
|
||||
width: 335px;
|
||||
width: 358px;
|
||||
}
|
||||
}
|
||||
--fcc-editable-region--
|
||||
|
@ -128,7 +128,7 @@ html {
|
||||
--fcc-editable-region--
|
||||
@media (max-width: 768px) {
|
||||
#piano {
|
||||
width: 335px;
|
||||
width: 358px;
|
||||
}
|
||||
|
||||
.keys {
|
||||
|
@ -119,7 +119,7 @@ html {
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#piano {
|
||||
width: 335px;
|
||||
width: 358px;
|
||||
}
|
||||
|
||||
.keys {
|
||||
|
@ -126,7 +126,7 @@ html {
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#piano {
|
||||
width: 335px;
|
||||
width: 358px;
|
||||
}
|
||||
|
||||
.keys {
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user