text: import $ from "jquery";
  
  /**
   * 1. Fetch the comments for the post from the following endpoint:
   *
   *    https://jsonplaceholder.typicode.com/posts/1/comments
   *
   * 2. Output the data as the text content of the `#data` element.
   *
   *    You should use the `JSON.stringify(data, null, 2)` method to
   *    format the data that you will insert into the `#data` element
   *    so that it is not printed as a string but as an object
   *    for easier reading
   *
   * You should use the fetch() method to fetch the data.
   */
  function exercise03() {
    // Complete the code of the function
    // Make sure to return the fetch method call
    // return fetch()...
    const url = 'https://jsonplaceholder.typicode.com/posts/1/comments';
  
    return fetch(url)
      .then(response => response.json())
      .then(data => document.getElementById('data').textContent = JSON.stringify(data, null, 2));
  }
  
  export default exercise03;
  