/* create a function to search for medical information using google and display the information inside inner.html */ function search() { var search = document.getElementById('search').value; var url = "https://www.google.com/search?q=" + search; var win = window.open(url, '_blank'); win.focus(); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter