Get slider to display months instead of numbers
<p>I'm trying to get a <code>html</code> slider to output the months. I made a slider with a max value of 12, starting at 1.</p>

<p>My <code>html</code>  instead of the numberscode for the rangeslider is:</p>

<pre><code>&lt;label id="labelslider" for="slider"&gt;Bepaal de forecast periode:&lt;/label&gt; &lt;!-- Range --&gt;
&lt;input type="range" id="slider" min="1" max="12" value="1" step="1" oninput="outputUpdate(value)" /&gt;
&lt;output for="slider" id="range"&gt;0&lt;/output&gt;
</code></pre>

<p>My <code>javascript</code> code is:</p>

<pre><code>function outputUpdate(vol) {
    //document.querySelector('#range').value = vol;
    switch(document.querySelector('#range').value) {
        case "1":
            "Januari" = vol;
        break;
        case "2":
            "Februari" = vol;
        break;
        case "3":
            "Maart" = vol;
        break;
    }
}
</code></pre>

<p>I tried to incorporate the switch functions to dislpay the months, but i can't get it to work.</p>