React - Give Sibling Elements a Unique Key Attribute

Please help me what did i do wrong? :frowning:

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

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: React - Give Sibling Elements a Unique Key Attribute

Link to the challenge:

It looks like you are missing a return in your map function.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.