So far, I have found very mixed information.. How can I simply add these CSS elements to the same HTML file using JavaScript? Thank you very much in advance!
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 1.6rem;
padding: 1rem;
}
ul {
list-style-type: disc;
padding: 1rem 1rem 1rem 4rem;
list-style: 1.5;
list-style-position: inside;
}
h1 {
font-size: 24px;
color: rgb(247, 34, 211);
padding-bottom: 2rem;
}
h2 {
font-size: 2.4rem;
margin-bottom: 1rem;
}