Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 456 Bytes

File metadata and controls

16 lines (11 loc) · 456 Bytes

Task 1

Goal

Create a Hero component that shows the first name, last name and the framework, and also a checkbox synced to the selected property, and sends a select event when clicked, having the payload { id, value }, where id is the hero's ID, and value is the new selected value.

Hints

  • use the following markup:
<div>First Name</div>
<div>Last Name</div>
<div>Framework</div>
<div><input type="checkbox" /></div>