* A clearer, more readable return statement
Use .filter() to get the odd values in array.
Use .reduce() to sum.
Two separate tasks, one line, easier to read and understand.
Updated comments and Code Explanation accordingly.
I tried to stay true to the message you were going for while adjusting some of the wording and sentence structure to sound more professional and to be easier to read/follow.
* fix(curriculum): add full, working solution for accessibility challenge.
This commit replaces a JavaScript only solution where a full, working
solution should have been written.
* Update curriculum/challenges/english/01-responsive-web-design/applied-accessibility/avoid-colorblindness-issues-by-using-sufficient-contrast.english.md
Co-Authored-By: rimij405 <effendiian@gmail.com>
Fixes#35793
I rearranged the variables in one of the tests.
I just changed the english file. Should I change the rest of the languages as well?
Note: I did this change through github's API, because I couldn't run the project locally so I haven't actually tested it.
* fix(challenge): check for li and specify elements accepting text
* fix(challenge): revert text
* fix(challenge): remove word added by mistake
* fix(challenge): update test, cleanup assertion text
* Changed from stub into short article
I have now added some content to this page. It is pretty much fully functional, but more detail could be added.
* Remove template code and resource
Resources are not under fCC's control, removed image
first command creates file with size of 10MB and not 1MB
:~/prashant/test$ dd if=/dev/zero of=file_name.txt bs=1024k count=10
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.00991439 s, 1.1 GB/s
:~/prashant/test$ du -h file_name.txt
10M file_name.txt
:~/prashant/test$
Changed text in line 6 to improve flow. Reword the second sentence on line 12. More rewording on line 13. Added a comma to the second sentence in line 13. Split the final sentence in half to simplify it and easier to read.