I created code to check a particular value in the input search box. If it is, the web will focus on the searched element.
My html
<input type="search" id="search-box" placeholder="Search">
<button type="submit" id="searchbar" onclick="Focus()"</button>Search</button>
My JavaScript
function Focus(){
    var search = document.getElementById("search-box").value;
    
    if(search == "about"){
            document.getElementById("about").focus();
        }
        else{
            alert("Not Found");
        }
}
This is working, but if I change to this
if(search == "about" || “About”)
Then the else statement is not working.
Is there any other method to make about case sensitive Like About, AbOut, aBoUT, etc all are equal
 
     
     
     
    