Hi I am trying to store below CSS in a variable. But I am receiving Syntax Error . Can you please help with this. Thank you in advance.
/* Apply the styles to the entire table */
table {
width: 80%;
border-collapse: collapse; /* Remove default spacing between table cells */
font-family: Verdana, Arial, sans-serif;
}
/* Style the table header */
table th {
background-color: darkblue;
color: white;
text-align: center;
border: 2px solid black;
}
/* Style alternate rows with light gray background */
table tr:nth-child(even) {
background-color: lightgray;
}
/* Center align text for all table cells */
table td, table th {
text-align: center;
border: 2px solid black;
}