I am trying to create a page where the websites will ask the user to input their zip code. Once the user inputs their zip code website should redirect them to their zip codes homepage. Now I have 10 different zip codes that the user can input. So I created a function for ONE zip code, but now I am stuck, I am not sure if there is a way to input all zip codes in one function or should I create one function per zip code. Thank you for your help.

```
     <script>
    function ver(){

    var eje=document.getElementById('zip_code').value;
    var che=document.getElementById('lugar').value;

    var cheje = che.toLowerCase();

    if( (eje == 11385 )||(cheje=="ridgewood" ) || (cheje=="glendale") || (cheje=="flushing")){
    window.location.assign("c:/users/lui/desktop/fluidimaging.html")
    }    

    else{ alert("you did not enter a city or a zip code"); }
    }

    </script>

    <HTML> 

    <form>      

    <legend>Please Enter Your City or Zip Code</legend>           <label for ="shippingName">City: 
    </label>          <input type = "text" name = "Name" pattern="[A-Za-z]+" id="lugar" <br/>

      <label for = "billingzip">Zip code:</label>         <input type = "text" name = "zip" id = 
     "zip_code" pattern = "[0-9]{5}"  required><br/> </form>

      <input type = "submit" onclick="ver()" class="submit" value = "Verify"/>  

```