Merge branch 'sJhonny-e-969' of https://github.com/sJhonny-e/FreeCodeCamp into sJhonny-e-sJhonny-e-969
This commit is contained in:
		@@ -383,7 +383,7 @@
 | 
				
			|||||||
        "assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your <code>h2</code> element.')",
 | 
					        "assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your <code>h2</code> element.')",
 | 
				
			||||||
        "assert($(\"style\") && $(\"style\").length > 1, 'Create a <code>style</code> element.')",
 | 
					        "assert($(\"style\") && $(\"style\").length > 1, 'Create a <code>style</code> element.')",
 | 
				
			||||||
        "assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your <code>h2</code> element should be blue.')",
 | 
					        "assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your <code>h2</code> element should be blue.')",
 | 
				
			||||||
        "assert(editor.match(/<\\/style>/g) && editor.match(/<\\/style>/g).length === editor.match(/<style>/g).length, 'Make sure each of your <code>style</code> elements has a closing tag.')"
 | 
					        "assert(editor.match(/<\\/style>/g) && editor.match(/<\\/style>/g).length === (editor.match(/<style((\\s)*((type|media|scoped|title|disabled)=\"[^\"]*\")?(\\s)*)*>/g) || []).length, 'Make sure all your <code>style</code> elements are valid amd have a closing tag.')"
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      "challengeSeed": [
 | 
					      "challengeSeed": [
 | 
				
			||||||
        "<h2 style=\"color: red\">CatPhotoApp</h2>",
 | 
					        "<h2 style=\"color: red\">CatPhotoApp</h2>",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user