LearnToCodeRPG
LearnToCodeRPG copied to clipboard
Wording of quiz question about .querySelector
What bug did you encounter?
in quiz_questions_from_csv.rpy, the question "What is the name of the method used to find elements that match one of more selectors?' is a bit misleading and awkward.
A better wording might be "What is the name of the method used to find the first element in the DOM to match a given CSS-style selector?"
document.querySelector takes a selector, or even a complex multi-selector, but only returns the first element to match.
Steps to Reproduce
https://github.com/freeCodeCamp/LearnToCodeRPG/blob/dfe67a20f3536f52ccc0336c9e7c39091d6c2c22/game/tl/english/scripts/quiz_questions_from_csv.rpy#L8203
Screenshots
No response
Additional Information
No response