We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Code Review Feedback
Code Review Feedback
Sort by
recency
|
59 Discussions
|
Please Login in order to post a comment
💡 The best approach for this task is to use a switch statement. I’ve implemented a solution, and the functionality works as expected — however, I’m still facing an issue with one of the test cases. Any suggestions or insights on how to resolve this test issue would be appreciated!
I solved it this way:
I took an advice from another user so I've used an index, that way the test cases pass successfully.
Probably, the code could be enhanced, but editor is not very friendly I hope it help you.
It
Why are my submissions "accepted", but it never counts as "solved"? There are major issues with this.
i am facing in css issue, let me know how can i solve it
import React, { useState } from "react";
const FeedbackSystem = () => { const [items, setItems] = useState([{ name: 'Readability', upvote: 0, downvote: 0, }, { name: 'Performance', upvote: 0, downvote: 0, }, { name: 'Security', upvote: 0, downvote: 0, }, { name: 'Documentation', upvote: 0, downvote: 0, }, { name: 'Testing', upvote: 0, downvote: 0, },]); return (
); };
export default FeedbackSystem;