Tell us what’s happening:
Hi there, i’ve passed the tests by assigning {value} as a key to my
The solution uses {value+1}.
Could anyone explain what’s the point of the +1 plz ?
Thanks !
Your code so far
frontEndFrameworks.map( (value) => <li key={value+1}>{value}</li>);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:84.0) Gecko/20100101 Firefox/84.0
.
Challenge: Give Sibling Elements a Unique Key Attribute
Link to the challenge: