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
And HTML has to be made like table (tr (weeks)...td (days)...) it has to be:
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
- closing one week and opening next week (I can't add one closing jsx tag)
Could you give me some advice?