From bcdc546bade5a06d87538dd84676bdec9a903cfd Mon Sep 17 00:00:00 2001 From: Waqas Ahmed Date: Wed, 30 Dec 2015 23:34:09 +0400 Subject: [PATCH] Provides clarity about overriding of id over classes --- .../html5-and-css.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/seed/challenges/01-front-end-development-certification/html5-and-css.json b/seed/challenges/01-front-end-development-certification/html5-and-css.json index 2207ee7d55a..98aea667692 100644 --- a/seed/challenges/01-front-end-development-certification/html5-and-css.json +++ b/seed/challenges/01-front-end-development-certification/html5-and-css.json @@ -3597,7 +3597,8 @@ "Create a CSS declaration for your orange-text id in your style element. Here's an example of what this looks like:", "#brown-text {", "  color: brown;", - "}" + "}", + "Note: It doesn't matter whether you declare this css above or below pink-text class, since id attribute will always take precedence." ], "tests": [ "assert($(\"h1\").hasClass(\"pink-text\"), 'message: Your h1 element should have the class pink-text.');", @@ -3642,7 +3643,8 @@ "Crea una declaración CSS para tu identificación orange-text en tu elemento style. He aquí un ejemplo de como se ve esto: ", "#brown-text {", "  color: brown;", - "}" + "}", + "Nota: No importa si usted declara este css encima o debajo de la clase de texto de color rosa, ya atributo id siempre tendrá prioridad." ], "namePt": "", "descriptionPt": [],