Home React JS How to make a Times Table in React

How to make a Times Table in React

42 second read
0
0
138

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

Employee Working Hours Calculation System using C#.net

Initialize the employee number, Hourswork,and Hoursrate to calculate a grosswage use the f…