diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json
index 544d66fdb9..da4b7c1221 100644
--- a/challenges/01-responsive-web-design/applied-visual-design.json
+++ b/challenges/01-responsive-web-design/applied-visual-design.json
@@ -1864,10 +1864,10 @@
" margin: 50 auto;",
" position: fixed;",
" background: linear-gradient(",
- " 35deg,",
- " #ccffff,",
- " #ffcccc",
- " ); ",
+ " 35deg,",
+ " #ccffff,",
+ " #ffcccc",
+ " );",
" border-radius: 50%;",
" }",
" #ball1 {",
@@ -1876,7 +1876,6 @@
" #ball2 {",
" left:65%;",
" ",
- " ",
" }",
"",
"",
@@ -1959,7 +1958,6 @@
" #bottom {",
" background-color: blue;",
" ",
- " ",
" }",
"",
"",
@@ -1991,12 +1989,11 @@
" div { ",
" width: 70%;",
" height: 100px;",
- " margin: 50px auto;",
+ " margin: 50px auto;",
" }",
" #top {",
" background-color: red;",
" ",
- " ",
" }",
" #bottom {",
" background-color: blue;",
@@ -2131,7 +2128,7 @@
"To animate an element, you need to know about the animation properties and the @keyframes
rule. The animation properties control how the animation should behave and the @keyframes
rule controls what happens during that animation. There are eight animation properties in total. This challenge will keep it simple and cover the two most important ones first:",
"animation-name
sets the name of the animation, which is later used by @keyframes
to tell CSS which rules go with which animations.",
"animation-duration
sets the length of time for the animation.",
- "@keyframes
is how to specify exactly what happens within the animation over the duration. This is done by giving CSS properties for specific \"frames\" during the animation, with percentages ranging from 0% to 100%. If you compare this to a movie, the CSS properties for 0% is how the element displays in the opening scene. The CSS properties for 100% is how the element appears at the end, right before the credits roll. Then CSS applies the magic to transition the element over the given duration to act out the scene. Here's an example to illustrate the usage of @keyframes
and the animate properties:",
+ "@keyframes
is how to specify exactly what happens within the animation over the duration. This is done by giving CSS properties for specific \"frames\" during the animation, with percentages ranging from 0% to 100%. If you compare this to a movie, the CSS properties for 0% is how the element displays in the opening scene. The CSS properties for 100% is how the element appears at the end, right before the credits roll. Then CSS applies the magic to transition the element over the given duration to act out the scene. Here's an example to illustrate the usage of @keyframes
and the animation properties:",
"
#anim {", "For the element with the
animation-name: colorful;
animation-duration: 3s;
}
@keyframes colorful {
0% {
background-color: blue;
}
100% {
background-color: yellow;
}
}
anim
id, the code snippet above sets the animation-name
to colorful
and sets the animation-duration
to 3 seconds. Then the @keyframes
rule links to the animation properties with the name colorful
. It sets the color to blue at the beginning of the animation (0%) which will transition to yellow by the end of the animation (100%). You aren't limited to only beginning-end transitions, you can set properties for the element for any percentage between 0% and 100%.",
"