diff --git a/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.spanish.md b/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.spanish.md index eff308eb1d..d86484935e 100644 --- a/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.spanish.md +++ b/curriculum/challenges/spanish/01-responsive-web-design/basic-html-and-html5/create-a-bulleted-unordered-list.spanish.md @@ -25,6 +25,8 @@ tests: testString: 'assert(code.match(/<\/ul>/gi) && code.match(/
li
tengan etiquetas de cierre.
testString: 'assert(code.match(/<\/li>/gi) && code.match(/li
elements have closing tags.");'
+ - text: Asegúrese de que sus elementos li
no contengan una cadena vacía o sólo espacios en blanco.
+ testString: assert($("ul li").filter((_, item) => !$(item).text().trim()).length === 0, 'Make sure your li
elements don\’t contain an empty string or only white-space.');
```