diff --git a/challenges/01-responsive-web-design/basic-css.json b/challenges/01-responsive-web-design/basic-css.json index 21e98f741a..fe3345e6ac 100644 --- a/challenges/01-responsive-web-design/basic-css.json +++ b/challenges/01-responsive-web-design/basic-css.json @@ -1049,7 +1049,7 @@ "For example, if we wanted to create a red, 5 pixel border around an HTML element, we could use this class:", "
<style>", "
.thin-red-border {
border-color: red;
border-width: 5px;
border-style: solid;
}
</style>
thick-green-border
. This class should add a 10px, solid, green border around a HTML element. Apply the class to your cat photo.",
+ "Create a class called thick-green-border
. This class should add a 10px, solid, green border around an HTML element. Apply the class to your cat photo.",
"Remember that you can apply multiple classes to an element using its class
attribute, by separating each class name with a space. For example:",
"<img class=\"class1 class2\">
"
],
@@ -1178,7 +1178,7 @@
"description": [
"Your cat photo currently has sharp corners. We can round out those corners with a CSS property called border-radius
.",
"border-radius
of 10px
.",
+ "You can specify a border-radius
with pixels. Give your cat photo a border-radius
of 10px
.",
"Note: this challenge allows for multiple possible solutions. For example, you may add border-radius
to either the .thick-green-border
class or the .smaller-image
class."
],
"challengeSeed": [
@@ -1292,9 +1292,7 @@
"description": [
"In addition to pixels, you can also specify the border-radius
using a percentage.",
"border-radius
of 50%
.",
- "border-radius
of 50%
."
],
"challengeSeed": [
"",
diff --git a/challenges/01-responsive-web-design/basic-html-and-html5.json b/challenges/01-responsive-web-design/basic-html-and-html5.json
index ce0f20b3cd..c0b3447d61 100644
--- a/challenges/01-responsive-web-design/basic-html-and-html5.json
+++ b/challenges/01-responsive-web-design/basic-html-and-html5.json
@@ -708,7 +708,7 @@
"id": "bad87fee1348bd9aedf08816",
"title": "Link to External Pages with Anchor Elements",
"description": [
- "a
elements, also known as anchor
elements, are used to link to content inside, as well as outside of the current page. For this lesson, we are going to focus on using the a
element for external links.",
+ "a
elements, also known as anchor
elements, are used to link to content outside of the current page.",
"a
element demonstrated that you can use an anchor element almost anywhere, even inside another element. In this case, the link will appear in the middle of the paragraph.",
"Here's an example:",
@@ -1174,11 +1174,11 @@
"id": "bad87fee1348bd9aedf08827",
"title": "Create a Bulleted Unordered List",
"description": [
- "HTML has a special element for creating unordered lists
, or bullet point-style lists.",
- "Unordered lists start with a <ul>
element. Then they contain some number of <li>
elements.",
+ "HTML has a special element for creating unordered lists
, or bullet point style lists.",
+ "Unordered lists start with an opening <ul>
element, followed by any number of <li>
elements. Finally, unordered lists close with a </ul>
",
"For example: ",
"<ul>", - "would create a bullet point-style list of \"milk\" and \"cheese\".", + "would create a bullet point style list of \"milk\" and \"cheese\".", "
<li>milk</li>
<li>cheese</li>
</ul>
p
elements and create an unordered list of three things that cats love at the bottom of the page."
],
@@ -1256,8 +1256,8 @@
"id": "bad87fee1348bd9aedf08828",
"title": "Create an Ordered List",
"description": [
- "HTML has a special element for creating ordered lists
, or numbered-style lists.",
- "Ordered lists start with a <ol>
element. Then they contain some number of <li>
elements.",
+ "HTML has another special element for creating ordered lists
, or numbered lists.",
+ "Ordered lists start with an opening <ol>
element, followed by any number of <li>
elements. Finally, ordered lists close with a </ol>
",
"For example:",
"<ol>", "would create a numbered list of \"Garfield\" and \"Sylvester\".", @@ -1350,9 +1350,9 @@ "title": "Create a Text Field", "description": [ "Now let's create a web form.", - "Text inputs are a convenient way to get input from your user.", - "You can create one like this:", - "
<li>Garfield</li>
<li>Sylvester</li>
</ol>
<input type=\"text\">
",
+ "Input elements are a convenient way to get input from your user.",
+ "You can create a text input like this:",
+ "<input type=\"text\" />
",
"Note that input
elements are self-closing.",
"input
element of type text
below your lists."
@@ -1440,7 +1440,7 @@
"id": "bad87fee1348bd9aedf08830",
"title": "Add Placeholder Text to a Text Field",
"description": [
- "Your placeholder text is what appears in your text input
before your user has input anything.",
+ "Placeholder text is what is displayed in your input
element before your user has inputted anything.",
"You can create placeholder text like so:",
"<input type=\"text\" placeholder=\"this is placeholder text\">
",
"<form action=\"/url-where-you-want-to-submit-form-data\"></form>
",
"form
element. Add the action=\"/submit-cat-photo\"
attribute to this form element."
+ "Nest your text field inside a form
element, and add the action=\"/submit-cat-photo\"
attribute to the form element."
],
"challengeSeed": [
"<button type=\"submit\">this button submits the form</button>
",
"form
element with type submit
and \"Submit\" as its text."
+ "Add a button as the last element of your form
element with a type of submit
, and \"Submit\" as its text."
],
"challengeSeed": [
"required
within your input
element, like this: <input type=\"text\" required>
",
+ "For example, if you wanted to make a text input field required, you can just add the attribute required
within your input
element, like this: <input type=\"text\" required>
",
"input
a required
field, so that your user can't submit the form without completing this field.",
"Then try to submit the form without inputting any text. See how your HTML5 form notifies you that the field is required?"
@@ -1778,13 +1778,14 @@
"id": "bad87fee1348bd9aedf08834",
"title": "Create a Set of Radio Buttons",
"description": [
- "You can use radio buttons
for questions where you want the user to only give you one answer out of multiple options.",
- "Radio buttons are a type of input
",
+ "You can use radio buttons
for questions where you want the restrcit the user to only one answer out of multiple options.",
+ "Radio buttons are a type of input
field",
"Each of your radio buttons should be nested within its own label
element.",
"All related radio buttons should have the same name
attribute.",
"Here's an example of a radio button:",
- "<label for=\"indoor\">", - "It is considered best practice to set the
<input type=\"radio\" name=\"indoor-outdoor\">Indoor
</label>
for
attribute for assistive technologies to be able to link the relationship between the label and the child elements such as an input
in this case.",
+ "<label>", + "It is considered best practice to set a
<input type=\"radio\" name=\"indoor-outdoor\">Indoor
</label>
for
attribute on the label
element, with a value that matches the value of the id
attribute of the input
element. This allows assistive technologies to create a linked relationship between the label and the child input
element. For example:",
+ "<label for=\"indoor\">", "
<input id=\"indoor\" type=\"radio\" name=\"indoor-outdoor\">Indoor
</label>
indoor
and the other should have the option of outdoor
. Both should share the name
attribute of indoor-outdoor
."
],
@@ -1888,7 +1889,7 @@
"Each of your checkboxes should be nested within its own label
element.",
"All related checkbox inputs should have the same name
attribute.",
"Here's an example of a checkbox:",
- "<label><input type=\"checkbox\" name=\"personality\"> Loving</label>
",
+ "<label for=\"loving\"><input id=\"loving\" type=\"checkbox\" name=\"personality\"> Loving</label>
",
"label
element. All three should share the name
attribute of personality
."
],
@@ -1912,8 +1913,8 @@
"