title: Getting strings from online JSON using JS to add them on HTML page
body: <p>I've got a JSON file that I have online that has some informations, like this:</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;messages&quot;: [
          {
              &quot;name&quot;: &quot;info&quot;,
              &quot;content&quot;: [
                  {
                      &quot;name&quot;: &quot;Generic&quot;,
                      &quot;fields&quot;: [
                          {
                              &quot;name&quot;: &quot;name1&quot;,
                              &quot;content&quot;: &quot;content1&quot;
                          },
                          {
                              &quot;name&quot;: &quot;name2&quot;,
                              &quot;content&quot;: &quot;content2&quot;
                          }
                      ]
                  }
              ]
          }
      ]
  }
  
  </code></pre>
  <p>I am trying to put on an HTML page <code>name1</code> and <code>content1</code>.
  How can I achieve that using JS?</p>
  <p>I used fetch to get the data from the website and printing it to console shows it, but I don't know how to use it and how to put it inside my HTML page.</p>