Give Sibling Elements a Unique Key Attribute - is this a bug?

Tell us what’s happening:
There is an error in my code but it passes anyway.
(Is it worth reporting as an issue?)

Your code so far

const frontEndFrameworks = [

function Frameworks() {
  const renderFrameworks =,i) => {
    return <li key={i}>y</li>
  return (
      <h1>Popular Front End JavaScript Frameworks</h1>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.99 Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:

Yeah it looks like a bug.

It’s always worth reporting them to make exercises more resilient :slight_smile:

@JohnnyBizzel - Definitely, because after looking at the tests, it is only confirming that there are six li elements and that they all have keys. The test does not validate the inner text of the li elements, which is why it did not catch the “y” text in each element.

Ok, I have reported it on GitHub now. :+1:

1 Like