Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Farouk Charkas
Farouk Charkas
1,957 Points

How to make a search engine, that does exactly like Control + F, (or Command +F on mac)?

I would like to add a search engine, that dose use the exact thing as Control +F, but to be on my website, so my user dose not have to manually do it.

1 Answer

Hey Farouk,

I believe your website would be perfect without one and here's why.

  1. The majority of web users are already accustomed with using Cntrl + F to search their current webpage.

  2. Pretty much every modern browser has this find feature. Google Chrome, for instance, has a beautiful find feature that searches pages and highlights matching text. Their users are already used to how Google highlights their matching text.

  3. If you want to implement a search engine, make it across your entire website. That will allow your users to search your awesome site with ease, regardless of what page they're on.

Instead of taking time to create this search engine, I suggest using that time to add more content to your website, replace any colors you don't like, fix the layout, etc.. Let the nerds in Stanford sweat over making this feature!

Best of luck!