0
I’m trying to make a table , 5 tall by 7 wide , inside the React , however, when I tried to run the 2° for loop
he does not recognize and ends up not doing the action , obg by help S2
function Principal(){
var altura = 5;
var largura = 7;
const desing = [];
for(var i ; i < altura ; i++){
desing.push(<tr>);
for(var a ; a , largura ; a++){
desing.push(<td>"a"</td>)
}
desing.push(</tr>);
}
return(
<div id='calendario'>
{desing}
</div>
);
}
I don’t understand your question!
– novic