Build a personalised search engine with Google’s search API.
We are going to build a custom search engine using Google’s Search API to fetch queries and display the most relevant search results.
To build this search engine, we’re going to need:
- Repl.it account
- Google account
We’ll also be getting our hands on Google APIs, and you don’t need to worry if you don’t know about how you can use it, because we’ll be taking you through that as well.
We are providing you the starter files for this project and fork it so you can make the changes and get started with building the search engine. The starter file includes the styles and preliminary code to help you kickstart this project.
Once this is ready, head on over to the
index.html file and add the following between the
This will reference the image with it’s corresponding styling! Feel free to add your own to make it personalized. Then, we are going to add a search input and button that calls submit() when clicked.
Now, we need to create a section for the content to appear! Add the following right below the