* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
1.2 KiB
1.2 KiB
id, title, challengeType, videoUrl, forumTopicId, dashedName
id | title | challengeType | videoUrl | forumTopicId | dashedName |
---|---|---|---|---|---|
bad87fee1348bd9aedf08833 | 用占位符文本填充空白 | 0 | https://scrimba.com/p/pVMPUv/cgR7Dc7 | 18178 | fill-in-the-blank-with-placeholder-text |
--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.
--hints--
p
元素的内容文本应包含 Kitty ipsum
。
assert.isTrue(/Kitty(\s)+ipsum/gi.test($('p').text()));
--seed--
--seed-contents--
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Hello Paragraph</p>
--solutions--
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<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</p>