HTML
Today's Date.
CSS
body{
padding: 25px;
}
.title {
color: #800000;
}
JS
function showTime() {
document.getElementById('currentTime').innerHTML = new Date().toUTCString();
}
showTime();
setInterval(function () {
showTime();
}, 1000);
________________
Changing the HEX code in the CSS section (#800000) to another HEX code the color of the words ‘Today’s Date’ will change.
Hex codes:
Maroon - #800000
Blue - #0000FF
Red - #FF0000
Black - #000000
White - #FFFFFF
Yellow - #FF0000
Green - #00FF00
Orange - #FFA500
Purple - #6A0DAD
Pink - #FFC0CB