In the theory page about Ascii in the JavaScript course, for the question “Which of the following is an example of how character encoding is useful in programming?” the answer “To check if a string contains only uppercase letters” isn’t technically wrong, but is labled as such. The answer you’re looking for is “To manipulate characters based on their numerical values,” but it’s confusing to have a technically accurate answer that is labeled as wrong. Where can I request that this be changed?
Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.
Hi @SoftPaw6234 ,
Can’t say that I agree with your assessment, but you can report an issue at GitHub Issues. Whenever reporting an issue, please check first that there isn’t already an issue for it and provide as much detail as possible.
Thank you for helping to make fCC better!
Why is that answer incorrect? There are times when you’d want to check the case of a character. To give some pseudo-code that would do that with these methods:
for charCaseTest i < charCaseTest.length
if 64 < charCodeAt(x) < 72 //if character indexed at position x is uppercase
//Not sure if that’s how if statements work in JS but it’s just an example
Not incorrect, just not the best choice.
Happy coding.