Home React JS How to make a Times Table in React

How to make a Times Table in React

42 second read
0
0
36

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

Laravel 11 CRUD Application

In this tutorial will teach Laravel 11 CRUD Application step by step. Laravel  11 CRUD App…