Skip to content

Instantly share code, notes, and snippets.

@Hacking-NASSA-with-HTML
Last active December 17, 2022 21:44
Show Gist options
  • Save Hacking-NASSA-with-HTML/e318f978ac184373f4a39b7db123b109 to your computer and use it in GitHub Desktop.
Save Hacking-NASSA-with-HTML/e318f978ac184373f4a39b7db123b109 to your computer and use it in GitHub Desktop.
How to change color and font-size using jQuery JavaScript library
setTimeout('makeRedAndBig()', 2000)
let makeRedAndBig = function () {
$('div.test').css({
color: 'red',
fontSize: '20px'
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment