What I've trieds (the element 'backspace' is just a normal div):
const backspace = document.querySelector(".backspace");
backspace.style.gridArea = backspace.classList.value;
Then when I log the value of the class list it gives:
backspace
But when I log the grid area it gives:
backspace / backspace / backspace / backspace
Why is this and how to fix it?