486 B
486 B
title
| title |
|---|
| Give Sibling Elements a Unique Key Attribute |
Give Sibling Elements a Unique Key Attribute
Hint
It is just almost same as previous challenge. Just you need to add key attribute.
Solution
Just add key attribute to the <li> tag to make unique
const renderFrameworks = frontEndFrameworks.map((item) =>
<li key={item+1}>{item}</li>
);