Check out example codes for "checkbox value". It will help you in understanding the concepts better.

Code Example 1

<input type="checkbox" name="vehicle1" value="Bike">

The checkbox value is 'Bike'.

Code Example 2

<input type="checkbox" name="vehicle1" value="Bike"> I have a bike<br>
 <input type="checkbox" name="vehicle2" value="Car"> I have a car<br>
<input type="checkbox" name="vehicle3" value="Boat" 
  checked> I have a boat<br>

Learn ReactJs, React Native from