2020-10-06 23:10:08 +05:30

1.2 KiB

id, challengeType, videoUrl, forumTopicId, localeTitle
id challengeType videoUrl forumTopicId localeTitle
bad87fee1348bd9aedf08833 0 https://scrimba.com/p/pVMPUv/cgR7Dc7 18178 用占位符文本填充空白

Description

Web 开发者通常用lorem ipsum text来做占位符,占位符就是占着位置的一些文字,没有实际意义。 为什么叫lorem ipsum text呢?是因为lorem ipsum是古罗马西塞罗谚语的前两个单词。

Instructions

p元素的内容更换为:Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Tests

tests:
  - text: '<code>p</code>元素的内容必须包含<code>Monkey code</code>。'
    testString: assert.isTrue((/Kitty(\s)+ipsum/gi).test($("p").text()));

Challenge Seed

<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Hello Paragraph</p>

Solution