-
-
Notifications
You must be signed in to change notification settings - Fork 35.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(curriculum): changed challenge test text to use the word should for Responsive Web Design #36860
fix(curriculum): changed challenge test text to use the word should for Responsive Web Design #36860
Conversation
Messages like "Your code has an h1 element" are clearly awful, since they imply the opposite of what is actually required. I'm absolutely in favour of changing those. Going from "Make sure your CSS rule is properly formatted with both opening and closing curly brackets" to "Your CSS rule should be properly formatted with both opening and closing curly brackets" seems, to me, to be a less critical change. Both convey what actions need to be taken. To be clear: I think it's an improvement, but I'd accept both versions. So, my opinion is that changing the first type is definitely a worthy cause and changing the second type is still worth doing, but of lower priority. |
Yea, I like them better how you suggested @RandellDawson - making them consistent throughout all of the challenges and more understandable would speed things up for users I think - I do recall having to read some of the test text a couple times when I was going through some of the lessons to figure it out. And it sounds like it's something you want to do, so I would say go for it. |
I agree with what Oliver has to say |
b4504d3
to
6f2e994
Compare
6f2e994
to
226b584
Compare
226b584
to
c8c96ce
Compare
@ojeytonwilliams , @moT01, @thecodingaviator This PR is ready for review. Because there are so many challenge files which will ultimately need to be reviewed, this PR is only for the |
...plied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element.english.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a few typos and things that didn't make sense. Other than that, LGTM
...lish/01-responsive-web-design/basic-css/attach-a-fallback-value-to-a-css-variable.english.md
Outdated
Show resolved
Hide resolved
...lish/01-responsive-web-design/basic-css/attach-a-fallback-value-to-a-css-variable.english.md
Outdated
Show resolved
Hide resolved
...nglish/01-responsive-web-design/basic-css/use-an-id-attribute-to-style-an-element.english.md
Outdated
Show resolved
Hide resolved
...1-responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field.english.md
Outdated
Show resolved
Hide resolved
...challenges/english/01-responsive-web-design/basic-html-and-html5/comment-out-html.english.md
Outdated
Show resolved
Hide resolved
...challenges/english/01-responsive-web-design/basic-html-and-html5/comment-out-html.english.md
Outdated
Show resolved
Hide resolved
...challenges/english/01-responsive-web-design/basic-html-and-html5/comment-out-html.english.md
Outdated
Show resolved
Hide resolved
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
@moT01 Thanks for the review. Sorry about the typos and strange wording I used on some of them. I have committed all of your suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 LGTM 🎉
...glish/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.english.md
Outdated
Show resolved
Hide resolved
Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
@thecodingaviator I committed your suggested change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@RandellDawson do you want to wait for Kris' and Oliver's reviews too? |
@thecodingaviator I think two reviewers is enough. I tagged the others just to get attention to the PR. |
Thank you for your contribution to the page! 👍 |
Sorry for being late to this. I went through it anyway, but couldn't find any problems. Looks great! |
…or Responsive Web Design (freeCodeCamp#36860) * fix: changed challenge test text to use should * fix: changed have to be used in Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: reworded test verbiage Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: improved test verbiage Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: improved test verbiage Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: corrected typo Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: corrected typo Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: changed have the to be used in Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: corrected verbiage Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
Update index.md
)master
branch of freeCodeCamp.This PR has been on my to-do list for a while. After we made the change to no longer user the assert message arguments anymore and only use the
text
to display to the console for failing tests, I noticed several inconsistencies in how thetext
messages were written. Most use ashould
orshould not
, but others did not and some made it confusing to the camper whether or not they had passed or failed based on descriptions like: "Your code has anh1
element", when it really should have stated "Your code should have anh1
element.When I queried the existing English challenges I found 763
text
strings in 319 challenges that were not using theshould
orshould not
verbiage. Currently, I have only fixed 62text
strings in 27 challenges. Before I spend any more time on this, I want to first make sure this is a worthy cause. I personally believe it makes reading through all the challenges more consistent which should allow users to quickly understand what the test expects.EDIT: This PR only deals with the
Responsive Web Design
section. Other PRs will fix the other sections.