My forumCategory function seems fine, test 17-18 request that forumCategory(200) should return general anchor while category with id 200 is not found in categories array, so i add it at the front of the list as you can see, now i passed test 17, but test 18 is still failed, where it say => forumCategory(200) should return a string containing an anchor element with href=“https://forum.freecodecamp.org/c/general/200”
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36
Challenge Information:
Build an fCC Forum Leaderboard - Build an fCC Forum Leaderboard
Your code was too long to be automatically inserted by the help button.
Please update the message to include your code, formatted as follows:
When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
11th users stories required for each img element to have alt attribute set to the value of name property of the poster, if we do it so it wont pass the test, i tried to change it to the value of name property of the user and it passed the test