diff --git a/client/src/redux/propTypes.js b/client/src/redux/propTypes.js index 6e4e9a74ace..89fe7c3b27d 100644 --- a/client/src/redux/propTypes.js +++ b/client/src/redux/propTypes.js @@ -40,7 +40,6 @@ export const ChallengeNode = PropTypes.shape({ isComingSoon: PropTypes.bool, isLocked: PropTypes.bool, isPrivate: PropTypes.bool, - name: PropTypes.string, order: PropTypes.number, required: PropTypes.arrayOf( PropTypes.shape({ diff --git a/curriculum/__fixtures__/chinese/challenge-stripped.md b/curriculum/__fixtures__/chinese/challenge-js-comments.md similarity index 71% rename from curriculum/__fixtures__/chinese/challenge-stripped.md rename to curriculum/__fixtures__/chinese/challenge-js-comments.md index f5629904f7b..9dc7d3068f3 100644 --- a/curriculum/__fixtures__/chinese/challenge-stripped.md +++ b/curriculum/__fixtures__/chinese/challenge-js-comments.md @@ -1,5 +1,8 @@ --- +id: bd7123c8c441eddfaeb5bdef title: 向HTML Elements说你好 +challengeType: 0 +videoUrl: 'https://scrimba.com/p/pVMPUv/cE8Gpt2' forumTopicId: 18276 --- @@ -19,7 +22,32 @@ forumTopicId: 18276 ```yml tests: - text: 你的h1元素应该有“Hello World”文本。 + testString: 'assert.isTrue((/hello(\s)+world/gi).test($("h1").text()), "Your h1 element should have the text "Hello World".");' ``` + +## Challenge Seed +
+ +
+ +```js +/* Add your code below this line */ +// Add your code above this line */ +``` + +
+ + + +
+ +## Solution +
+ +```html +

Hello World

+``` +
diff --git a/curriculum/__fixtures__/chinese/challenge.md b/curriculum/__fixtures__/chinese/challenge.md index 0e1d19b4faf..7e4050620c2 100644 --- a/curriculum/__fixtures__/chinese/challenge.md +++ b/curriculum/__fixtures__/chinese/challenge.md @@ -2,7 +2,7 @@ id: bd7123c8c441eddfaeb5bdef title: 向HTML Elements说你好 challengeType: 0 -videoUrl: '' +videoUrl: 'https://scrimba.com/p/pVMPUv/cE8Gpt2' forumTopicId: 18276 --- @@ -35,7 +35,12 @@ tests: ```html

Hello

- + + + ``` @@ -47,7 +52,7 @@ tests: ## Solution
-```js -// solution required +```html +

Hello World

```
diff --git a/curriculum/__fixtures__/combined-html-comments.md b/curriculum/__fixtures__/combined-html-comments.md index ade195b7f75..9a2af16b0e2 100644 --- a/curriculum/__fixtures__/combined-html-comments.md +++ b/curriculum/__fixtures__/combined-html-comments.md @@ -23,7 +23,7 @@ title: 向HTML Elements说你好 ```yml tests: - text: 你的h1元素应该有“Hello World”文本。 - testString: assert.isTrue((/hello(\s)+world/gi).test($('h1').text())); + testString: 'assert.isTrue((/hello(\s)+world/gi).test($("h1").text()), "Your h1 element should have the text "Hello World".");' ``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.md index 1a5cdf26a83..efb7a80ba26 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.md @@ -4,6 +4,7 @@ title: 为视觉障碍用户添加替代图像的文本 challengeType: 0 videoUrl: 'https://scrimba.com/c/cPp7VfD' forumTopicId: 16628 +dashedName: add-a-text-alternative-to-images-for-visually-impaired-accessibility --- # --description-- @@ -28,5 +29,16 @@ forumTopicId: 16628 assert($('img').attr('alt')); ``` +# --seed-- + +## --seed-contents-- + +```html + +``` + # --solutions-- +```html +Someone doing karate +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.md index f59f50015bc..4318298274c 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.md @@ -4,6 +4,7 @@ title: 添加可访问的日期选择器 challengeType: 0 videoUrl: 'https://scrimba.com/c/cR3bRbCV' forumTopicId: 301008 +dashedName: add-an-accessible-date-picker --- # --description-- @@ -51,5 +52,54 @@ assert($('input').attr('id') == 'pickdate'); assert($('input').attr('name') == 'date'); ``` +# --seed-- + +## --seed-contents-- + +```html + +
+

Tournaments

+
+
+
+

Mortal Kombat Tournament Survey

+
+

Tell us the best date for the competition

+ + + + + + + + + +
+
+
+ + +``` + # --solutions-- +```html + +
+

Tournaments

+
+
+
+

Mortal Kombat Tournament Survey

+
+

Tell us the best date for the competition

+ + + +
+
+
+ + +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.md index 04ea0c63e71..5e2410ee994 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.md @@ -4,6 +4,8 @@ title: 考虑色盲用户的需求仔细选择传达信息的颜色 challengeType: 0 videoUrl: 'https://scrimba.com/c/c437as3' forumTopicId: 301011 +dashedName: >- + avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information --- # --description-- @@ -26,5 +28,46 @@ Camper Cat 正在测试一个重要按钮的不同样式。在色轮上,用于 assert($('button').css('color') == 'rgb(0, 51, 102)'); ``` +# --seed-- + +## --seed-contents-- + +```html + + + + +
+

Danger!

+
+ + +``` + # --solutions-- +```html + + + + +
+

Danger!

+
+ + +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.md index 9cfa23798a9..b8f0d1a6c24 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.md @@ -4,6 +4,7 @@ title: 考虑色盲用户的需求设置合适的对比度 challengeType: 0 videoUrl: 'https://scrimba.com/c/cmzMEUw' forumTopicId: 301012 +dashedName: avoid-colorblindness-issues-by-using-sufficient-contrast --- # --description-- @@ -34,5 +35,50 @@ assert(code.match(/color:\s*?hsl\(0,\s*?55%,\s*?15%\)/gi)); assert(code.match(/background-color:\s*?hsl\(120,\s*?25%,\s*?55%\)/gi)); ``` +# --seed-- + +## --seed-contents-- + +```html + + + + +
+

Deep Thoughts with Master Camper Cat

+
+
+

A Word on the Recent Catnip Doping Scandal

+

The influence that catnip has on feline behavior is well-documented, and its use as an herbal supplement in competitive ninja circles remains controversial. Once again, the debate to ban the substance is brought to the public's attention after the high-profile win of Kittytron, a long-time proponent and user of the green stuff, at the Claw of Fury tournament.

+

As I've stated in the past, I firmly believe a true ninja's skills must come from within, with no external influences. My own catnip use shall continue as purely recreational.

+
+ +``` + # --solutions-- +```html + + + + +
+

Deep Thoughts with Master Camper Cat

+
+
+

A Word on the Recent Catnip Doping Scandal

+

The influence that catnip has on feline behavior is well-documented, and its use as an herbal supplement in competitive ninja circles remains controversial. Once again, the debate to ban the substance is brought to the public's attention after the high-profile win of Kittytron, a long-time proponent and user of the green stuff, at the Claw of Fury tournament.

+

As I've stated in the past, I firmly believe a true ninja's skills must come from within, with no external influences. My own catnip use shall continue as purely recreational.

+
+ +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.md index c040df2d599..c06520f3fbe 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.md @@ -4,6 +4,7 @@ title: 为链接添加描述性的文本 challengeType: 0 videoUrl: 'https://scrimba.com/c/c437DcV' forumTopicId: 301013 +dashedName: give-links-meaning-by-using-descriptive-link-text --- # --description-- @@ -34,7 +35,7 @@ assert( assert($('a').attr('href') === ''); ``` -`a` 元素应该有一个结束标签。 +`a` 元素应该有一个结束标签。 ```js assert( @@ -43,5 +44,32 @@ assert( ); ``` +# --seed-- + +## --seed-contents-- + +```html + +
+

Deep Thoughts with Master Camper Cat

+
+
+

Defeating your Foe: the Red Dot is Ours!

+

Felines the world over have been waging war on the most persistent of foes. This red nemesis combines both cunning stealth and lightning speed. But chin up, fellow fighters, our time for victory may soon be near. Click here for information about batteries

+
+ +``` + # --solutions-- +```html + +
+

Deep Thoughts with Master Camper Cat

+
+
+

Defeating your Foe: the Red Dot is Ours!

+

Felines the world over have been waging war on the most persistent of foes. This red nemesis combines both cunning stealth and lightning speed. But chin up, fellow fighters, our time for victory may soon be near. Click here for information about batteries

+
+ +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.md index 811601b8e45..0509c1c8e98 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.md @@ -4,6 +4,7 @@ title: 使用 audio 元素提高音频内容的可访问性 challengeType: 0 videoUrl: 'https://scrimba.com/c/cVJVkcZ' forumTopicId: 301014 +dashedName: improve-accessibility-of-audio-content-with-the-audio-element --- # --description-- @@ -79,5 +80,36 @@ assert( assert($('source').attr('type') === 'audio/mpeg'); ``` +# --seed-- + +## --seed-contents-- + +```html + +
+

Real Coding Ninjas

+
+
+

A sound clip of Zersiax's screen reader in action.

+ + + +
+ +``` + # --solutions-- +```html + +
+

Real Coding Ninjas

+
+
+

A sound clip of Zersiax's screen reader in action.

+ +
+ +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.md index b9ed32c9723..b319a534013 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.md @@ -4,6 +4,7 @@ title: 使用 figure 元素提高图表的可访问性 challengeType: 0 videoUrl: 'https://scrimba.com/c/cGJMqtE' forumTopicId: 301015 +dashedName: improve-chart-accessibility-with-the-figure-element --- # --description-- @@ -69,5 +70,92 @@ assert( ); ``` +# --seed-- + +## --seed-contents-- + +```html + +
+

Training

+ +
+
+
+ + +
+ +
+

Breakdown per week of time to spend training in stealth, combat, and weapons.

+
+ + +
+
+

Stealth & Agility Training

+

Climb foliage quickly using a minimum spanning tree approach

+

No training is NP-complete without parkour

+
+
+

Combat Training

+

Dispatch multiple enemies with multithreaded tactics

+

Goodbye world: 5 proven ways to knock out an opponent

+
+
+

Weapons Training

+

Swords: the best tool to literally divide and conquer

+

Breadth-first or depth-first in multi-weapon training?

+
+
+ + +``` + # --solutions-- +```html + +
+

Training

+ +
+
+
+
+ +
+
Breakdown per week of time to spend training in stealth, combat, and weapons.
+
+
+
+

Stealth & Agility Training

+

Climb foliage quickly using a minimum spanning tree approach

+

No training is NP-complete without parkour

+
+
+

Combat Training

+

Dispatch multiple enemies with multithreaded tactics

+

Goodbye world: 5 proven ways to knock out an opponent

+
+
+

Weapons Training

+

Swords: the best tool to literally divide and conquer

+

Breadth-first or depth-first in multi-weapon training?

+
+
+ + +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.md index 669845a639f..38d7899fa48 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.md @@ -4,6 +4,7 @@ title: 使用 label 元素提高表单的可访问性 challengeType: 0 videoUrl: 'https://scrimba.com/c/cGJMMAN' forumTopicId: 301016 +dashedName: improve-form-field-accessibility-with-the-label-element --- # --description-- @@ -41,5 +42,78 @@ assert($('label').attr('for')); assert($('label').attr('for') == 'email'); ``` +# --seed-- + +## --seed-contents-- + +```html + +
+

Deep Thoughts with Master Camper Cat

+
+
+
+

Sign up to receive Camper Cat's blog posts by email here!

+ + + + + + + +
+
+
+

The Garfield Files: Lasagna as Training Fuel?

+

The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...

+
+ +
+

Defeating your Foe: the Red Dot is Ours!

+

Felines the world over have been waging war on the most persistent of foes. This red nemesis combines both cunning stealth and lightning speed. But chin up, fellow fighters, our time for victory may soon be near...

+
+ +
+

Is Chuck Norris a Cat Person?

+

Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...

+
+ + +``` + # --solutions-- +```html + +
+

Deep Thoughts with Master Camper Cat

+
+
+
+

Sign up to receive Camper Cat's blog posts by email here!

+ + + + + + + +
+
+
+

The Garfield Files: Lasagna as Training Fuel?

+

The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...

+
+ +
+

Defeating your Foe: the Red Dot is Ours!

+

Felines the world over have been waging war on the most persistent of foes. This red nemesis combines both cunning stealth and lightning speed. But chin up, fellow fighters, our time for victory may soon be near...

+
+ +
+

Is Chuck Norris a Cat Person?

+

Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...

+
+ + +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.md index a7204fb1d97..43e9812c19a 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.md @@ -4,6 +4,7 @@ title: 使用高对比度文本提高可读性 challengeType: 0 videoUrl: 'https://scrimba.com/c/cKb3nCq' forumTopicId: 301017 +dashedName: improve-readability-with-high-contrast-text --- # --description-- @@ -30,5 +31,50 @@ assert($('body').css('color') == 'rgb(99, 99, 99)'); assert($('body').css('background-color') == 'rgb(255, 255, 255)'); ``` +# --seed-- + +## --seed-contents-- + +```html + + + + +
+

Deep Thoughts with Master Camper Cat

+
+
+

A Word on the Recent Catnip Doping Scandal

+

The influence that catnip has on feline behavior is well-documented, and its use as an herbal supplement in competitive ninja circles remains controversial. Once again, the debate to ban the substance is brought to the public's attention after the high-profile win of Kittytron, a long-time proponent and user of the green stuff, at the Claw of Fury tournament.

+

As I've stated in the past, I firmly believe a true ninja's skills must come from within, with no external influences. My own catnip use shall continue as purely recreational.

+
+ +``` + # --solutions-- +```html + + + + +
+

Deep Thoughts with Master Camper Cat

+
+
+

A Word on the Recent Catnip Doping Scandal

+

The influence that catnip has on feline behavior is well-documented, and its use as an herbal supplement in competitive ninja circles remains controversial. Once again, the debate to ban the substance is brought to the public's attention after the high-profile win of Kittytron, a long-time proponent and user of the green stuff, at the Claw of Fury tournament.

+

As I've stated in the past, I firmly believe a true ninja's skills must come from within, with no external influences. My own catnip use shall continue as purely recreational.

+
+ +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md index 19e20c9b77f..07df495ed52 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.md @@ -4,6 +4,7 @@ title: 使用 main 元素包裹主题内容 challengeType: 0 videoUrl: 'https://scrimba.com/c/cPp7zuE' forumTopicId: 301018 +dashedName: jump-straight-to-the-content-using-the-main-element --- # --description-- @@ -34,5 +35,28 @@ assert($('main').length == 1); assert(code.match(/<\/header>\s*?
\s*?<\/main>/gi)); ``` +# --seed-- + +## --seed-contents-- + +```html +
+

Weapons of the Ninja

+
+ + + + +``` + # --solutions-- +```html +
+

Weapons of the Ninja

+
+
+ +
+ +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.md index 41ab4828327..82b056006b9 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.md @@ -4,6 +4,7 @@ title: 了解 Alt 文本留空的情景 challengeType: 0 videoUrl: 'https://scrimba.com/c/cM9P4t2' forumTopicId: 301019 +dashedName: know-when-alt-text-should-be-left-blank --- # --description-- @@ -36,5 +37,38 @@ assert(!($('img').attr('alt') == undefined)); assert($('img').attr('alt') == ''); ``` +# --seed-- + +## --seed-contents-- + +```html +

Deep Thoughts with Master Camper Cat

+
+

Defeating your Foe: the Red Dot is Ours!

+

To Come...

+
+ + + +
+

Is Chuck Norris a Cat Person?

+

To Come...

+
+``` + # --solutions-- +```html +

Deep Thoughts with Master Camper Cat

+
+

Defeating your Foe: the Red Dot is Ours!

+

To Come...

+
+ + + +
+

Is Chuck Norris a Cat Person?

+

To Come...

+
+``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.md index 1a2f967ea92..eba35cd97a3 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.md @@ -4,6 +4,7 @@ title: 使用自定义 CSS 让元素仅对屏幕阅读器可见 challengeType: 0 videoUrl: 'https://scrimba.com/c/cJ8QGkhJ' forumTopicId: 301020 +dashedName: make-elements-only-visible-to-a-screen-reader-by-using-custom-css --- # --description-- @@ -62,5 +63,182 @@ assert(code.match(/width:\s*?1px/gi)); assert(code.match(/height:\s*?1px/gi)); ``` +# --seed-- + +## --seed-contents-- + +```html + + + + +
+

Training

+ +
+
+

Master Camper Cat's Beginner Three Week Training Program

+
+ +

[Stacked bar chart]

+
+
Breakdown per week of time to spend training in stealth, combat, and weapons.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Hours of Weekly Training in Stealth, Combat, and Weapons
Stealth & AgilityCombatWeaponsTotal
Week One35210
Week Two45312
Week Three46313
+
+
+

Stealth & Agility Training

+

Climb foliage quickly using a minimum spanning tree approach

+

No training is NP-complete without parkour

+
+
+

Combat Training

+

Dispatch multiple enemies with multithreaded tactics

+

Goodbye, world: 5 proven ways to knock out an opponent

+
+
+

Weapons Training

+

Swords: the best tool to literally divide and conquer

+

Breadth-first or depth-first in multi-weapon training?

+
+ + +``` + # --solutions-- +```html + + + + +
+

Training

+ +
+
+

Master Camper Cat's Beginner Three Week Training Program

+
+ +

[Stacked bar chart]

+
+
Breakdown per week of time to spend training in stealth, combat, and weapons.
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Hours of Weekly Training in Stealth, Combat, and Weapons
Stealth & AgilityCombatWeaponsTotal
Week One35210
Week Two45312
Week Three46313
+
+
+

Stealth & Agility Training

+

Climb foliage quickly using a minimum spanning tree approach

+

No training is NP-complete without parkour

+
+
+

Combat Training

+

Dispatch multiple enemies with multithreaded tactics

+

Goodbye, world: 5 proven ways to knock out an opponent

+
+
+

Weapons Training

+

Swords: the best tool to literally divide and conquer

+

Breadth-first or depth-first in multi-weapon training?

+
+ + +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-links-navigable-with-html-access-keys.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-links-navigable-with-html-access-keys.md index e742413368e..2cdf6d65d7d 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-links-navigable-with-html-access-keys.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-links-navigable-with-html-access-keys.md @@ -4,6 +4,7 @@ title: 通过给元素添加 accesskey 属性来让用户可以在链接之间 challengeType: 0 videoUrl: 'https://scrimba.com/c/cQvmaTp' forumTopicId: 1 +dashedName: make-links-navigable-with-html-access-keys --- # --description-- @@ -46,5 +47,58 @@ assert($('#first').attr('accesskey') == 'g'); assert($('#second').attr('accesskey') == 'c'); ``` +# --seed-- + +## --seed-contents-- + +```html + +
+

Deep Thoughts with Master Camper Cat

+
+
+ + +

The Garfield Files: Lasagna as Training Fuel?

+ + +

The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...

+
+
+ + +

Is Chuck Norris a Cat Person?

+ + +

Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...

+
+ + +``` + # --solutions-- +```html + +
+

Deep Thoughts with Master Camper Cat

+
+
+ + +

The Garfield Files: Lasagna as Training Fuel?

+ + +

The internet is littered with varying opinions on nutritional paradigms, from catnip paleo to hairball cleanses. But let's turn our attention to an often overlooked fitness fuel, and examine the protein-carb-NOM trifecta that is lasagna...

+
+
+ + +

Is Chuck Norris a Cat Person?

+ + +

Chuck Norris is widely regarded as the premier martial artist on the planet, and it's a complete coincidence anyone who disagrees with this fact mysteriously disappears soon after. But the real question is, is he a cat person?...

+
+ + +``` diff --git a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.md b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.md index 7f6fafbfad2..cfd5ee05fb4 100644 --- a/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.md +++ b/curriculum/challenges/chinese/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.md @@ -4,6 +4,7 @@ title: 使用 footer 元素来让屏幕阅读器更容易进行导航 challengeType: 0 videoUrl: 'https://scrimba.com/c/crVrDh8' forumTopicId: 301022 +dashedName: make-screen-reader-navigation-easier-with-the-footer-landmark --- # --description-- @@ -34,5 +35,82 @@ assert($('div').length == 0); assert(code.match(/