Hi,
I was writing some jQuery here:
$(document).ready(function(){
$("input").click(function(){
$("body").css("background", "#ff000");
});
});
but it doesn’t seem to be working at all. Any ideas?
Thanks in Advance,
Team 1504
Hi,
I was writing some jQuery here:
$(document).ready(function(){
$("input").click(function(){
$("body").css("background", "#ff000");
});
});
but it doesn’t seem to be working at all. Any ideas?
Thanks in Advance,
Team 1504
I learned to chill and run through all of my code, not just where I assume problem may or should be
Haha no worries.
If you learned something from it, then it probably wasn’t a stupid mistake
Thank you! Apologies for the stupid mistake
Try targeting the background-color property and make sure you are using a valid hex colour (I think you might be missing a 0 on the end ;))