The Language for Styling Web Pages
LEARN CSS CSS REFERENCE
body {
background-color: #d0e4fe;
}
h1 {
color: orange;
text-align: center;
}
p {
font-family: "Times New Roman";
font-size: 20px;
}
Try it Yourself
The Language for Programming Web Pages
LEARN JS JS REFERENCE
"color:green">// Click the button to change the color of this paragraph
"color:brown">function myFunction() {
"color:brown">var x;
x = document.getElementById("color:mediumblue">"demo");
x.style.fontSize = "color:mediumblue">"25px";
x.style.color = "color:mediumblue">"red";
}
Try it Yourself