Files
freeCodeCamp/curriculum/challenges/chinese/01-responsive-web-design/basic-html-and-html5/fill-in-the-blank-with-placeholder-text.chinese.md
2019-12-26 17:35:59 +05:30

1.3 KiB

id, title, challengeType, videoUrl, forumTopicId, localeTitle
id title challengeType videoUrl forumTopicId localeTitle
bad87fee1348bd9aedf08833 Fill in the Blank with Placeholder Text 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