Give Sibling Elements a Unique Key Attribute!

Tell us what’s happening:
The below test case does not pass. Please help me out and thanks in advance.
Each list item element should have a unique key attribute.

Your code so far



const frontEndFrameworks = [
  'React',
  'Angular',
  'Ember',
  'Knockout',
  'Backbone',
  'Vue'
];

function Frameworks() {
const renderFrameworks = frontEndFrameworks.map(
    (i) =>
      <li> key={i.toString()} > {i} </li>
   ); 
  return (
    <div>
      <h1>Popular Front End JavaScript Frameworks</h1>
      <ul>
        {renderFrameworks}
      </ul>
    </div>
  );
};

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0.

Link to the challenge:

I could be off track, not that familiar with react, but I think your problem is the closing > before key={i.toString()}. I think it needs to be <li key={i.toString()}>{i}</li>.

yeah exactly, now i got it. Thanks