diff --git a/seed_data/coursewares.json b/seed_data/coursewares.json index e7c4a99289..9547449e9a 100644 --- a/seed_data/coursewares.json +++ b/seed_data/coursewares.json @@ -152,7 +152,7 @@ "description": [ "Comment out the h1 element and the p element, but leave the h2 element uncommented.", "Remember that in order to start a comment, you need to use <!-- and to end a comment, you need to use -->.", - "Here you'll need to end the comment before the h2 element begins." + "Here you'll need to end the comment before the h2 element begins." ], "tests": [ "expect($('h1')).to.not.exist;", @@ -176,9 +176,9 @@ "difficulty" : "0.06", "description": [ "Change the text in the p element to use the first few words of lorem ipsum text.", - "Designers use lorem ipsum as placeholder text. It's called lorem ipsum text because it's those are the first two words of a passage by Cicero of Ancient Rome.", - "Lorem ipsum text has been used as placeholder text by typesetters since the 16th century, and this tradition continues on the web.", - "Here are the first 25 words of lorem ipsum text, which you can copy and paste into the right position: \"lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\"" + "Designers use lorem ipsum as placeholder text. It's called lorem ipsum text because it's those are the first two words of a passage by Cicero of Ancient Rome.", + "lorem ipsum text has been used as placeholder text by typesetters since the 16th century, and this tradition continues on the web.", + "Here are the first 25 words of lorem ipsum text, which you can copy and paste into the right position: lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." ], "tests": [ "expect((/Lorem(\\s)+ipsum(\\s)+dolor/gi).test($('p').text())).to.be.true;" @@ -198,11 +198,11 @@ "description": [ "Change the h2 element's style so that its text color is red.", "We can do this by changing the style of the h2 element.", - "The style responsible for the color of an element's text is the \"color\" style.", + "The style responsible for the color of an element's text is the color style.", "Here's how you would set the h2 element's text color to blue: <h2 style=\"color: blue\">cat photo app<h2>" ], "tests": [ - "expect($('h2')).to.have.css('color', 'rgb(255, 0, 0)');" + "expect($('h2')).to.have.css('color', '#ff0000');" ], "challengeSeed": [ "

hello world

", @@ -217,7 +217,7 @@ "name": "Create a Style Tag for CSS", "difficulty" : "0.08", "description": [ - "Create a style tag and write the CSS to make all h2 elements blue.", + "Create a style tag and write the CSS to make all h2 elements blue.", "With CSS, there are hundreds of CSS attributes that you can use to change the way an element looks on a web page.", "When you entered <h2 style=\"color: red\">hello html<h2>, you were giving that individual h2 element an inline style", "That's one way to add style to an element, but a better way is by using Cascading Style Sheets (CSS).", @@ -226,7 +226,7 @@ "Note that it's important to have an opening and closing curly braces ({ and }) around each element's style. You also need to make sure your element's style is between the opening and closing style tags. Finally, be sure to add the semicolon to the end of each of the element's styles." ], "tests": [ - "expect($('h2')).to.have.css('color', 'rgb(0, 0, 255)');" + "expect($('h2')).to.have.css('color', '#0000ff');" ], "challengeSeed": [ "

hello world

", @@ -241,13 +241,13 @@ "name": "Use a CSS Class to Style an Element", "difficulty" : "0.09", "description": [ - "Create a CSS class called .red-text and apply it to the h2 element.", - "Classes are reusable styles that can be added to HTML elements.", - "Classes always start with a period. You can see that we've created a CSS class called .blue-text within the <style> tag.", - "You can follow that pattern to make a .red-text class, which you can attach to HTML elements by using the class=\"class\" within the relevant element's opening tag." + "Create a CSS class called red-text and apply it to the h2 element.", + "classes are reusable styles that can be added to HTML elements.", + "Classes always start with a period. You can see that we've created a CSS class called blue-text within the <style> tag.", + "You can follow that pattern to make a red-text class, which you can attach to HTML elements by using the class=\"class\" within the relevant element's opening tag." ], "tests": [ - "expect($('h2')).to.have.css('color', 'rgb(255, 0, 0)');", + "expect($('h2')).to.have.css('color', '#ff0000');", "expect($('h2')).to.have.class('red-text');" ], "challengeSeed": [ @@ -275,9 +275,9 @@ "expect($('h1')).to.have.class('red-text');", "expect($('h2')).to.have.class('red-text');", "expect($('p')).to.have.class('red-text');", - "expect($('h1')).to.have.css('color', 'rgb(255, 0, 0)');", - "expect($('h2')).to.have.css('color', 'rgb(255, 0, 0)');", - "expect($('p')).to.have.css('color', 'rgb(255, 0, 0)');" + "expect($('h1')).to.have.css('color', '#ff0000');", + "expect($('h2')).to.have.css('color', '#ff0000');", + "expect($('p')).to.have.css('color', '#ff0000');" ], "challengeSeed": [ "