* Use JQuery to solve Catastrophic Backtracking with regex
* fix: improve regex for last test
* fix: improved the other tests with regex
* fix: change regex to allow spaces
Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
* changes the regex of 3rd textString
I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.
* Changed the Regex of 3rd textString
I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.
* Changed the Regex of 3rd textString
I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.
* Changed the Regex of 3rd textString
I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.
* Chamged the Regex of 3rd textString
I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.
* Changed the Regex of 3rd textString
I changes the regex of 3rd textString so that it can accept h2 as a selector instead of class.
* fix: regex tests and instructions
* Update curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
* fix: add suggested change
* revert non-english changes
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <2397860h@student.gla.ac.uk>
* fix: use regex to capture font-size of h6 element, as minimum font-size of browsers may influence outcome
* fix: add suggested changes
Co-authored-by: Ashraf Nazar <ashraf.caspian@gmail.com>
* fix(Curriculum): make sure the nested input element in the form is the existing element given in the editor
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/create-a-form-element.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: use backticks to avoid linting error
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
* fix: strip-comments-from-css
* fix: added challenge referenced in issue
* fix: added call to function removeCssComments
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Related to PR #38040
This PR is an attempt to consolidate/remove as many comments in the challenge seed code in the Responsive Web Design certification challenges, to be able to create a small translation lookup object for translating the English comments to other languages.
This challenge requests setting the justify-content attribute to one of the possible values shown in the previous challenge. One of these values - space-evenly - doesn't actually work (at least for the English version).
In this commit I fix the space-evenly issues to some extent.
I cannot tick the box saying that all files changed are in the same world language. However, the changes made should be understandable in all languages.
There still is more to be done for languages other than English, like adding to the test text for Arabic, Portuguese, and Spanish, and adding descriptions for space-evenly in the previous challenge.
* fix: broken Read-search-ask link now point to correct url
* fix: changed link to original forum link with more views
* fix: changed http links to correct version
* fix: link in help modal