x">getElementById</span><span class="p">(</span><span class="s2">"location"</span><span class="p">);</span>
    <span class="kd">var</span> <span class="nx">apiKey</span> <span class="o">=</span> <span class="s1">'INSERT API KEY'</span><span class="p">;</span>
    <span class="kd">var</span> <span class="nx">url</span> <span class="o">=</span> <span class="s1">'https://api.forecast.io/forecast/'</span><span class="p">;</span>

    <span class="nb">navigator</span><span class="p">.</span><span class="nx">geo