From 7f93fd1c71c3480c5f346a25f6228c8974dec838 Mon Sep 17 00:00:00 2001 From: Carlos Alfaro Date: Wed, 17 Oct 2018 22:16:44 -0700 Subject: [PATCH] Switch to back-ticks for code block (#19574) * Update adjust-the-height-of-an-element-using-the-height-property.spanish.md * Updated test text to Spanish And changed CSS rule back to English in the example. Using back-ticks to properly format the code block --- ...of-an-element-using-the-height-property.spanish.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/spanish/01-responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property.spanish.md b/curriculum/challenges/spanish/01-responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property.spanish.md index 5109899cf3..4a9748f962 100644 --- a/curriculum/challenges/spanish/01-responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property.spanish.md +++ b/curriculum/challenges/spanish/01-responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property.spanish.md @@ -7,7 +7,14 @@ localeTitle: Ajustar la altura de un elemento usando la propiedad height --- ## Description -
Puede especificar la altura de un elemento utilizando la propiedad de height en CSS, similar a la propiedad de width . Aquí hay un ejemplo que cambia la altura de una imagen a 20px:
img {
altura: 20px;
}
+
Puede especificar la altura de un elemento utilizando la propiedad de height en CSS, similar a la propiedad de width . Aquí hay un ejemplo que cambia la altura de una imagen a 20px: + +```css +img { + height: 20px; +} +``` +
## Instructions
Agregue una propiedad de height a la etiqueta h4 y configúrela a 25px.
@@ -18,7 +25,7 @@ localeTitle: Ajustar la altura de un elemento usando la propiedad height ```yml tests: - text: Su código debe cambiar la propiedad de height h4 a un valor de 25 píxeles. - testString: 'assert($("h4").css("height") == "25px", "Your code should change the h4 height property to a value of 25 pixels.");' + testString: 'assert($("h4").css("height") == "25px", "Su código debe cambiar la propiedad de height h4 a un valor de 25 píxeles.");' ```