style元素中删除.smaller-image .red-text , p和.smaller-image CSS声明,以便style元素中剩下的唯一声明是h2和thick-green-border 。然后删除包含死链接的p元素。然后从h2元素中删除red-text类,并将其替换为text-primary Bootstrap类。最后,从第一个img元素中删除“small-image”类,并将其替换为img-responsive类。 red-text类。
testString: 'assert(!$("h2").hasClass("red-text"), "Your h2 element should no longer have the class red-text.");'
- text: 您的h2元素现在应该具有text-primary类。
testString: 'assert($("h2").hasClass("text-primary"), "Your h2 element should now have the class text-primary.");'
- text: 您的段落元素不应再使用Monospace 。
testString: 'assert(!$("p").css("font-family").match(/monospace/i), "Your paragraph elements should no longer use the font Monospace.");'
- text: 从顶部图像中删除smaller-image类。
testString: 'assert(!$("img").hasClass("smaller-image"), "Remove the smaller-image class from your top image.");'
- text: 将img-responsive类添加到您的顶部图像。
testString: 'assert($(".img-responsive").length > 1, "Add the img-responsive class to your top image.");'
```
Click here for cat photos.
Things cats love:
Top 3 things cats hate: