this simple jquery .css statement does not activate within two functions, am I doing something wrong?
javascript:
function updateAllCSS(element, property, value) {
function updateThemeCreatorCSS(element, property, value) {
$(element).css(property, value)
}
updateThemeCreatorCSS(element, property, value)
}
}
updateAllCSS('h1', 'backgroundColor', '#f00')
HTML:
<h1>Test header</h1>
updateAllCSS.