fix: basic-html-and html5 challenge arabic - test (#35441)
* fix: basic-html-and html5 challenge arabic - test * improve translation quality
This commit is contained in:
committed by
Nabil BOUDLAL
parent
8a91e94cf2
commit
4ead7621d6
@ -25,6 +25,8 @@ tests:
|
|||||||
testString: 'assert(code.match(/<\/ul>/gi) && code.match(/<ul/gi) && code.match(/<\/ul>/gi).length === code.match(/<ul/gi).length, "Make sure your <code>ul</code> element has a closing tag.");'
|
testString: 'assert(code.match(/<\/ul>/gi) && code.match(/<ul/gi) && code.match(/<\/ul>/gi).length === code.match(/<ul/gi).length, "Make sure your <code>ul</code> element has a closing tag.");'
|
||||||
- text: تأكد من أن عناصر <code>li</code> لديك علامات إغلاق.
|
- text: تأكد من أن عناصر <code>li</code> لديك علامات إغلاق.
|
||||||
testString: 'assert(code.match(/<\/li>/gi) && code.match(/<li[\s>]/gi) && code.match(/<\/li>/gi).length === code.match(/<li[\s>]/gi).length, "Make sure your <code>li</code> elements have closing tags.");'
|
testString: 'assert(code.match(/<\/li>/gi) && code.match(/<li[\s>]/gi) && code.match(/<\/li>/gi).length === code.match(/<li[\s>]/gi).length, "Make sure your <code>li</code> elements have closing tags.");'
|
||||||
|
- text: تأكد من أن عناصر <code> li </ code> لا تحتوي على فراغ أو مساحة بيضاء.
|
||||||
|
testString: assert($("ul li").filter((_, item) => !$(item).text().trim()).length === 0, 'Make sure your <code>li</code> elements don\’t contain an empty string or only white-space.');
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user