jQuery Doc Ready

Let's fire a statement, only once the Document is ready!
We're completing these tasks in Submlime and the console.

The document ready function that you will add:

  $( document ).ready(function() {
    // statement here
  });
  1. Open the js/008.3-jquery.js file in Sublime Text. It should be empty.
  2. Add the function above to js/008.3-jquery.js.
  3. After the // statement here comment, add a console log statement that returns Ready!.
    • Hint: console.log('Ready!');
  4. Save the js/008.3-jquery.js file and refresh this page in your browser.
  5. In the console, you should see Ready! after the document has finished loading.