How to select all links inside of nav element
<p>I have a page with many links but I want to use js select all the links inside of the nav tag and assign them to a variable named navigationLinks. Is there a way to do this without assigning a class to all the links. `  </p>

<pre><code>&lt;nav&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href="index.html" class="selected"&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="about.html"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="contact.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;   
</code></pre>

<p></p>

<p>Here is the js:</p>

<pre><code>let navigationLinks = document.getElementsByTagName('nav');
</code></pre>

<p>Thank you.</p>