You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
332 B
14 lines
332 B
// * * * * * WELCOME TO THE JS FILE * * * * * //
|
|
|
|
// here is an example of a function for
|
|
// adding your prefered colour as a parameter
|
|
|
|
function changeColor(newColor) {
|
|
var elem = document.getElementById('title');
|
|
elem.style.color = newColor;
|
|
}
|
|
|
|
// to call this function uncomment the line below:
|
|
// changeColor('blue')
|
|
|
|
|
|
|