How do the curly brackets work {?


Code academy has there java code like this xxx $(document).ready(function() {
}); xxxx But when I do the lesson it never really explains about these things and how they work, and why they're needed. Code academy will even let me pass the lesson without placing them. Why?



$(document).ready(function() {  $("#green").fadeOut(1000); });

google search
[your question]


thank you kindly lol