I have a task to replicate the search bar design of Google Images.
This is the current state of my html code:
<form id="search"; action="https://www.google.com/images">
<input type="text" name="q">
</form>
Along with the corresponding css:
input[type="text"]{
border-radius:50px;
-moz-border-radius:50px;
-webkit-border-radius:50px;
width: 600px;
height: 25px;
padding: 12px 20px;
border-color: lightgrey;
background-color: white;
background-image: url('searchicon.png');
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: 25px;
padding-left: 50px;
outline: none;
}
Even though I managed to place the image inside the search bar, it doesn't function as intended. My goal is for the image to redirect to a specific link upon clicking.