Home React JS How to make a Times Table in React

How to make a Times Table in React

42 second read
0
0
137

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;

 

 

Load More Related Articles
Load More By admin
Load More In React JS

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

How to Make a Admin Panel Using React MUI

I have design the Admin Basic templete using React MUI Design Admin Dashboard and Login.He…