I have a homework to make a calendar component on React It has to show days like Windows calendar, start from Sunday even if it's an other month and ends with Saturday ![like on screen](https://i.stack.imgur.com/VazyX.jpg)
And HTML has to be made like table (tr (weeks)...td (days)...) it has to be:
one week:
<tr>
<td>day1</td>
<td>day2</td>
<td>day3</td>
<td>day4</td>
<td>day5</td>
<td>day6</td>
<td>day7</td>
</tr>
I have prepared an array with dates, array starts from Sunday and ends with Saturday I was trying map() it and put jsx tags with dates inside. That works But when I'm trying to put inside week tags (tr) I can't do it because I'm trying to put inside
</tr><tr>
- closing one week and opening next week (I can't add one closing jsx tag)
I'm stuck
Could you give me some advice?