Comment on Show HN: Dev atrophy test – Can you still code without AI?Comments−bmn__1yHave you even dogfooded your quiz once before publishing to the Web?JS methods to select an elementYOUR ANSWERgetMethod: "getQuerySelectorAll"EXAMPLE CORRECT ANSWERconst button = document.example('example');TypeError: document.example is not a function----Create an HTML form with an input field and submit button:YOUR ANSWER<input type="submit">Submit</input>EXAMPLE CORRECT ANSWER<button type="submit">Submit</button>Not incorrect answer assessed as incorrect.−Stoo1yYour button answer is wrong though because the input tag can't have content. The version using input should be <input type="submit" value="Submit" />.−Stoo1yHaving said that, I did just get marked down for having filter(num => num % 2 === 0) when the correct answer shouild (apparently) be filter(x => x % 2 === 0) so it's not great.−laserpistus1yClassic vibe issue of it regressing how the examples are generated. Will check it.−queenkjuul1yNot sure what you expected, they built it with AI lol
Comments
Have you even dogfooded your quiz once before publishing to the Web?
TypeError: document.example is not a function
----
Not incorrect answer assessed as incorrect.
Your button answer is wrong though because the input tag can't have content. The version using input should be <input type="submit" value="Submit" />.
Having said that, I did just get marked down for having filter(num => num % 2 === 0) when the correct answer shouild (apparently) be filter(x => x % 2 === 0) so it's not great.
Classic vibe issue of it regressing how the examples are generated. Will check it.
Not sure what you expected, they built it with AI lol