I have a question that may seem silly, but I'm going to ask it anyway.
Currently, I am iterating through a list of strings that follow the format "1H 20MIN" and adding them to table cells using the innerHTML property like so:
for (i = 0; i < list.length; i++) {
myTable.rows[1].cells[i].innerHTML = list[i];
}
My intention is to display the numbers (in this case 1 and 20) in one font style and the text (H and MIN) in a different font style.
Is there a way to achieve this, or do you have any suggestions on how to restructure my code/table to make it possible?
Thank you!