in this tutorials we will be talk about how to make a times table in react.



This is the code for making the times table
function MappingItem(){
const list = [1,2,3,4,5,6];
const listitems = list.map((number)=> <li>{number}X3 = {number *3}</li>);
return(
<div>
<ul>{listitems}</ul>
</div>
)
}
export default MappingItem;