79833114

Date: 2025-11-29 07:38:36
Score: 1
Natty:
Report link

The properties are set correctly, but the syntax you provided for repeat() is incorrect. The problem is that you forgot a comma. Here are corrected lines of code:

grid.style.gridTemplateColumns = `repeat(${x}, 4fr 1fr 4fr 1fr 4fr)`;
grid.style.gridTemplateRows = `repeat(${y}, 4fr 1fr 4fr 1fr 4fr)`;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: oulol