From 79d90124320cdb83086e558dc6fe00f9ae51a45c Mon Sep 17 00:00:00 2001 From: Valeriy Date: Sat, 20 Oct 2018 21:02:47 +0300 Subject: [PATCH] fix(curriculum): quotes in tests (#18828) * fix(curriculum): tests quotes * fix(curriculum): fill seed-teardown * fix(curriculum): fix tests and remove unneeded seed-teardown --- ...visually-impaired-accessibility.english.md | 4 +- .../add-an-accessible-date-picker.english.md | 8 +- ...-colors-that-convey-information.english.md | 2 +- ...es-by-using-sufficient-contrast.english.md | 4 +- ...-by-using-descriptive-link-text.english.md | 4 +- ...-content-with-the-audio-element.english.md | 14 +- ...ibility-with-the-figure-element.english.md | 12 +- ...sibility-with-the-label-element.english.md | 4 +- ...ability-with-high-contrast-text.english.md | 4 +- ...-content-using-the-main-element.english.md | 4 +- ...n-alt-text-should-be-left-blank.english.md | 4 +- ...reen-reader-by-using-custom-css.english.md | 8 +- ...vigatable-with-html-access-keys.english.md | 8 +- ...easier-with-the-footer-landmark.english.md | 6 +- ...easier-with-the-header-landmark.english.md | 8 +- ...on-easier-with-the-nav-landmark.english.md | 8 +- ...th-the-html5-datetime-attribute.english.md | 10 +- ...chical-relationships-of-content.english.md | 4 +- ...dd-keyboard-focus-to-an-element.english.md | 4 +- ...oard-focus-for-several-elements.english.md | 8 +- ...-content-in-the-article-element.english.md | 4 +- ...lement-for-better-accessibility.english.md | 10 +- ...x-shadow-to-a-card-like-element.english.md | 4 +- ...ckground-color-property-of-text.english.md | 8 +- ...lements-to-complementary-colors.english.md | 8 +- ...ement-using-the-height-property.english.md | 2 +- ...he-hover-state-of-an-anchor-tag.english.md | 6 +- .../adjust-the-hue-of-a-color.english.md | 12 +- ...a-header-versus-a-paragraph-tag.english.md | 2 +- .../adjust-the-tone-of-a-color.english.md | 2 +- ...lement-using-the-width-property.english.md | 2 +- ...mate-elements-at-variable-rates.english.md | 2 +- ...ing-an-infinite-animation-count.english.md | 2 +- ...iple-elements-at-variable-rates.english.md | 6 +- ...tally-using-the-margin-property.english.md | 2 +- ...e-an-elements-relative-position.english.md | 4 +- ...-animation-timing-with-keywords.english.md | 4 +- ...ments-with-the-z-index-property.english.md | 2 +- ...e-a-gradual-css-linear-gradient.english.md | 2 +- .../create-a-graphic-using-css.english.md | 8 +- ...ontal-line-using-the-hr-element.english.md | 4 +- ...omplex-shape-using-css-and-html.english.md | 14 +- ...te-movement-using-css-animation.english.md | 6 +- ...e-pattern-as-a-background-image.english.md | 2 +- ...e-using-the-text-align-property.english.md | 4 +- ...g-an-element-from-left-to-right.english.md | 2 +- ...rease-the-opacity-of-an-element.english.md | 2 +- ...earn-about-complementary-colors.english.md | 4 +- .../learn-about-tertiary-colors.english.md | 6 +- .../learn-how-bezier-curves-work.english.md | 4 +- ...s-and-animation-properties-work.english.md | 12 +- ...arent-with-absolute-positioning.english.md | 12 +- ...r-window-with-fixed-positioning.english.md | 12 +- ...ing-an-infinite-animation-count.english.md | 4 +- ...re-natural-using-a-bezier-curve.english.md | 4 +- ...odify-fill-mode-of-an-animation.english.md | 4 +- ...tioned-element-with-css-offsets.english.md | 10 +- ...r-right-with-the-float-property.english.md | 4 +- ...e-for-multiple-heading-elements.english.md | 12 +- ...the-font-size-of-paragraph-text.english.md | 2 +- ...t-for-multiple-heading-elements.english.md | 12 +- ...t-the-line-height-of-paragraphs.english.md | 2 +- ...-bezier-curve-to-move-a-graphic.english.md | 8 +- ...ent-to-create-a-striped-element.english.md | 12 +- ...nge-the-hover-state-of-a-button.english.md | 6 +- ...kew-an-element-along-the-x-axis.english.md | 2 +- ...kew-an-element-along-the-y-axis.english.md | 2 +- ...o-change-the-size-of-an-element.english.md | 4 +- ...ty-to-scale-an-element-on-hover.english.md | 2 +- ...se-the-em-tag-to-italicize-text.english.md | 4 +- ...the-s-tag-to-strikethrough-text.english.md | 8 +- ...he-strong-tag-to-make-text-bold.english.md | 6 +- ...property-to-make-text-uppercase.english.md | 4 +- ...use-the-u-tag-to-underline-text.english.md | 4 +- ...a-negative-margin-to-an-element.english.md | 2 +- ...dd-borders-around-your-elements.english.md | 10 +- ...gins-to-each-side-of-an-element.english.md | 8 +- ...ding-to-each-side-of-an-element.english.md | 8 +- ...nded-corners-with-border-radius.english.md | 4 +- ...adjust-the-margin-of-an-element.english.md | 2 +- ...djust-the-padding-of-an-element.english.md | 2 +- ...allback-value-to-a-css-variable.english.md | 4 +- .../cascading-css-variables.english.md | 4 +- ...-a-variable-for-a-specific-area.english.md | 2 +- .../change-the-color-of-text.english.md | 4 +- ...nge-the-font-size-of-an-element.english.md | 4 +- .../create-a-custom-css-variable.english.md | 2 +- ...ckground-color-to-a-div-element.english.md | 6 +- .../basic-css/import-a-google-font.english.md | 8 +- ...tibility-with-browser-fallbacks.english.md | 2 +- ...it-styles-from-the-body-element.english.md | 14 +- ...lar-images-with-a-border-radius.english.md | 6 +- ...other-styles-by-using-important.english.md | 14 +- ...ations-by-styling-id-attributes.english.md | 14 +- ...declarations-with-inline-styles.english.md | 10 +- ...erride-styles-in-subsequent-css.english.md | 8 +- ...ioritize-one-style-over-another.english.md | 8 +- ...t-the-font-family-of-an-element.english.md | 2 +- .../set-the-id-of-an-element.english.md | 2 +- .../basic-css/size-your-images.english.md | 4 +- ...pecify-how-fonts-should-degrade.english.md | 12 +- ...tiple-elements-with-a-css-class.english.md | 10 +- .../style-the-html-body-element.english.md | 6 +- ...-absolute-versus-relative-units.english.md | 4 +- ...a-css-class-to-style-an-element.english.md | 10 +- .../use-a-custom-css-variable.english.md | 8 +- ...edia-query-to-change-a-variable.english.md | 8 +- .../use-abbreviated-hex-code.english.md | 24 ++-- ...d-attribute-to-style-an-element.english.md | 8 +- ...ute-selectors-to-style-elements.english.md | 6 +- ...pecify-the-margin-of-an-element.english.md | 8 +- ...ecify-the-padding-of-an-element.english.md | 10 +- ...css-selectors-to-style-elements.english.md | 10 +- ...change-several-elements-at-once.english.md | 6 +- ...se-hex-code-for-specific-colors.english.md | 4 +- .../use-hex-code-to-mix-colors.english.md | 16 +-- .../use-rgb-to-mix-colors.english.md | 16 +-- ...se-rgb-values-to-color-elements.english.md | 4 +- .../add-a-submit-button-to-a-form.english.md | 8 +- .../add-images-to-your-website.english.md | 6 +- ...laceholder-text-to-a-text-field.english.md | 6 +- ...ttons-and-checkboxes-by-default.english.md | 4 +- .../comment-out-html.english.md | 12 +- ...reate-a-bulleted-unordered-list.english.md | 8 +- .../create-a-form-element.english.md | 6 +- .../create-a-set-of-checkboxes.english.md | 8 +- .../create-a-set-of-radio-buttons.english.md | 14 +- .../create-a-text-field.english.md | 2 +- .../create-an-ordered-list.english.md | 22 +-- ...the-doctype-of-an-html-document.english.md | 6 +- ...ad-and-body-of-an-html-document.english.md | 12 +- .../delete-html-elements.english.md | 6 +- ...the-blank-with-placeholder-text.english.md | 2 +- .../headline-with-the-h2-element.english.md | 8 +- ...form-with-the-paragraph-element.english.md | 6 +- .../introduction-to-html5-elements.english.md | 14 +- ...rnal-pages-with-anchor-elements.english.md | 8 +- ...-of-a-page-with-anchor-elements.english.md | 14 +- ...ead-links-using-the-hash-symbol.english.md | 4 +- ...chor-element-within-a-paragraph.english.md | 18 +-- ...nts-within-a-single-div-element.english.md | 8 +- .../say-hello-to-html-elements.english.md | 2 +- .../turn-an-image-into-a-link.english.md | 8 +- .../uncomment-html.english.md | 10 +- .../use-html5-to-require-a-field.english.md | 2 +- ...-superpowers-to-the-tweet-embed.english.md | 14 +- ...-using-the-align-items-property.english.md | 4 +- ...ng-the-justify-content-property.english.md | 4 +- ...ate-a-column-in-the-tweet-embed.english.md | 2 +- ...-create-rows-in-the-tweet-embed.english.md | 4 +- ...play-flex-to-position-two-boxes.english.md | 4 +- ...ems-property-in-the-tweet-embed.english.md | 2 +- .../use-the-align-self-property.english.md | 8 +- ...set-the-initial-size-of-an-item.english.md | 16 +-- ...ction-property-to-make-a-column.english.md | 4 +- ...irection-property-to-make-a-row.english.md | 4 +- ...x-grow-property-to-expand-items.english.md | 8 +- ...use-the-flex-shorthand-property.english.md | 12 +- ...shrink-property-to-shrink-items.english.md | 8 +- ...roperty-to-wrap-a-row-or-column.english.md | 4 +- ...ent-property-in-the-tweet-embed.english.md | 2 +- ...der-property-to-rearrange-items.english.md | 8 +- ...umns-with-grid-template-columns.english.md | 2 +- .../add-gaps-faster-with-grid-gap.english.md | 2 +- ...dd-rows-with-grid-template-rows.english.md | 2 +- ...orizontally-using-justify-items.english.md | 2 +- ...ms-vertically-using-align-items.english.md | 2 +- ...horizontally-using-justify-self.english.md | 2 +- ...tem-vertically-using-align-self.english.md | 2 +- ...olumn-gap-using-grid-column-gap.english.md | 2 +- ...te-a-row-gap-using-grid-row-gap.english.md | 2 +- ...lexible-layouts-using-auto-fill.english.md | 2 +- ...flexible-layouts-using-auto-fit.english.md | 2 +- .../create-grids-within-grids.english.md | 4 +- .../create-your-first-css-grid.english.md | 2 +- ...-the-grid-into-an-area-template.english.md | 2 +- ...-size-using-the-minmax-function.english.md | 2 +- ...as-using-the-grid-area-property.english.md | 2 +- ...ition-using-the-repeat-function.english.md | 2 +- ...ge-the-size-of-columns-and-rows.english.md | 2 +- ...hout-creating-an-areas-template.english.md | 2 +- ...-grid-column-to-control-spacing.english.md | 2 +- ...use-grid-row-to-control-spacing.english.md | 2 +- ...es-to-create-responsive-layouts.english.md | 4 +- .../create-a-media-query.english.md | 4 +- .../make-an-image-responsive.english.md | 6 +- .../make-typography-responsive.english.md | 4 +- ...-for-higher-resolution-displays.english.md | 4 +- .../boo-who.english.md | 24 ++-- .../chunky-monkey.english.md | 28 ++-- .../confirm-the-ending.english.md | 42 +++--- .../convert-celsius-to-fahrenheit.english.md | 12 +- .../factorialize-a-number.english.md | 10 +- .../falsy-bouncer.english.md | 16 +-- ...nd-the-longest-word-in-a-string.english.md | 12 +- .../finders-keepers.english.md | 8 +- .../mutations.english.md | 36 ++--- ...repeat-a-string-repeat-a-string.english.md | 28 ++-- ...eturn-largest-numbers-in-arrays.english.md | 16 +-- .../reverse-a-string.english.md | 8 +- .../slice-and-splice.english.md | 21 +-- .../title-case-a-sentence.english.md | 12 +- .../truncate-a-string.english.md | 24 ++-- .../where-do-i-belong.english.md | 64 ++++----- ...bject-with-a-for...in-statement.english.md | 4 +- ...contents-using-bracket-notation.english.md | 16 +-- ...rty-names-with-bracket-notation.english.md | 10 +- ...-an-array-with-push-and-unshift.english.md | 8 +- .../add-items-using-splice.english.md | 10 +- ...lue-pairs-to-javascript-objects.english.md | 10 +- ...ence-of-an-element-with-indexof.english.md | 18 +-- ...eck-if-an-object-has-a-property.english.md | 33 ++++- ...arrays-with-the-spread-operator.english.md | 6 +- ...-array-with-the-spread-operator.english.md | 18 +-- .../copy-array-items-using-slice.english.md | 6 +- ...omplex-multi-dimensional-arrays.english.md | 12 +- ...ll-object-keys-with-object.keys.english.md | 27 +++- ...an-arrays-items-using-for-loops.english.md | 18 +-- ...fy-an-array-stored-in-an-object.english.md | 10 +- ...-object-nested-within-an-object.english.md | 10 +- ...rom-an-array-with-pop-and-shift.english.md | 8 +- .../remove-items-using-splice.english.md | 4 +- ...y-to-store-a-collection-of-data.english.md | 10 +- ...ord-to-remove-object-properties.english.md | 6 +- .../access-array-data-with-indexes.english.md | 6 +- ...dimensional-arrays-with-indexes.english.md | 6 +- .../accessing-nested-arrays.english.md | 11 +- .../accessing-nested-objects.english.md | 11 +- ...roperties-with-bracket-notation.english.md | 12 +- ...ct-properties-with-dot-notation.english.md | 12 +- ...bject-properties-with-variables.english.md | 14 +- ...operties-to-a-javascript-object.english.md | 6 +- ...add-two-numbers-with-javascript.english.md | 6 +- ...ult-option-in-switch-statements.english.md | 16 +-- .../appending-variables-to-strings.english.md | 19 ++- ...ssignment-with-a-returned-value.english.md | 6 +- .../build-javascript-objects.english.md | 12 +- .../chaining-if-else-statements.english.md | 26 ++-- .../comment-your-javascript-code.english.md | 4 +- ...ison-with-the-equality-operator.english.md | 8 +- ...-with-the-greater-than-operator.english.md | 16 +-- ...eater-than-or-equal-to-operator.english.md | 16 +-- ...on-with-the-inequality-operator.english.md | 12 +- ...son-with-the-less-than-operator.english.md | 14 +- ...-less-than-or-equal-to-operator.english.md | 16 +-- ...th-the-strict-equality-operator.english.md | 8 +- ...-the-strict-inequality-operator.english.md | 10 +- ...s-with-the-logical-and-operator.english.md | 20 +-- ...ns-with-the-logical-or-operator.english.md | 20 +-- ...ignment-with-augmented-addition.english.md | 12 +- ...ignment-with-augmented-division.english.md | 12 +- ...t-with-augmented-multiplication.english.md | 12 +- ...ment-with-augmented-subtraction.english.md | 12 +- ...ting-strings-with-plus-operator.english.md | 16 ++- ...s-with-the-plus-equals-operator.english.md | 12 +- ...tructing-strings-with-variables.english.md | 19 ++- ...count-backwards-with-a-for-loop.english.md | 10 +- .../counting-cards.english.md | 28 ++-- ...decimal-numbers-with-javascript.english.md | 6 +- .../declare-javascript-variables.english.md | 6 +- .../declare-string-variables.english.md | 6 +- ...rement-a-number-with-javascript.english.md | 10 +- ...erties-from-a-javascript-object.english.md | 6 +- ...imal-by-another-with-javascript.english.md | 8 +- ...mber-by-another-with-javascript.english.md | 6 +- .../escape-sequences-in-strings.english.md | 18 +-- ...aping-literal-quotes-in-strings.english.md | 14 +- .../find-the-length-of-a-string.english.md | 6 +- ...nding-a-remainder-in-javascript.english.md | 8 +- ...andom-fractions-with-javascript.english.md | 8 +- ...m-whole-numbers-with-javascript.english.md | 10 +- ...om-whole-numbers-within-a-range.english.md | 31 +++-- .../global-scope-and-functions.english.md | 13 +- ...al-vs.-local-scope-in-functions.english.md | 6 +- .../basic-javascript/golf-code.english.md | 44 +++--- ...rement-a-number-with-javascript.english.md | 10 +- ...es-with-the-assignment-operator.english.md | 4 +- .../introducing-else-if-statements.english.md | 16 +-- .../introducing-else-statements.english.md | 14 +- ...ate-odd-numbers-with-a-for-loop.english.md | 8 +- ...hrough-an-array-with-a-for-loop.english.md | 10 +- ...ith-javascript-do...while-loops.english.md | 10 +- ...erate-with-javascript-for-loops.english.md | 8 +- ...ate-with-javascript-while-loops.english.md | 8 +- .../local-scope-and-functions.english.md | 7 +- ...cal-order-in-if-else-statements.english.md | 6 +- .../manipulate-arrays-with-pop.english.md | 12 +- .../manipulate-arrays-with-push.english.md | 6 +- .../manipulate-arrays-with-shift.english.md | 10 +- .../manipulate-arrays-with-unshift.english.md | 6 +- .../manipulating-complex-objects.english.md | 32 ++--- .../modify-array-data-with-indexes.english.md | 8 +- ...al-options-in-switch-statements.english.md | 22 +-- ...ly-two-decimals-with-javascript.english.md | 6 +- ...ply-two-numbers-with-javascript.english.md | 6 +- ...-one-array-within-another-array.english.md | 4 +- .../nesting-for-loops.english.md | 12 +- ...ues-to-functions-with-arguments.english.md | 20 ++- ...tice-comparing-different-values.english.md | 10 +- .../profile-lookup.english.md | 24 ++-- ...ting-strings-with-single-quotes.english.md | 8 +- .../record-collection.english.md | 30 ++--- ...cing-if-else-chains-with-switch.english.md | 22 +-- ...lue-from-a-function-with-return.english.md | 8 +- ...urn-early-pattern-for-functions.english.md | 24 ++-- ...g-boolean-values-from-functions.english.md | 10 +- ...-options-with-switch-statements.english.md | 12 +- .../basic-javascript/shopping-list.english.md | 35 ++++- .../basic-javascript/stand-in-line.english.md | 24 ++-- ...ariable-using-javascript-arrays.english.md | 8 +- ...es-with-the-assignment-operator.english.md | 10 +- ...er-from-another-with-javascript.english.md | 6 +- .../testing-objects-for-properties.english.md | 6 +- .../understand-string-immutability.english.md | 6 +- .../understanding-boolean-values.english.md | 8 +- ...g-case-sensitivity-in-variables.english.md | 12 +- ...-value-returned-from-a-function.english.md | 15 ++- ...tanding-uninitialized-variables.english.md | 10 +- .../updating-object-properties.english.md | 6 +- ...the-first-character-in-a-string.english.md | 6 +- ...-the-last-character-in-a-string.english.md | 6 +- ...d-the-nth-character-in-a-string.english.md | 6 +- ...h-to-last-character-in-a-string.english.md | 6 +- ...tional-logic-with-if-statements.english.md | 14 +- ...e-conditional-ternary-operators.english.md | 8 +- ...he-conditional-ternary-operator.english.md | 14 +- ...-parseint-function-with-a-radix.english.md | 10 +- .../use-the-parseint-function.english.md | 10 +- .../using-objects-for-lookups.english.md | 20 +-- .../basic-javascript/word-blanks.english.md | 15 ++- ...sable-javascript-with-functions.english.md | 14 +- ...g-order-when-calling-a-function.english.md | 6 +- ...renthesis-after-a-function-call.english.md | 4 +- ...led-variable-and-function-names.english.md | 10 +- ...age-of-single-and-double-quotes.english.md | 8 +- ...-one-errors-when-using-indexing.english.md | 8 +- ...eses-brackets-braces-and-quotes.english.md | 4 +- ...or-instead-of-equality-operator.english.md | 6 +- ...with-a-valid-terminal-condition.english.md | 4 +- ...reecodecamp-and-browser-console.english.md | 6 +- ...alizing-variables-inside-a-loop.english.md | 6 +- ...o-check-the-value-of-a-variable.english.md | 2 +- ...to-check-the-type-of-a-variable.english.md | 6 +- ...pes-of-the-var-and-let-keywords.english.md | 6 +- ...rt-fallback-with-export-default.english.md | 2 +- ...strings-using-template-literals.english.md | 6 +- ...variable-with-the-const-keyword.english.md | 8 +- ...etween-the-var-and-let-keywords.english.md | 6 +- .../es6/import-a-default-export.english.md | 2 +- ...te-an-array-declared-with-const.english.md | 10 +- .../es6/prevent-object-mutation.english.md | 8 +- ...t-parameters-for-your-functions.english.md | 8 +- ...nces-between-import-and-require.english.md | 2 +- ...o-import-everything-from-a-file.english.md | 2 +- ...ite-concise-anonymous-functions.english.md | 10 +- ...o-define-a-constructor-function.english.md | 8 +- ...to-assign-variables-from-arrays.english.md | 10 +- ...n-variables-from-nested-objects.english.md | 4 +- ...o-assign-variables-from-objects.english.md | 4 +- ...bject-as-a-functions-parameters.english.md | 6 +- ...ator-to-reassign-array-elements.english.md | 8 +- ...se-export-to-reuse-a-code-block.english.md | 4 +- ...-to-control-access-to-an-object.english.md | 6 +- ...erator-with-function-parameters.english.md | 14 +- ...tor-to-evaluate-arrays-in-place.english.md | 6 +- ...arrow-functions-with-parameters.english.md | 10 +- ...-declarative-functions-with-es6.english.md | 6 +- ...eclarations-using-simple-fields.english.md | 6 +- ...te-higher-order-arrow-functions.english.md | 16 +-- ...ay-using-concat-instead-of-push.english.md | 12 +- ...to-convert-strings-to-url-slugs.english.md | 12 +- ...ts-using-functional-programming.english.md | 6 +- ...-a-string-using-the-join-method.english.md | 14 +- ...-arrays-using-the-concat-method.english.md | 10 +- .../implement-map-on-a-prototype.english.md | 6 +- ...he-filter-method-on-a-prototype.english.md | 6 +- ...urrying-and-partial-application.english.md | 8 +- ...rn-about-functional-programming.english.md | 4 +- ...ternal-dependence-in-a-function.english.md | 6 +- ...obal-variables-out-of-functions.english.md | 16 +-- ...y-using-slice-instead-of-splice.english.md | 10 +- ...out-changing-the-original-array.english.md | 10 +- ...an-array-using-the-slice-method.english.md | 16 +-- ...betically-using-the-sort-method.english.md | 14 +- ...an-array-using-the-split-method.english.md | 14 +- ...ctional-programming-terminology.english.md | 8 +- ...azards-of-using-imperative-code.english.md | 2 +- ...nt-in-an-array-meets-a-criteria.english.md | 14 +- ...d-to-extract-data-from-an-array.english.md | 8 +- ...d-to-extract-data-from-an-array.english.md | 126 +++++++++++++++++- ...e-reduce-method-to-analyze-data.english.md | 8 +- ...nts-in-an-array-meet-a-criteria.english.md | 14 +- .../arguments-optional.english.md | 18 +-- .../binary-agents.english.md | 6 +- .../convert-html-entities.english.md | 26 ++-- .../diff-two-arrays.english.md | 60 ++++----- .../dna-pairing.english.md | 12 +- .../drop-it.english.md | 24 ++-- .../everything-be-true.english.md | 18 +-- .../make-a-person.english.md | 24 ++-- .../map-the-debris.english.md | 4 +- .../missing-letters.english.md | 10 +- .../pig-latin.english.md | 14 +- .../search-and-replace.english.md | 20 +-- .../seek-and-destroy.english.md | 24 ++-- .../smallest-common-multiple.english.md | 24 ++-- .../sorted-union.english.md | 12 +- .../spinal-tap-case.english.md | 10 +- .../steamroller.english.md | 16 +-- .../sum-all-numbers-in-a-range.english.md | 20 +-- .../sum-all-odd-fibonacci-numbers.english.md | 12 +- .../sum-all-primes.english.md | 6 +- .../wherefore-art-thou.english.md | 12 +- .../caesars-cipher.english.md | 8 +- .../cash-register.english.md | 14 +- .../palindrome-checker.english.md | 30 ++--- .../roman-numeral-converter.english.md | 52 ++++---- .../telephone-number-validator.english.md | 56 ++++---- .../add-methods-after-inheritance.english.md | 10 +- ...e-the-prototype-to-a-new-object.english.md | 8 +- ...reate-a-basic-javascript-object.english.md | 8 +- .../create-a-method-on-an-object.english.md | 4 +- .../define-a-constructor-function.english.md | 6 +- ...nstructors-to-receive-arguments.english.md | 8 +- ...erit-behaviors-from-a-supertype.english.md | 8 +- .../iterate-over-all-properties.english.md | 6 +- ...-reusable-with-the-this-keyword.english.md | 4 +- .../override-inherited-methods.english.md | 6 +- ...rty-when-changing-the-prototype.english.md | 2 +- ...-inherited-constructor-property.english.md | 8 +- ...pe-to-an-instance-of-the-parent.english.md | 2 +- .../understand-own-properties.english.md | 4 +- ...rstand-the-constructor-property.english.md | 6 +- ...nvoked-function-expression-iife.english.md | 4 +- .../understand-the-prototype-chain.english.md | 2 +- ...an-objects-prototype-comes-from.english.md | 2 +- ...a-constructor-to-create-objects.english.md | 4 +- ...avior-between-unrelated-objects.english.md | 6 +- .../use-an-iife-to-create-a-module.english.md | 6 +- ...-from-being-modified-externally.english.md | 4 +- ...ess-the-properties-of-an-object.english.md | 4 +- ...nce-so-you-dont-repeat-yourself.english.md | 6 +- ...erties-to-reduce-duplicate-code.english.md | 6 +- ...cts-constructor-with-instanceof.english.md | 4 +- .../check-for-all-or-none.english.md | 10 +- .../extract-matches.english.md | 6 +- ...d-characters-with-lazy-matching.english.md | 2 +- .../find-more-than-the-first-match.english.md | 8 +- ...one-or-more-criminals-in-a-hunt.english.md | 14 +- .../ignore-case-while-matching.english.md | 20 +-- ...ng-with-different-possibilities.english.md | 14 +- .../match-all-letters-and-numbers.english.md | 12 +- .../match-all-non-numbers.english.md | 18 +-- .../match-all-numbers.english.md | 18 +-- ...h-anything-with-wildcard-period.english.md | 20 +-- ...match-beginning-string-patterns.english.md | 8 +- ...rs-that-occur-one-or-more-times.english.md | 6 +- ...s-that-occur-zero-or-more-times.english.md | 14 +- .../match-ending-string-patterns.english.md | 6 +- ...rything-but-letters-and-numbers.english.md | 12 +- .../match-letters-of-the-alphabet.english.md | 6 +- .../match-literal-strings.english.md | 6 +- ...match-non-whitespace-characters.english.md | 10 +- ...ers-and-letters-of-the-alphabet.english.md | 6 +- ...ter-with-multiple-possibilities.english.md | 10 +- ...single-characters-not-specified.english.md | 6 +- .../match-whitespace.english.md | 10 +- ...positive-and-negative-lookahead.english.md | 16 +-- ...e-whitespace-from-start-and-end.english.md | 8 +- .../restrict-possible-usernames.english.md | 12 +- ...e-patterns-using-capture-groups.english.md | 20 +-- ...specify-exact-number-of-matches.english.md | 12 +- ...nly-the-lower-number-of-matches.english.md | 14 +- ...per-and-lower-number-of-matches.english.md | 14 +- ...re-groups-to-search-and-replace.english.md | 6 +- .../using-the-test-method.english.md | 4 +- ...nts-within-your-bootstrap-wells.english.md | 6 +- ...ome-icons-to-all-of-our-buttons.english.md | 12 +- ...nt-awesome-icons-to-our-buttons.english.md | 8 +- ...ttributes-to-bootstrap-elements.english.md | 4 +- ...-default-bootstrap-button-style.english.md | 4 +- ...-optional-actions-with-btn-info.english.md | 8 +- .../center-text-with-bootstrap.english.md | 4 +- ...-block-element-bootstrap-button.english.md | 6 +- .../create-a-bootstrap-button.english.md | 6 +- .../create-a-bootstrap-headline.english.md | 10 +- .../create-a-bootstrap-row.english.md | 8 +- ...to-target-with-jquery-selectors.english.md | 2 +- .../create-a-custom-heading.english.md | 8 +- .../create-bootstrap-wells.english.md | 6 +- .../ditch-custom-css-for-bootstrap.english.md | 10 +- .../give-each-element-a-unique-id.english.md | 12 +- ...a-bootstrap-container-fluid-div.english.md | 6 +- .../label-bootstrap-buttons.english.md | 24 ++-- .../label-bootstrap-wells.english.md | 14 +- ...nts-responsively-with-bootstrap.english.md | 8 +- .../make-images-mobile-responsive.english.md | 12 +- .../responsively-style-checkboxes.english.md | 6 +- ...esponsively-style-radio-buttons.english.md | 6 +- .../split-your-bootstrap-row.english.md | 4 +- ...le-text-inputs-as-form-controls.english.md | 10 +- ...-bootstrap-button-color-rainbow.english.md | 6 +- ...-span-to-target-inline-elements.english.md | 8 +- .../use-comments-to-clarify-code.english.md | 12 +- ...with-bootstrap-fluid-containers.english.md | 6 +- ...id-to-put-elements-side-by-side.english.md | 8 +- ...angerous-action-with-btn-danger.english.md | 8 +- ...-inside-an-element-using-jquery.english.md | 10 +- ...-css-of-an-element-using-jquery.english.md | 4 +- .../clone-an-element-using-jquery.english.md | 6 +- .../delete-your-jquery-functions.english.md | 14 +- ...disable-an-element-using-jquery.english.md | 6 +- .../remove-an-element-using-jquery.english.md | 4 +- ...ses-from-an-element-with-jquery.english.md | 6 +- ...hild-of-an-element-using-jquery.english.md | 10 +- ...-elements-by-class-using-jquery.english.md | 6 +- ...get-elements-by-id-using-jquery.english.md | 10 +- ...rget-even-elements-using-jquery.english.md | 8 +- ...nts-with-selectors-using-jquery.english.md | 8 +- ...dren-of-an-element-using-jquery.english.md | 10 +- ...rent-of-an-element-using-jquery.english.md | 12 +- ...-with-multiple-jquery-selectors.english.md | 18 +-- ...to-to-move-elements-with-jquery.english.md | 6 +- ...query-to-modify-the-entire-page.english.md | 2 +- .../connect-redux-to-react.english.md | 21 ++- ...nnect-redux-to-the-messages-app.english.md | 24 ++-- .../extract-local-state-into-redux.english.md | 34 ++--- .../extract-state-logic-to-redux.english.md | 12 +- ...etting-started-with-react-redux.english.md | 12 +- .../manage-state-locally-first.english.md | 22 +-- .../map-dispatch-to-props.english.md | 8 +- .../map-state-to-props.english.md | 8 +- .../moving-forward-from-here.english.md | 2 +- ...vider-to-connect-redux-to-react.english.md | 22 +-- .../access-props-using-this.props.english.md | 12 +- .../react/add-comments-in-jsx.english.md | 10 +- .../react/add-event-listeners.english.md | 16 +-- .../add-inline-styles-in-react.english.md | 14 +- .../bind-this-to-a-class-method.english.md | 10 +- ...onally-based-on-component-state.english.md | 16 +-- .../react/compose-react-components.english.md | 10 +- .../create-a-complex-jsx-element.english.md | 12 +- ...te-a-component-with-composition.english.md | 8 +- .../react/create-a-controlled-form.english.md | 22 +-- .../create-a-controlled-input.english.md | 14 +- .../react/create-a-react-component.english.md | 8 +- .../create-a-simple-jsx-element.english.md | 6 +- .../create-a-stateful-component.english.md | 10 +- ...-stateless-functional-component.english.md | 8 +- .../define-an-html-class-in-jsx.english.md | 6 +- ...elements-a-unique-key-attribute.english.md | 12 +- .../introducing-inline-styles.english.md | 8 +- ...arn-about-self-closing-jsx-tags.english.md | 8 +- ...-updates-with-lifecycle-methods.english.md | 10 +- ...ders-with-shouldcomponentupdate.english.md | 10 +- .../react/override-default-props.english.md | 8 +- .../react/pass-a-callback-as-props.english.md | 16 +-- .../react/pass-an-array-as-props.english.md | 18 +-- ...-stateless-functional-component.english.md | 12 +- ...te-as-props-to-child-components.english.md | 8 +- ...er-a-class-component-to-the-dom.english.md | 8 +- ...render-conditionally-from-props.english.md | 20 +-- ...render-html-elements-to-the-dom.english.md | 8 +- ...-the-server-with-rendertostring.english.md | 4 +- ...-the-user-interface-another-way.english.md | 12 +- ...der-state-in-the-user-interface.english.md | 8 +- ...ender-with-an-if-else-condition.english.md | 14 +- ...stateless-functional-components.english.md | 12 +- .../set-state-with-this.setstate.english.md | 10 +- ...-for-a-more-concise-conditional.english.md | 14 +- ...ssion-for-conditional-rendering.english.md | 36 ++--- ...vascript-in-react-render-method.english.md | 31 ++--- ...-to-dynamically-filter-an-array.english.md | 14 +- ...-to-dynamically-render-elements.english.md | 18 +-- .../react/use-default-props.english.md | 6 +- ...-to-define-the-props-you-expect.english.md | 8 +- ...act-to-render-nested-components.english.md | 10 +- .../use-state-to-toggle-an-element.english.md | 8 +- ...ecycle-method-componentdidmount.english.md | 8 +- ...cycle-method-componentwillmount.english.md | 6 +- ...-a-react-component-from-scratch.english.md | 6 +- .../react/write-a-simple-counter.english.md | 14 +- .../combine-multiple-reducers.english.md | 8 +- ...py-an-object-with-object.assign.english.md | 8 +- .../redux/create-a-redux-store.english.md | 4 +- .../redux/define-a-redux-action.english.md | 4 +- .../redux/define-an-action-creator.english.md | 6 +- .../redux/dispatch-an-action-event.english.md | 6 +- .../get-state-from-the-redux-store.english.md | 4 +- .../handle-an-action-in-the-store.english.md | 10 +- .../redux/never-mutate-state.english.md | 6 +- .../register-a-store-listener.english.md | 6 +- .../remove-an-item-from-an-array.english.md | 8 +- .../send-action-data-to-the-store.english.md | 4 +- ...ment-to-handle-multiple-actions.english.md | 12 +- .../use-const-for-action-types.english.md | 16 +-- ...-to-handle-asynchronous-actions.english.md | 10 +- ...e-the-spread-operator-on-arrays.english.md | 10 +- .../write-a-counter-with-redux.english.md | 12 +- ...l-a-condition-is-met-with-while.english.md | 26 ++-- ...create-reusable-css-with-mixins.english.md | 14 +- ...f-css-styles-to-another-element.english.md | 4 +- .../sass/nest-css-with-sass.english.md | 2 +- ...to-smaller-chunks-with-partials.english.md | 4 +- .../store-data-with-sass-variables.english.md | 8 +- ...ach-to-map-over-items-in-a-list.english.md | 8 +- .../use-for-to-create-a-sass-loop.english.md | 12 +- ...lse-to-add-logic-to-your-styles.english.md | 16 +-- ...-a-hover-effect-to-a-d3-element.english.md | 2 +- .../add-a-tooltip-to-a-d3-element.english.md | 20 +-- ...tributes-to-the-circle-elements.english.md | 42 +++--- .../add-axes-to-a-visualization.english.md | 8 +- .../add-classes-with-d3.english.md | 4 +- .../add-document-elements-with-d3.english.md | 12 +- .../add-inline-styling-to-elements.english.md | 4 +- .../add-labels-to-d3-elements.english.md | 18 +-- ...-labels-to-scatter-plot-circles.english.md | 42 +++--- .../change-styles-based-on-data.english.md | 18 +-- ...nge-the-color-of-an-svg-element.english.md | 2 +- ...the-presentation-of-a-bar-chart.english.md | 18 +-- ...-for-each-data-point-in-the-set.english.md | 8 +- .../create-a-linear-scale-with-d3.english.md | 6 +- ...-a-scatterplot-with-svg-circles.english.md | 2 +- .../display-shapes-with-svg.english.md | 10 +- ...y-change-the-height-of-each-bar.english.md | 18 +-- ...et-the-coordinates-for-each-bar.english.md | 18 +-- .../invert-svg-elements.english.md | 18 +-- .../learn-about-svg-in-d3.english.md | 6 +- ...ect-a-group-of-elements-with-d3.english.md | 8 +- ...a-domain-and-a-range-on-a-scale.english.md | 14 +- .../style-d3-labels.english.md | 4 +- ...eight-of-an-element-dynamically.english.md | 18 +-- ...defined-scale-to-place-elements.english.md | 44 +++--- .../use-dynamic-scales.english.md | 10 +- ...and-maximum-values-in-a-dataset.english.md | 4 +- .../work-with-data-in-d3.english.md | 8 +- .../work-with-dynamic-data-in-d3.english.md | 18 +-- ...ccess-the-json-data-from-an-api.english.md | 4 +- .../change-text-with-click-events.english.md | 2 +- .../convert-json-data-to-html.english.md | 6 +- ...to-find-a-users-gps-coordinates.english.md | 16 +-- ...avascript-xmlhttprequest-method.english.md | 12 +- ...ript-using-the-onclick-property.english.md | 4 +- ...avascript-xmlhttprequest-method.english.md | 12 +- ...r-json-to-get-the-data-you-need.english.md | 2 +- ...render-images-from-data-sources.english.md | 2 +- .../announce-new-users.english.md | 6 +- .../authentication-strategies.english.md | 4 +- .../authentication-with-socket.io.english.md | 6 +- ...an-up-your-project-with-modules.english.md | 2 +- .../communicate-by-emitting.english.md | 6 +- .../create-new-middleware.english.md | 4 +- .../handle-a-disconnect.english.md | 4 +- .../hashing-your-passwords.english.md | 4 +- .../how-to-put-a-profile-together.english.md | 2 +- .../how-to-use-passport-strategies.english.md | 4 +- ...erialization-of-a-passport-user.english.md | 6 +- ...ion-of-social-authentication-ii.english.md | 6 +- ...on-of-social-authentication-iii.english.md | 6 +- ...tation-of-social-authentication.english.md | 4 +- .../logging-a-user-out.english.md | 4 +- .../registration-of-new-users.english.md | 10 +- .../send-and-display-chat-messages.english.md | 4 +- .../serialization-of-a-user-object.english.md | 8 +- .../set-up-a-template-engine.english.md | 6 +- .../set-up-passport.english.md | 8 +- .../set-up-the-environment.english.md | 8 +- .../use-a-template-engines-powers.english.md | 2 +- .../anonymous-message-board.english.md | 16 +-- .../issue-tracker.english.md | 12 +- .../metric-imperial-converter.english.md | 10 +- .../personal-library.english.md | 8 +- .../stock-price-checker.english.md | 6 +- ...via-https-only-with-helmet.hsts.english.md | 4 +- ...e-mime-type-with-helmet.nosniff.english.md | 2 +- ...ide-caching-with-helmet.nocache.english.md | 2 +- ...-with-helmet.dnsprefetchcontrol.english.md | 2 +- ...ompare-passwords-asynchronously.english.md | 2 +- ...compare-passwords-synchronously.english.md | 2 +- ...tion-using-helmet.hidepoweredby.english.md | 2 +- .../install-and-require-helmet.english.md | 2 +- ...kjacking-with-helmet.frameguard.english.md | 4 +- ...s-attacks-with-helmet.xssfilter.english.md | 2 +- ...usted-html-with-helmet.ienoopen.english.md | 2 +- ...th-helmet.contentsecuritypolicy.english.md | 6 +- .../understand-bcrypt-hashes.english.md | 4 +- ...th-.deepequal-and-.notdeepequal.english.md | 6 +- ...-the-properties-of-two-elements.english.md | 10 +- ...-how-javascript-assertions-work.english.md | 6 +- ...sing-chai-http-iii---put-method.english.md | 10 +- ...using-chai-http-iv---put-method.english.md | 10 +- ...pi-endpoints-using-chai-http-ii.english.md | 6 +- ...n-api-endpoints-using-chai-http.english.md | 6 +- ...sts-using-a-headless-browser-ii.english.md | 18 +-- ...-tests-using-a-headless-browser.english.md | 16 +-- .../test-for-truthiness.english.md | 8 +- ...f-a-string-contains-a-substring.english.md | 6 +- ...e-falls-within-a-specific-range.english.md | 10 +- .../test-if-a-value-is-a-string.english.md | 8 +- .../test-if-a-value-is-an-array.english.md | 6 +- ...-a-specific-data-structure-type.english.md | 12 +- ...variable-or-function-is-defined.english.md | 8 +- ...st-if-an-array-contains-an-item.english.md | 6 +- ...est-if-an-object-has-a-property.english.md | 8 +- ...is-an-instance-of-a-constructor.english.md | 10 +- ...or-at-least-as-large-as-another.english.md | 10 +- ...-assert.isok-and-assert.isnotok.english.md | 8 +- ...ar-expressions-to-test-a-string.english.md | 6 +- ...ouble-equals-to-assert-equality.english.md | 10 +- ...quals-to-assert-strict-equality.english.md | 10 +- .../find-the-symmetric-difference.english.md | 56 ++++---- .../implement-bubble-sort.english.md | 13 +- .../implement-insertion-sort.english.md | 13 +- .../implement-merge-sort.english.md | 13 +- .../implement-quick-sort.english.md | 13 +- .../implement-selection-sort.english.md | 13 +- .../algorithms/inventory-update.english.md | 22 +-- .../algorithms/no-repeats-please.english.md | 20 +-- .../algorithms/pairwise.english.md | 20 +-- ...element-to-a-binary-search-tree.english.md | 51 ++++++- ...specific-index-in-a-linked-list.english.md | 6 +- .../data-structures/adjacency-list.english.md | 8 +- .../adjacency-matrix.english.md | 10 +- .../breadth-first-search.english.md | 31 ++++- ...present-in-a-binary-search-tree.english.md | 39 +++++- .../create-a-circular-queue.english.md | 10 +- .../create-a-doubly-linked-list.english.md | 47 +++++-- .../create-a-hash-table.english.md | 16 +-- .../create-a-linked-list-class.english.md | 8 +- .../create-a-map-data-structure.english.md | 14 +- .../create-a-priority-queue-class.english.md | 14 +- .../create-a-queue-class.english.md | 18 +-- .../create-a-set-class.english.md | 8 +- .../create-a-stack-class.english.md | 18 +-- .../create-a-trie-search-tree.english.md | 10 +- .../create-an-es6-javascript-map.english.md | 6 +- .../create-and-add-to-sets-in-es6.english.md | 4 +- ...af-node-in-a-binary-search-tree.english.md | 88 +++++++++++- ...e-child-in-a-binary-search-tree.english.md | 92 +++++++++++-- ...hildren-in-a-binary-search-tree.english.md | 96 +++++++++++-- .../depth-first-search.english.md | 32 ++--- ...-height-of-a-binary-search-tree.english.md | 47 +++++-- ...m-value-in-a-binary-search-tree.english.md | 43 +++++- ...ement-heap-sort-with-a-min-heap.english.md | 10 +- .../incidence-matrix.english.md | 10 +- ...sert-an-element-into-a-max-heap.english.md | 8 +- .../invert-a-binary-tree.english.md | 57 +++++++- .../learn-how-a-stack-works.english.md | 8 +- ...-difference-on-two-sets-of-data.english.md | 4 +- ...ubset-check-on-two-sets-of-data.english.md | 20 +-- .../perform-a-union-on-two-sets.english.md | 4 +- ...ntersection-on-two-sets-of-data.english.md | 4 +- ...move-an-element-from-a-max-heap.english.md | 10 +- ...nts-from-a-linked-list-by-index.english.md | 10 +- ...ove-elements-from-a-linked-list.english.md | 8 +- .../remove-from-a-set.english.md | 6 +- .../remove-items-from-a-set-in-es6.english.md | 4 +- .../reverse-a-doubly-linked-list.english.md | 59 +++++++- .../search-within-a-linked-list.english.md | 10 +- .../size-of-the-set.english.md | 4 +- .../data-structures/typed-arrays.english.md | 6 +- ...se-.has-and-.size-on-an-es6-set.english.md | 4 +- ...-search-in-a-binary-search-tree.english.md | 45 +++++-- ...-search-in-a-binary-search-tree.english.md | 51 +++++-- ...d-notes-for-es5-set-integration.english.md | 2 +- ...ork-with-nodes-in-a-linked-list.english.md | 4 +- .../problem-1-multiples-of-3-and-5.english.md | 8 +- .../problem-10-summation-of-primes.english.md | 8 +- ...roblem-100-arranged-probability.english.md | 2 +- .../problem-101-optimum-polynomial.english.md | 2 +- ...roblem-102-triangle-containment.english.md | 2 +- ...103-special-subset-sums-optimum.english.md | 2 +- ...m-104-pandigital-fibonacci-ends.english.md | 2 +- ...105-special-subset-sums-testing.english.md | 2 +- ...pecial-subset-sums-meta-testing.english.md | 2 +- .../problem-107-minimal-network.english.md | 2 +- ...m-108-diophantine-reciprocals-i.english.md | 2 +- .../problem-109-darts.english.md | 2 +- ...em-11-largest-product-in-a-grid.english.md | 4 +- ...-110-diophantine-reciprocals-ii.english.md | 2 +- .../problem-111-primes-with-runs.english.md | 2 +- .../problem-112-bouncy-numbers.english.md | 2 +- .../problem-113-non-bouncy-numbers.english.md | 2 +- ...4-counting-block-combinations-i.english.md | 2 +- ...-counting-block-combinations-ii.english.md | 2 +- ...lem-116-red-green-or-blue-tiles.english.md | 2 +- ...em-117-red-green-and-blue-tiles.english.md | 2 +- ...oblem-118-pandigital-prime-sets.english.md | 2 +- .../problem-119-digit-power-sum.english.md | 2 +- ...hly-divisible-triangular-number.english.md | 10 +- .../problem-120-square-remainders.english.md | 2 +- ...roblem-121-disc-game-prize-fund.english.md | 2 +- ...em-122-efficient-exponentiation.english.md | 2 +- ...lem-123-prime-square-remainders.english.md | 2 +- .../problem-124-ordered-radicals.english.md | 2 +- .../problem-125-palindromic-sums.english.md | 2 +- .../problem-126-cuboid-layers.english.md | 2 +- .../problem-127-abc-hits.english.md | 2 +- ...-128-hexagonal-tile-differences.english.md | 2 +- ...roblem-129-repunit-divisibility.english.md | 2 +- .../problem-13-large-sum.english.md | 4 +- ...tes-with-prime-repunit-property.english.md | 2 +- ...blem-131-prime-cube-partnership.english.md | 2 +- ...oblem-132-large-repunit-factors.english.md | 2 +- .../problem-133-repunit-nonfactors.english.md | 2 +- ...oblem-134-prime-pair-connection.english.md | 2 +- .../problem-135-same-differences.english.md | 2 +- ...roblem-136-singleton-difference.english.md | 2 +- ...em-137-fibonacci-golden-nuggets.english.md | 2 +- ...138-special-isosceles-triangles.english.md | 2 +- .../problem-139-pythagorean-tiles.english.md | 2 +- ...lem-14-longest-collatz-sequence.english.md | 10 +- ...dified-fibonacci-golden-nuggets.english.md | 2 +- ...numbers-n-which-are-also-square.english.md | 2 +- ...m-142-perfect-square-collection.english.md | 2 +- ...-torricelli-point-of-a-triangle.english.md | 2 +- ...ple-reflections-of-a-laser-beam.english.md | 2 +- ...ers-are-there-below-one-billion.english.md | 2 +- ...6-investigating-a-prime-pattern.english.md | 2 +- ...ctangles-in-cross-hatched-grids.english.md | 2 +- ...-148-exploring-pascals-triangle.english.md | 4 +- ...g-for-a-maximum-sum-subsequence.english.md | 2 +- .../problem-15-lattice-paths.english.md | 6 +- ...sub-triangle-having-minimum-sum.english.md | 2 +- ...sizes-an-expected-value-problem.english.md | 2 +- ...alf-as-a-sum-of-inverse-squares.english.md | 2 +- ...investigating-gaussian-integers.english.md | 2 +- ...m-154-exploring-pascals-pyramid.english.md | 4 +- ...155-counting-capacitor-circuits.english.md | 2 +- .../problem-156-counting-digits.english.md | 2 +- ...olving-the-diophantine-equation.english.md | 2 +- ...after-its-neighbour-to-the-left.english.md | 2 +- ...tal-root-sums-of-factorisations.english.md | 2 +- .../problem-16-power-digit-sum.english.md | 6 +- ...m-160-factorial-trailing-digits.english.md | 2 +- .../problem-161-triominoes.english.md | 2 +- ...problem-162-hexadecimal-numbers.english.md | 2 +- ...lem-163-cross-hatched-triangles.english.md | 2 +- ...-sum-greater-than-a-given-value.english.md | 2 +- .../problem-165-intersections.english.md | 2 +- .../problem-166-criss-cross.english.md | 2 +- ...67-investigating-ulam-sequences.english.md | 2 +- .../problem-168-number-rotations.english.md | 2 +- ...pressed-as-a-sum-of-powers-of-2.english.md | 2 +- ...problem-17-number-letter-counts.english.md | 12 +- ...ormed-by-concatenating-products.english.md | 2 +- ...uares-of-the-digits-is-a-square.english.md | 2 +- ...umbers-with-few-repeated-digits.english.md | 2 +- ...ow-square-laminae-can-be-formed.english.md | 2 +- ...three-...-distinct-arrangements.english.md | 2 +- ...pressed-as-a-sum-of-powers-of-2.english.md | 4 +- ...triangles-that-share-a-cathetus.english.md | 2 +- ...7-integer-angled-quadrilaterals.english.md | 2 +- .../problem-178-step-numbers.english.md | 2 +- ...9-consecutive-positive-divisors.english.md | 2 +- .../problem-18-maximum-path-sum-i.english.md | 4 +- ...f-a-function-of-three-variables.english.md | 2 +- ...ifferent-colours-can-be-grouped.english.md | 2 +- .../problem-182-rsa-encryption.english.md | 2 +- ...em-183-maximum-product-of-parts.english.md | 2 +- ...triangles-containing-the-origin.english.md | 2 +- .../problem-185-number-mind.english.md | 2 +- ...-186-connectedness-of-a-network.english.md | 2 +- .../problem-187-semiprimes.english.md | 2 +- ...hyperexponentiation-of-a-number.english.md | 2 +- ...tri-colouring-a-triangular-grid.english.md | 2 +- .../problem-19-counting-sundays.english.md | 12 +- ...0-maximising-a-weighted-product.english.md | 2 +- .../problem-191-prize-strings.english.md | 2 +- ...problem-192-best-approximations.english.md | 2 +- .../problem-193-squarefree-numbers.english.md | 2 +- ...lem-194-coloured-configurations.english.md | 2 +- ...es-with-one-angle-of-60-degrees.english.md | 2 +- .../problem-196-prime-triplets.english.md | 2 +- ...-a-recursively-defined-sequence.english.md | 2 +- .../problem-198-ambiguous-numbers.english.md | 2 +- ...em-199-iterative-circle-packing.english.md | 2 +- ...roblem-2-even-fibonacci-numbers.english.md | 10 +- .../problem-20-factorial-digit-sum.english.md | 10 +- ...g-the-contiguous-sub-string-200.english.md | 2 +- ...m-201-subsets-with-a-unique-sum.english.md | 2 +- .../problem-202-laserbeam.english.md | 2 +- ...quarefree-binomial-coefficients.english.md | 2 +- ...204-generalised-hamming-numbers.english.md | 2 +- .../problem-205-dice-game.english.md | 2 +- .../problem-206-concealed-square.english.md | 2 +- ...207-integer-partition-equations.english.md | 2 +- .../problem-208-robot-walks.english.md | 2 +- .../problem-209-circular-logic.english.md | 2 +- .../problem-21-amicable-numbers.english.md | 8 +- ...lem-210-obtuse-angled-triangles.english.md | 2 +- .../problem-211-divisor-square-sum.english.md | 2 +- ...-212-combined-volume-of-cuboids.english.md | 2 +- .../problem-213-flea-circus.english.md | 2 +- .../problem-214-totient-chains.english.md | 2 +- .../problem-215-crack-free-walls.english.md | 2 +- ...ty-of-numbers-of-the-form-2n2-1.english.md | 2 +- .../problem-217-balanced-numbers.english.md | 2 +- ...-perfect-right-angled-triangles.english.md | 2 +- .../problem-219-skew-cost-coding.english.md | 2 +- .../problem-22-names-scores.english.md | 6 +- .../problem-220-heighway-dragon.english.md | 4 +- ...roblem-221-alexandrian-integers.english.md | 2 +- .../problem-222-sphere-packing.english.md | 2 +- ...almost-right-angled-triangles-i.english.md | 2 +- ...lmost-right-angled-triangles-ii.english.md | 2 +- ...lem-225-tribonacci-non-divisors.english.md | 2 +- ...oblem-226-a-scoop-of-blancmange.english.md | 2 +- .../problem-227-the-chase.english.md | 2 +- .../problem-228-minkowski-sums.english.md | 2 +- ...r-representations-using-squares.english.md | 2 +- .../problem-23-non-abundant-sums.english.md | 8 +- .../problem-230-fibonacci-words.english.md | 2 +- ...sation-of-binomial-coefficients.english.md | 2 +- .../problem-232-the-race.english.md | 2 +- ...-233-lattice-points-on-a-circle.english.md | 2 +- ...oblem-234-semidivisible-numbers.english.md | 2 +- ...n-arithmetic-geometric-sequence.english.md | 2 +- .../problem-236-luxury-hampers.english.md | 4 +- ...-tours-on-a-4-x-n-playing-board.english.md | 2 +- ...roblem-238-infinite-string-tour.english.md | 2 +- ...m-239-twenty-two-foolish-primes.english.md | 2 +- ...m-24-lexicographic-permutations.english.md | 8 +- .../problem-240-top-dice.english.md | 2 +- ...roblem-241-perfection-quotients.english.md | 2 +- .../problem-242-odd-triplets.english.md | 2 +- .../problem-243-resilience.english.md | 2 +- .../problem-244-sliders.english.md | 2 +- .../problem-245-coresilience.english.md | 2 +- ...blem-246-tangents-to-an-ellipse.english.md | 2 +- ...m-247-squares-under-a-hyperbola.english.md | 2 +- ...lers-totient-function-equals-13.english.md | 2 +- .../problem-249-prime-subset-sums.english.md | 2 +- ...-25-1000-digit-fibonacci-number.english.md | 8 +- .../problem-250-250250.english.md | 2 +- .../problem-251-cardano-triplets.english.md | 2 +- .../problem-252-convex-holes.english.md | 2 +- .../problem-253-tidying-up.english.md | 2 +- ...em-254-sums-of-digit-factorials.english.md | 2 +- ...roblem-255-rounded-square-roots.english.md | 2 +- .../problem-256-tatami-free-rooms.english.md | 2 +- .../problem-257-angular-bisectors.english.md | 2 +- ...258-a-lagged-fibonacci-sequence.english.md | 2 +- .../problem-259-reachable-numbers.english.md | 2 +- .../problem-26-reciprocal-cycles.english.md | 8 +- .../problem-260-stone-game.english.md | 2 +- ...problem-261-pivotal-square-sums.english.md | 2 +- .../problem-262-mountain-range.english.md | 2 +- ...63-an-engineers-dream-come-true.english.md | 4 +- .../problem-264-triangle-centres.english.md | 2 +- .../problem-265-binary-circles.english.md | 2 +- .../problem-266-pseudo-square-root.english.md | 2 +- .../problem-267-billionaire.english.md | 2 +- ...nct-prime-factors-less-than-100.english.md | 2 +- ...-with-at-least-one-integer-root.english.md | 2 +- .../problem-27-quadratic-primes.english.md | 8 +- .../problem-270-cutting-squares.english.md | 2 +- ...roblem-271-modular-cubes-part-1.english.md | 2 +- ...roblem-272-modular-cubes-part-2.english.md | 2 +- .../problem-273-sum-of-squares.english.md | 2 +- ...em-274-divisibility-multipliers.english.md | 2 +- ...problem-275-balanced-sculptures.english.md | 2 +- ...problem-276-primitive-triangles.english.md | 2 +- ...277-a-modified-collatz-sequence.english.md | 2 +- ...near-combinations-of-semiprimes.english.md | 2 +- ...ral-sides-and-an-integral-angle.english.md | 2 +- ...blem-28-number-spiral-diagonals.english.md | 8 +- .../problem-280-ant-and-seeds.english.md | 2 +- .../problem-281-pizza-toppings.english.md | 2 +- ...blem-282-the-ackermann-function.english.md | 2 +- ...ea--perimeter-ratio-is-integral.english.md | 2 +- .../problem-284-steady-squares.english.md | 2 +- .../problem-285-pythagorean-odds.english.md | 2 +- ...oblem-286-scoring-probabilities.english.md | 2 +- ...-a-simple-compression-algorithm.english.md | 2 +- ...oblem-288-an-enormous-factorial.english.md | 2 +- .../problem-289-eulerian-cycles.english.md | 2 +- .../problem-29-distinct-powers.english.md | 8 +- .../problem-290-digital-signature.english.md | 2 +- .../problem-291-panaitopol-primes.english.md | 2 +- ...roblem-292-pythagorean-polygons.english.md | 2 +- ...em-293-pseudo-fortunate-numbers.english.md | 2 +- ...4-sum-of-digits---experience-23.english.md | 2 +- .../problem-295-lenticular-holes.english.md | 2 +- ...96-angular-bisector-and-tangent.english.md | 2 +- ...m-297-zeckendorf-representation.english.md | 2 +- .../problem-298-selective-amnesia.english.md | 2 +- ...lem-299-three-similar-triangles.english.md | 2 +- .../problem-3-largest-prime-factor.english.md | 12 +- .../problem-30-digit-n-powers.english.md | 8 +- .../problem-300-protein-folding.english.md | 2 +- .../project-euler/problem-301-nim.english.md | 2 +- ...lem-302-strong-achilles-numbers.english.md | 2 +- ...303-multiples-with-small-digits.english.md | 2 +- .../problem-304-primonacci.english.md | 2 +- .../problem-305-reflexive-position.english.md | 2 +- .../problem-306-paper-strip-game.english.md | 2 +- .../problem-307-chip-defects.english.md | 2 +- ...zing-prime-generating-automaton.english.md | 2 +- .../problem-309-integer-ladders.english.md | 2 +- .../problem-31-coin-sums.english.md | 8 +- .../problem-310-nim-square.english.md | 2 +- ...iclinic-integral-quadrilaterals.english.md | 2 +- ...yclic-paths-on-sierpiski-graphs.english.md | 2 +- .../problem-313-sliding-game.english.md | 2 +- ...oblem-314-the-mouse-on-the-moon.english.md | 2 +- ...problem-315-digital-root-clocks.english.md | 2 +- ...6-numbers-in-decimal-expansions.english.md | 2 +- .../problem-317-firecracker.english.md | 2 +- .../problem-318-2011-nines.english.md | 2 +- .../problem-319-bounded-sequences.english.md | 2 +- .../problem-32-pandigital-products.english.md | 6 +- ...als-divisible-by-a-huge-integer.english.md | 2 +- .../problem-321-swapping-counters.english.md | 2 +- ...al-coefficients-divisible-by-10.english.md | 2 +- ...r-operations-on-random-integers.english.md | 2 +- .../problem-324-building-a-tower.english.md | 2 +- .../problem-325-stone-game-ii.english.md | 2 +- .../problem-326-modulo-summations.english.md | 2 +- .../problem-327-rooms-of-doom.english.md | 2 +- .../problem-328-lowest-cost-search.english.md | 2 +- .../problem-329-prime-frog.english.md | 2 +- ...m-33-digit-cancelling-fractions.english.md | 2 +- .../problem-330-eulers-number.english.md | 4 +- .../problem-331-cross-flips.english.md | 2 +- ...problem-332-spherical-triangles.english.md | 2 +- .../problem-333-special-partitions.english.md | 2 +- .../problem-334-spilling-the-beans.english.md | 2 +- ...problem-335-gathering-the-beans.english.md | 2 +- ...roblem-336-maximix-arrangements.english.md | 2 +- ...337-totient-stairstep-sequences.english.md | 2 +- ...-cutting-rectangular-grid-paper.english.md | 2 +- .../problem-339-peredur-fab-efrawg.english.md | 2 +- .../problem-34-digit-factorials.english.md | 2 +- .../problem-340-crazy-function.english.md | 2 +- ...olombs-self-describing-sequence.english.md | 4 +- ...e-totient-of-a-square-is-a-cube.english.md | 2 +- ...roblem-343-fractional-sequences.english.md | 2 +- .../problem-344-silver-dollar-game.english.md | 2 +- .../problem-345-matrix-sum.english.md | 2 +- .../problem-346-strong-repunits.english.md | 2 +- ...integer-divisible-by-two-primes.english.md | 2 +- ...-348-sum-of-a-square-and-a-cube.english.md | 2 +- .../problem-349-langtons-ant.english.md | 4 +- .../problem-35-circular-primes.english.md | 12 +- ...greatest-and-the-greatest-least.english.md | 2 +- .../problem-351-hexagonal-orchards.english.md | 2 +- .../problem-352-blood-tests.english.md | 2 +- .../problem-353-risky-moon.english.md | 2 +- ...4-distances-in-a-bees-honeycomb.english.md | 4 +- ...blem-355-maximal-coprime-subset.english.md | 2 +- ...gest-roots-of-cubic-polynomials.english.md | 2 +- ...m-357-prime-generating-integers.english.md | 2 +- .../problem-358-cyclic-numbers.english.md | 2 +- .../problem-359-hilberts-new-hotel.english.md | 4 +- ...blem-36-double-base-palindromes.english.md | 8 +- .../problem-360-scary-sphere.english.md | 2 +- ...sequence-of-thue-morse-sequence.english.md | 2 +- .../problem-362-squarefree-factors.english.md | 2 +- .../problem-363-bzier-curves.english.md | 2 +- ...roblem-364-comfortable-distance.english.md | 2 +- ...365-a-huge-binomial-coefficient.english.md | 2 +- .../problem-366-stone-game-iii.english.md | 2 +- .../problem-367-bozo-sort.english.md | 2 +- ...oblem-368-a-kempner-like-series.english.md | 2 +- .../problem-369-badugi.english.md | 2 +- .../problem-37-truncatable-primes.english.md | 8 +- ...problem-370-geometric-triangles.english.md | 2 +- .../problem-371-licence-plates.english.md | 2 +- .../problem-372-pencils-of-rays.english.md | 2 +- ...oblem-373-circumscribed-circles.english.md | 2 +- ...ximum-integer-partition-product.english.md | 2 +- ...lem-375-minimum-of-subsequences.english.md | 2 +- ...-376-nontransitive-sets-of-dice.english.md | 2 +- ...377-sum-of-digits-experience-13.english.md | 2 +- .../problem-378-triangle-triples.english.md | 2 +- ...379-least-common-multiple-count.english.md | 2 +- ...problem-38-pandigital-multiples.english.md | 2 +- .../problem-380-amazing-mazes.english.md | 2 +- .../problem-381-prime-k-factorial.english.md | 2 +- ...problem-382-generating-polygons.english.md | 2 +- ...y-comparison-between-factorials.english.md | 2 +- ...blem-384-rudin-shapiro-sequence.english.md | 2 +- ...m-385-ellipses-inside-triangles.english.md | 2 +- ...-maximum-length-of-an-antichain.english.md | 2 +- .../problem-387-harshad-numbers.english.md | 2 +- .../problem-388-distinct-lines.english.md | 2 +- .../problem-389-platonic-dice.english.md | 2 +- ...blem-39-integer-right-triangles.english.md | 8 +- ...ational-sides-and-integral-area.english.md | 2 +- .../problem-391-hopping-game.english.md | 2 +- ...roblem-392-enmeshed-unit-circle.english.md | 2 +- .../problem-393-migrating-ants.english.md | 2 +- .../problem-394-eating-pie.english.md | 2 +- .../problem-395-pythagorean-tree.english.md | 2 +- ...lem-396-weak-goodstein-sequence.english.md | 2 +- ...roblem-397-triangle-on-parabola.english.md | 2 +- .../problem-398-cutting-rope.english.md | 2 +- ...99-squarefree-fibonacci-numbers.english.md | 4 +- ...em-4-largest-palindrome-product.english.md | 4 +- ...oblem-40-champernownes-constant.english.md | 10 +- ...problem-400-fibonacci-tree-game.english.md | 2 +- ...-401-sum-of-squares-of-divisors.english.md | 2 +- ...-402-integer-valued-polynomials.english.md | 2 +- ...s-enclosed-by-parabola-and-line.english.md | 2 +- ...problem-404-crisscross-ellipses.english.md | 2 +- ...roblem-405-a-rectangular-tiling.english.md | 2 +- .../problem-406-guessing-game.english.md | 2 +- .../problem-407-idempotents.english.md | 2 +- ...admissible-paths-through-a-grid.english.md | 2 +- .../problem-409-nim-extreme.english.md | 2 +- .../problem-41-pandigital-prime.english.md | 6 +- ...lem-410-circle-and-tangent-line.english.md | 2 +- .../problem-411-uphill-paths.english.md | 2 +- .../problem-412-gnomon-numbering.english.md | 2 +- .../problem-413-one-child-numbers.english.md | 2 +- .../problem-414-kaprekar-constant.english.md | 2 +- .../problem-415-titanic-sets.english.md | 2 +- .../problem-416-a-frogs-trip.english.md | 4 +- ...roblem-417-reciprocal-cycles-ii.english.md | 2 +- ...oblem-418-factorisation-triples.english.md | 2 +- ...oblem-419-look-and-say-sequence.english.md | 4 +- ...oblem-42-coded-triangle-numbers.english.md | 8 +- ...420-2x2-positive-integer-matrix.english.md | 2 +- ...oblem-421-prime-factors-of-n151.english.md | 2 +- ...quence-of-points-on-a-hyperbola.english.md | 2 +- ...blem-423-consecutive-die-throws.english.md | 2 +- .../problem-424-kakuro.english.md | 2 +- .../problem-425-prime-connection.english.md | 2 +- .../problem-426-box-ball-system.english.md | 2 +- .../problem-427-n-sequences.english.md | 2 +- ...problem-428-necklace-of-circles.english.md | 2 +- ...-of-squares-of-unitary-divisors.english.md | 2 +- ...blem-43-sub-string-divisibility.english.md | 4 +- .../problem-430-range-flips.english.md | 2 +- .../problem-431-square-space-silo.english.md | 2 +- .../problem-432-totient-sum.english.md | 2 +- ...-433-steps-in-euclids-algorithm.english.md | 4 +- .../problem-434-rigid-graphs.english.md | 2 +- ...olynomials-of-fibonacci-numbers.english.md | 2 +- .../problem-436-unfair-wager.english.md | 2 +- ...m-437-fibonacci-primitive-roots.english.md | 2 +- ...-polynomial-equations-solutions.english.md | 4 +- ...blem-439-sum-of-sum-of-divisors.english.md | 2 +- .../problem-44-pentagon-numbers.english.md | 2 +- .../problem-440-gcd-and-tiling.english.md | 2 +- ...se-summation-of-coprime-couples.english.md | 2 +- ...roblem-442-eleven-free-integers.english.md | 2 +- .../problem-443-gcd-sequence.english.md | 2 +- ...blem-444-the-roundtable-lottery.english.md | 2 +- .../problem-445-retractions-a.english.md | 2 +- .../problem-446-retractions-b.english.md | 2 +- .../problem-447-retractions-c.english.md | 2 +- ...8-average-least-common-multiple.english.md | 2 +- ...lem-449-chocolate-covered-candy.english.md | 2 +- ...ngular-pentagonal-and-hexagonal.english.md | 2 +- ...-hypocycloid-and-lattice-points.english.md | 2 +- .../problem-451-modular-inverses.english.md | 2 +- .../problem-452-long-products.english.md | 2 +- ...blem-453-lattice-quadrilaterals.english.md | 2 +- ...454-diophantine-reciprocals-iii.english.md | 2 +- ...455-powers-with-trailing-digits.english.md | 2 +- ...angles-containing-the-origin-ii.english.md | 2 +- ...al-modulo-the-square-of-a-prime.english.md | 2 +- ...lem-458-permutations-of-project.english.md | 2 +- .../problem-459-flipping-game.english.md | 2 +- ...m-46-goldbachs-other-conjecture.english.md | 4 +- .../problem-460-an-ant-on-the-move.english.md | 2 +- .../problem-461-almost-pi.english.md | 2 +- ...permutation-of-3-smooth-numbers.english.md | 2 +- ...463-a-weird-recurrence-relation.english.md | 2 +- ...64-mbius-function-and-intervals.english.md | 2 +- .../problem-465-polar-polygons.english.md | 2 +- ...terms-in-a-multiplication-table.english.md | 2 +- .../problem-467-superinteger.english.md | 2 +- ...visors-of-binomial-coefficients.english.md | 2 +- .../problem-469-empty-chairs.english.md | 2 +- ...blem-47-distinct-primes-factors.english.md | 12 +- .../problem-470-super-ramvok.english.md | 2 +- ...1-triangle-inscribed-in-ellipse.english.md | 2 +- ...lem-472-comfortable-distance-ii.english.md | 2 +- ...roblem-473-phigital-number-base.english.md | 2 +- ...lem-474-last-digits-of-divisors.english.md | 2 +- .../problem-475-music-festival.english.md | 2 +- .../problem-476-circle-packing-ii.english.md | 2 +- ...roblem-477-number-sequence-game.english.md | 2 +- .../problem-478-mixtures.english.md | 2 +- .../problem-479-roots-on-the-rise.english.md | 2 +- .../problem-48-self-powers.english.md | 16 +-- .../problem-480-the-last-question.english.md | 2 +- .../problem-49-prime-permutations.english.md | 2 +- .../problem-5-smallest-multiple.english.md | 10 +- ...roblem-50-consecutive-prime-sum.english.md | 4 +- ...lem-51-prime-digit-replacements.english.md | 2 +- .../problem-52-permuted-multiples.english.md | 4 +- ...blem-53-combinatoric-selections.english.md | 8 +- .../problem-54-poker-hands.english.md | 2 +- .../problem-55-lychrel-numbers.english.md | 10 +- .../problem-56-powerful-digit-sum.english.md | 2 +- ...blem-57-square-root-convergents.english.md | 2 +- .../problem-58-spiral-primes.english.md | 2 +- .../problem-59-xor-decryption.english.md | 2 +- ...problem-6-sum-square-difference.english.md | 6 +- .../problem-60-prime-pair-sets.english.md | 2 +- ...em-61-cyclical-figurate-numbers.english.md | 2 +- .../problem-62-cubic-permutations.english.md | 2 +- ...roblem-63-powerful-digit-counts.english.md | 2 +- ...blem-64-odd-period-square-roots.english.md | 2 +- .../problem-65-convergents-of-e.english.md | 2 +- ...problem-66-diophantine-equation.english.md | 2 +- .../problem-67-maximum-path-sum-ii.english.md | 2 +- .../problem-68-magic-5-gon-ring.english.md | 2 +- .../problem-69-totient-maximum.english.md | 2 +- .../problem-7-10001st-prime.english.md | 12 +- .../problem-70-totient-permutation.english.md | 2 +- .../problem-71-ordered-fractions.english.md | 2 +- .../problem-72-counting-fractions.english.md | 2 +- ...3-counting-fractions-in-a-range.english.md | 2 +- ...oblem-74-digit-factorial-chains.english.md | 2 +- ...ingular-integer-right-triangles.english.md | 2 +- .../problem-76-counting-summations.english.md | 2 +- .../problem-77-prime-summations.english.md | 2 +- .../problem-78-coin-partitions.english.md | 2 +- .../problem-79-passcode-derivation.english.md | 2 +- ...m-8-largest-product-in-a-series.english.md | 4 +- ...0-square-root-digital-expansion.english.md | 2 +- .../problem-81-path-sum-two-ways.english.md | 2 +- .../problem-82-path-sum-three-ways.english.md | 2 +- .../problem-83-path-sum-four-ways.english.md | 2 +- .../problem-84-monopoly-odds.english.md | 2 +- .../problem-85-counting-rectangles.english.md | 2 +- .../problem-86-cuboid-route.english.md | 2 +- .../problem-87-prime-power-triples.english.md | 2 +- .../problem-88-product-sum-numbers.english.md | 2 +- .../problem-89-roman-numerals.english.md | 2 +- ...m-9-special-pythagorean-triplet.english.md | 6 +- .../problem-90-cube-digit-pairs.english.md | 2 +- ...angles-with-integer-coordinates.english.md | 2 +- .../problem-92-square-digit-chains.english.md | 2 +- ...oblem-93-arithmetic-expressions.english.md | 2 +- ...94-almost-equilateral-triangles.english.md | 2 +- .../problem-95-amicable-chains.english.md | 2 +- .../problem-96-su-doku.english.md | 2 +- ...lem-97-large-non-mersenne-prime.english.md | 2 +- .../problem-98-anagramic-squares.english.md | 2 +- .../problem-99-largest-exponential.english.md | 2 +- .../rosetta-code/100-doors.english.md | 8 +- .../rosetta-code/24-game.english.md | 29 +++- ...illion-names-of-god-the-integer.english.md | 14 +- .../rosetta-code/abc-problem.english.md | 18 +-- ...-perfect-number-classifications.english.md | 12 +- .../accumulator-factory.english.md | 16 ++- .../ackermann-function.english.md | 18 +-- .../rosetta-code/align-columns.english.md | 59 ++++++-- .../rosetta-code/amicable-pairs.english.md | 31 +++-- .../rosetta-code/averages-mode.english.md | 13 +- .../averages-pythagorean-means.english.md | 17 ++- .../averages-root-mean-square.english.md | 9 +- .../rosetta-code/babbage-problem.english.md | 12 +- .../rosetta-code/balanced-brackets.english.md | 97 ++++++++------ ...given-radius-through-two-points.english.md | 37 +++-- .../closest-pair-problem.english.md | 112 +++++++++++++++- .../rosetta-code/combinations.english.md | 16 ++- .../rosetta-code/comma-quibbling.english.md | 27 ++-- .../compare-a-list-of-strings.english.md | 46 +++---- ...rt-seconds-to-compound-duration.english.md | 15 ++- ...ount-occurrences-of-a-substring.english.md | 18 +-- .../rosetta-code/count-the-coins.english.md | 4 +- .../rosetta-code/cramers-rule.english.md | 27 +++- .../rosetta-code/date-format.english.md | 20 ++- .../rosetta-code/date-manipulation.english.md | 34 ++--- .../rosetta-code/day-of-the-week.english.md | 17 +-- .../deal-cards-for-freecell.english.md | 34 +++-- .../rosetta-code/deepcopy.english.md | 24 ++-- .../define-a-primitive-data-type.english.md | 30 ++--- .../department-numbers.english.md | 34 +++-- .../rosetta-code/discordian-date.english.md | 34 ++--- .../element-wise-operations.english.md | 30 ++--- .../rosetta-code/emirp-primes.english.md | 16 +-- .../rosetta-code/entropy.english.md | 14 +- .../rosetta-code/equilibrium-index.english.md | 36 +++-- .../ethiopian-multiplication.english.md | 22 +-- .../rosetta-code/euler-method.english.md | 18 +-- .../evaluate-binomial-coefficients.english.md | 22 +-- .../execute-a-markov-algorithm.english.md | 22 +-- .../rosetta-code/execute-brain.english.md | 16 +-- .../extensible-prime-generator.english.md | 10 +- .../rosetta-code/factorial.english.md | 14 +- .../factors-of-a-mersenne-number.english.md | 10 +- .../factors-of-an-integer.english.md | 16 +-- .../rosetta-code/farey-sequence.english.md | 16 +-- ...bonacci-n-step-number-sequences.english.md | 38 +++--- .../fibonacci-sequence.english.md | 10 +- .../rosetta-code/fibonacci-word.english.md | 16 ++- .../rosetta-code/fractran.english.md | 36 ++--- .../rosetta-code/gamma-function.english.md | 36 ++--- .../gaussian-elimination.english.md | 36 ++--- .../rosetta-code/general-fizzbuzz.english.md | 48 +++---- ...erate-lower-case-ascii-alphabet.english.md | 32 +++-- .../generatorexponential.english.md | 14 +- .../rosetta-code/gray-code.english.md | 16 +-- .../greatest-common-divisor.english.md | 16 +-- .../greatest-subsequential-sum.english.md | 40 +++--- .../hailstone-sequence.english.md | 8 +- .../rosetta-code/happy-numbers.english.md | 28 ++-- .../harshad-or-niven-series.english.md | 9 +- .../hash-from-two-arrays.english.md | 32 +++-- .../rosetta-code/hash-join.english.md | 34 ++++- .../heronian-triangles.english.md | 27 ++-- ...stadter-figure-figure-sequences.english.md | 28 ++-- .../hofstadter-q-sequence.english.md | 15 ++- .../i-before-e-except-after-c.english.md | 16 +-- .../rosetta-code/iban.english.md | 40 +++--- .../rosetta-code/identity-matrix.english.md | 25 ++-- .../iterated-digits-squaring.english.md | 16 +-- .../rosetta-code/jaro-distance.english.md | 36 ++--- .../rosetta-code/jortsort.english.md | 40 +++--- .../rosetta-code/josephus-problem.english.md | 14 +- .../rosetta-code/s-expressions.english.md | 16 ++- ...s-coconuts-and-a-monkey-problem.english.md | 8 +- .../rosetta-code/sedols.english.md | 10 +- .../rosetta-code/taxicab-numbers.english.md | 27 ++-- ...tokenize-a-string-with-escaping.english.md | 27 ++-- .../top-rank-per-group.english.md | 49 +++++-- .../rosetta-code/topological-sort.english.md | 52 +++++++- .../rosetta-code/towers-of-hanoi.english.md | 23 ++-- .../vector-cross-product.english.md | 13 +- .../vector-dot-product.english.md | 18 +-- .../rosetta-code/word-wrap.english.md | 30 +++-- .../rosetta-code/y-combinator.english.md | 14 +- ...eckendorf-number-representation.english.md | 20 ++- .../zhang-suen-thinning-algorithm.english.md | 53 +++++++- .../rosetta-code/zig-zag-matrix.english.md | 30 +++-- .../build-a-camper-leaderboard.english.md | 2 +- ...-roguelike-dungeon-crawler-game.english.md | 2 +- .../build-the-game-of-life.english.md | 2 +- .../map-data-across-the-globe.english.md | 2 +- .../p2p-video-chat-application.english.md | 14 +- ...ity-with-a-force-directed-graph.english.md | 2 +- 1339 files changed, 6499 insertions(+), 5185 deletions(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md index 56583fb5e5f721..2812960de42303 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-a-text-alternative-to-images-for-visually-impaired-accessibility.english.md @@ -24,8 +24,8 @@ Camper Cat happens to be both a coding ninja and an actual ninja, and is buildin ```yml tests: - - text: 'Your img tag should have an alt attribute, and it should not be empty.' - testString: 'assert($("img").attr("alt"), "Your img tag should have an alt attribute, and it should not be empty.");' + - text: Your img tag should have an alt attribute, and it should not be empty. + testString: assert($('img').attr('alt'), 'Your img tag should have an alt attribute, and it should not be empty.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.english.md index 937db0dab84ec8..cfacf91227a1c1 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/add-an-accessible-date-picker.english.md @@ -25,13 +25,13 @@ Camper Cat is setting up a Mortal Kombat tournament and wants to ask his competi ```yml tests: - text: Your code should add one input tag for the date selector field. - testString: 'assert($("input").length == 2, "Your code should add one input tag for the date selector field.");' + testString: assert($('input').length == 2, 'Your code should add one input tag for the date selector field.'); - text: Your input tag should have a type attribute with a value of date. - testString: 'assert($("input").attr("type") == "date", "Your input tag should have a type attribute with a value of date.");' + testString: assert($('input').attr('type') == 'date', 'Your input tag should have a type attribute with a value of date.'); - text: Your input tag should have an id attribute with a value of pickdate. - testString: 'assert($("input").attr("id") == "pickdate", "Your input tag should have an id attribute with a value of pickdate.");' + testString: assert($('input').attr('id') == 'pickdate', 'Your input tag should have an id attribute with a value of pickdate.'); - text: Your input tag should have a name attribute with a value of date. - testString: 'assert($("input").attr("name") == "date", "Your input tag should have a name attribute with a value of date.");' + testString: assert($('input').attr('name') == 'date', 'Your input tag should have a name attribute with a value of date.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.english.md index 555177dcdccaef..572bece89a8808 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-carefully-choosing-colors-that-convey-information.english.md @@ -23,7 +23,7 @@ Camper Cat is testing different styles for an important button, but the yellow ( ```yml tests: - text: Your code should change the text color for the button to the dark blue. - testString: 'assert($("button").css("color") == "rgb(0, 51, 102)", "Your code should change the text color for the button to the dark blue.");' + testString: assert($('button').css('color') == 'rgb(0, 51, 102)', 'Your code should change the text color for the button to the dark blue.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.english.md index b605778eaa2f69..137a9150d14b5c 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.english.md @@ -24,9 +24,9 @@ Camper Cat is experimenting with using color for his blog text and background, b ```yml tests: - text: Your code should only change the lightness value for the text color property to a value of 15%. - testString: 'assert(code.match(/color:\s*?hsl\(0,\s*?55%,\s*?15%\)/gi), "Your code should only change the lightness value for the text color property to a value of 15%.");' + testString: assert(code.match(/color:\s*?hsl\(0,\s*?55%,\s*?15%\)/gi), 'Your code should only change the lightness value for the text color property to a value of 15%.'); - text: Your code should only change the lightness value for the background-color property to a value of 55%. - testString: 'assert(code.match(/background-color:\s*?hsl\(120,\s*?25%,\s*?55%\)/gi), "Your code should only change the lightness value for the background-color property to a value of 55%.");' + testString: assert(code.match(/background-color:\s*?hsl\(120,\s*?25%,\s*?55%\)/gi), 'Your code should only change the lightness value for the background-color property to a value of 55%.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md index e5a3f8a07cb9e9..1296afb493c3e8 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/give-links-meaning-by-using-descriptive-link-text.english.md @@ -22,9 +22,9 @@ The link text that Camper Cat is using is not very descriptive without the surro ```yml tests: - text: Your code should move the anchor a tags from around the words "Click here" to wrap around the words "information about batteries". - testString: 'assert($("a").text().match(/^(information about batteries)$/g), "Your code should move the anchor a tags from around the words "Click here" to wrap around the words "information about batteries".");' + testString: assert($('a').text().match(/^(information about batteries)$/g), 'Your code should move the anchor a tags from around the words "Click here" to wrap around the words "information about batteries".'); - text: Make sure your a element has a closing tag. - testString: 'assert(code.match(/<\/a>/g) && code.match(/<\/a>/g).length === code.match(//g).length, "Make sure your a element has a closing tag.");' + testString: assert(code.match(/<\/a>/g) && code.match(/<\/a>/g).length === code.match(//g).length, 'Make sure your a element has a closing tag.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.english.md index a234e6ff5c3ae2..5479dd1ef8b8bf 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.english.md @@ -26,19 +26,19 @@ Time to take a break from Camper Cat and meet fellow camper Zersiax (@zersiax), ```yml tests: - text: Your code should have one audio tag. - testString: 'assert($("audio").length === 1, "Your code should have one audio tag.");' + testString: assert($('audio').length === 1, 'Your code should have one audio tag.'); - text: Make sure your audio element has a closing tag. - testString: 'assert(code.match(/<\/audio>/g).length === 1 && code.match(/[\s\S]*<\/audio>/g), "Make sure your audio element has a closing tag.");' + testString: assert(code.match(/<\/audio>/g).length === 1 && code.match(/[\s\S]*<\/audio>/g), 'Make sure your audio element has a closing tag.'); - text: The audio tag should have the controls attribute. - testString: 'assert($("audio").attr("controls"), "The audio tag should have the controls attribute.");' + testString: assert($('audio').attr('controls'), 'The audio tag should have the controls attribute.'); - text: Your code should have one source tag. - testString: 'assert($("source").length === 1, "Your code should have one source tag.");' + testString: assert($('source').length === 1, 'Your code should have one source tag.'); - text: Your source tag should be inside the audio tags. - testString: 'assert($("audio").children("source").length === 1, "Your source tag should be inside the audio tags.");' + testString: assert($('audio').children('source').length === 1, 'Your source tag should be inside the audio tags.'); - text: The value for the src attribute on the source tag should match the link in the instructions exactly. - testString: 'assert($("source").attr("src") === "https://s3.amazonaws.com/freecodecamp/screen-reader.mp3", "The value for the src attribute on the source tag should match the link in the instructions exactly.");' + testString: assert($('source').attr('src') === 'https://s3.amazonaws.com/freecodecamp/screen-reader.mp3', 'The value for the src attribute on the source tag should match the link in the instructions exactly.'); - text: Your code should include a type attribute on the source tag with a value of audio/mpeg. - testString: 'assert($("source").attr("type") === "audio/mpeg", "Your code should include a type attribute on the source tag with a value of audio/mpeg.");' + testString: assert($('source').attr('type') === 'audio/mpeg', 'Your code should include a type attribute on the source tag with a value of audio/mpeg.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.english.md index 08200b9341a642..cc318cdec61dd0 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-chart-accessibility-with-the-figure-element.english.md @@ -24,17 +24,17 @@ Camper Cat is hard at work creating a stacked bar chart showing the amount of ti ```yml tests: - text: Your code should have one figure tag. - testString: 'assert($("figure").length == 1, "Your code should have one figure tag.");' + testString: assert($('figure').length == 1, 'Your code should have one figure tag.'); - text: Your code should have one figcaption tag. - testString: 'assert($("figcaption").length == 1, "Your code should have one figcaption tag.");' + testString: assert($('figcaption').length == 1, 'Your code should have one figcaption tag.'); - text: Your code should not have any div tags. - testString: 'assert($("div").length == 0, "Your code should not have any div tags.");' + testString: assert($('div').length == 0, 'Your code should not have any div tags.'); - text: Your code should not have any p tags. - testString: 'assert($("p").length == 0, "Your code should not have any p tags.");' + testString: assert($('p').length == 0, 'Your code should not have any p tags.'); - text: The figcaption should be a child of the figure tag. - testString: 'assert($("figure").children("figcaption").length == 1, "The figcaption should be a child of the figure tag.");' + testString: assert($('figure').children('figcaption').length == 1, 'The figcaption should be a child of the figure tag.'); - text: Make sure your figure element has a closing tag. - testString: 'assert(code.match(/<\/figure>/g) && code.match(/<\/figure>/g).length === code.match(/
/g).length, "Make sure your figure element has a closing tag.");' + testString: assert(code.match(/<\/figure>/g) && code.match(/<\/figure>/g).length === code.match(/
/g).length, 'Make sure your figure element has a closing tag.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.english.md index 747b79f38247db..eb26834c02a966 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-form-field-accessibility-with-the-label-element.english.md @@ -25,9 +25,9 @@ Camper Cat expects a lot of interest in his thoughtful blog posts, and wants to ```yml tests: - text: Your code should have a for attribute on the label tag that is not empty. - testString: 'assert($("label").attr("for"), "Your code should have a for attribute on the label tag that is not empty.");' + testString: assert($('label').attr('for'), 'Your code should have a for attribute on the label tag that is not empty.'); - text: Your for attribute value should match the id value on the email input. - testString: 'assert($("label").attr("for") == "email", "Your for attribute value should match the id value on the email input.");' + testString: assert($('label').attr('for') == 'email', 'Your for attribute value should match the id value on the email input.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.english.md index 959d21a11cecde..d980d37df5dce2 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/improve-readability-with-high-contrast-text.english.md @@ -22,9 +22,9 @@ Camper Cat's choice of light gray text on a white background for his recent blog ```yml tests: - text: Your code should change the text color for the body to the darker gray. - testString: 'assert($("body").css("color") == "rgb(99, 99, 99)", "Your code should change the text color for the body to the darker gray.");' + testString: assert($('body').css('color') == 'rgb(99, 99, 99)', 'Your code should change the text color for the body to the darker gray.'); - text: Your code should not change the background-color for the body. - testString: 'assert($("body").css("background-color") == "rgb(255, 255, 255)", "Your code should not change the background-color for the body.");' + testString: assert($('body').css('background-color') == 'rgb(255, 255, 255)', 'Your code should not change the background-color for the body.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.english.md index 5251438082590a..07591d8c871097 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/jump-straight-to-the-content-using-the-main-element.english.md @@ -24,9 +24,9 @@ Camper Cat has some big ideas for his ninja weapons page. Help him set up his ma ```yml tests: - text: Your code should have one main tag. - testString: 'assert($("main").length == 1, "Your code should have one main tag.");' + testString: assert($('main').length == 1, 'Your code should have one main tag.'); - text: The main tags should be between the closing header tag and the opening footer tag. - testString: 'assert(code.match(/<\/header>\s*?
\s*?<\/main>/gi), "The main tags should be between the closing header tag and the opening footer tag.");' + testString: assert(code.match(/<\/header>\s*?
\s*?<\/main>/gi), 'The main tags should be between the closing header tag and the opening footer tag.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md index 173de4642d7560..f1b52a8d3401d7 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/know-when-alt-text-should-be-left-blank.english.md @@ -25,9 +25,9 @@ Camper Cat has coded a skeleton page for the blog part of his website. He's plan ```yml tests: - text: Your img tag should have an alt attribute. - testString: 'assert(!($("img").attr("alt") == undefined), "Your img tag should have an alt attribute.");' + testString: assert(!($('img').attr('alt') == undefined), 'Your img tag should have an alt attribute.'); - text: The alt attribute should be set to an empty string. - testString: 'assert($("img").attr("alt") == "", "The alt attribute should be set to an empty string.");' + testString: assert($('img').attr('alt') == '', 'The alt attribute should be set to an empty string.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.english.md index 8f67b0c4c7d573..624a188e02acdf 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-elements-only-visible-to-a-screen-reader-by-using-custom-css.english.md @@ -29,13 +29,13 @@ Camper Cat created a really cool stacked bar chart for his training page, and pu ```yml tests: - text: Your code should set the position property of the sr-only class to a value of absolute. - testString: 'assert($(".sr-only").css("position") == "absolute", "Your code should set the position property of the sr-only class to a value of absolute.");' + testString: assert($('.sr-only').css('position') == 'absolute', 'Your code should set the position property of the sr-only class to a value of absolute.'); - text: Your code should set the left property of the sr-only class to a value of -10000px. - testString: 'assert($(".sr-only").css("left") == "-10000px", "Your code should set the left property of the sr-only class to a value of -10000px.");' + testString: assert($('.sr-only').css('left') == '-10000px', 'Your code should set the left property of the sr-only class to a value of -10000px.'); - text: Your code should set the width property of the sr-only class to a value of 1 pixel. - testString: 'assert(code.match(/width:\s*?1px/gi), "Your code should set the width property of the sr-only class to a value of 1 pixel.");' + testString: assert(code.match(/width:\s*?1px/gi), 'Your code should set the width property of the sr-only class to a value of 1 pixel.'); - text: Your code should set the height property of the sr-only class to a value of 1 pixel. - testString: 'assert(code.match(/height:\s*?1px/gi), "Your code should set the height property of the sr-only class to a value of 1 pixel.");' + testString: assert(code.match(/height:\s*?1px/gi), 'Your code should set the height property of the sr-only class to a value of 1 pixel.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-links-navigatable-with-html-access-keys.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-links-navigatable-with-html-access-keys.english.md index 120cda2cea2a63..6dbf310a289d95 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-links-navigatable-with-html-access-keys.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-links-navigatable-with-html-access-keys.english.md @@ -24,13 +24,13 @@ Camper Cat wants the links around the two blog article titles to have keyboard s ```yml tests: - text: Your code should add an accesskey attribute to the a tag with the id of "first". - testString: 'assert($("#first").attr("accesskey"), "Your code should add an accesskey attribute to the a tag with the id of "first".");' + testString: assert($('#first').attr('accesskey'), 'Your code should add an accesskey attribute to the a tag with the id of "first".'); - text: Your code should add an accesskey attribute to the a tag with the id of "second". - testString: 'assert($("#second").attr("accesskey"), "Your code should add an accesskey attribute to the a tag with the id of "second".");' + testString: assert($('#second').attr('accesskey'), 'Your code should add an accesskey attribute to the a tag with the id of "second".'); - text: Your code should set the accesskey attribute on the a tag with the id of "first" to "g". Note that case matters. - testString: 'assert($("#first").attr("accesskey") == "g", "Your code should set the accesskey attribute on the a tag with the id of "first" to "g". Note that case matters.");' + testString: assert($('#first').attr('accesskey') == 'g', 'Your code should set the accesskey attribute on the a tag with the id of "first" to "g". Note that case matters.'); - text: Your code should set the accesskey attribute on the a tag with the id of "second" to "c". Note that case matters. - testString: 'assert($("#second").attr("accesskey") == "c", "Your code should set the accesskey attribute on the a tag with the id of "second" to "c". Note that case matters.");' + testString: assert($('#second').attr('accesskey') == 'c', 'Your code should set the accesskey attribute on the a tag with the id of "second" to "c". Note that case matters.'); ``` diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.english.md index 48cdc6d434630b..fd4548762d2773 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/make-screen-reader-navigation-easier-with-the-footer-landmark.english.md @@ -21,11 +21,11 @@ Camper Cat's training page is making good progress. Change the div ```yml tests: - text: Your code should have one footer tag. - testString: 'assert($("footer").length == 1, "Your code should have one footer tag.");' + testString: assert($('footer').length == 1, 'Your code should have one footer tag.'); - text: Your code should not have any div tags. - testString: 'assert($("div").length == 0, "Your code should not have any div tags.");' + testString: assert($('div').length == 0, 'Your code should not have any div tags.'); - text: Your code should have an opening and closing footer tag. - testString: 'assert(code.match(/