title: SyntaxError: Unexpected token p in JSON at position 0 In fetch
body: <pre class="lang-js prettyprint-override"><code>const say= document.querySelector(".quotes");
  
  fetch(`http://quotes.rest/qod.js?category=inspire`)
   .then(function(response) {
       return response.json();
  })
   .then(function(myJson) {
      console.log(JSON.stringify(myJson));
  });
  </code></pre>
  
  <p>console error</p>
  
  <blockquote>
    <p>Uncaught (in promise) SyntaxError: Unexpected token p in JSON at position 0
    Promise.then (async)
    (anonymous) @ quotes.js:8</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/STgsL.jpg" alt="image"></p>
  
  <p>I want to bring the price and print it out.</p>