Skip to content
Sign upLog in
← Back to Community

Google

Profile icon
VulcanWMHacker

I have started making a search engine quite similar to Google. The problem is that I don't know what I have done wrong. Can someone please help me?

Answered by SixBeeps [earned 5 cycles]
View Answer
Voters
Profile icon
techgeek680
Profile icon
VulcanWM
Comments
hotnewtop
Profile icon
SixBeeps

What are you trying to do that isn't working?

Profile icon
VulcanWM

I am trying to make it say 'There are 22525225 results' when I press Google Search and say 'Try out the new Google Doodles. Just type in Google Doodles' when I press I'm Feeling [email protected]

Profile icon
SixBeeps

@medcho
You're putting HTML code in your JavaScript? That's not how that works.

Profile icon
VulcanWM

I am putting my HTML code in my HTML, not my [email protected]

Profile icon
SixBeeps

@medcho
Anything within

Profile icon
VulcanWM
Profile icon
SixBeeps
Profile icon
VulcanWM

Can you help me put this in [email protected]

Profile icon
PowerCoder
Profile icon
SixBeeps

@medcho
Do you know any JS?

Profile icon
VulcanWM

No. I only started learning HTML 3 days ago. I just know lots of [email protected]

Profile icon
SixBeeps

@medcho
Mkay. At the very least, read through this page to get a feel for how JS works and what it can do.

Profile icon
VulcanWM
Profile icon
xxpertHacker

Okay, okay... you need to stop, if not, then slow down, like A LOT. You don't just learn HTML for 3 days, not know JavaScript, not know CSS and suddenly expect to copy the most widely used and most popular search engine on Earth as of 2020 with success. It just doesn't happen. You need to thoroughly learn HTML first. There are HTML tutorials everywhere across the web, maybe FreeCodeCamp, or w3schools?

Also, Google is more than a single webpage that has a button that shows you everything, it has plenty of server-side and client-side code. Like unimaginable amounts of links and complex systems and web crawlers and so much more.

Profile icon
VulcanWM

Sure. Can you help me [email protected]

Profile icon
[deleted]

@medcho
Like he said, you ought to look at those links first. But this is possible: Woogle

Profile icon
VulcanWM

I will look at the links. Who made Woogle? It is [email protected]

Profile icon
oignons

@medcho
this guy
@AdCharity
(sorry for the ping) did.

Profile icon
VulcanWM
Profile icon
[deleted]

@AdCharity
Too bad it hasn't been updated since. Wanna change that?

Profile icon
oignons

@AdCharity
it was very memorable, it looked just like Google :D

Profile icon
VulcanWM

Yeah it did look just like [email protected]

Profile icon
[deleted]

@AdCharity

  1. Why totally remake it? Maybe just leave it in dev mode for a month for it to have more results, I dunno.

  2. It's probably just one person, unvoting on you.

  3. Why are pissing off people in the Discord!? C'mon!

  4. I'm SF, read my bio.

  5. I've got some C++ to get back to.

Profile icon
HackermonDev

Maybe try making your own search engine instead of copying Google's code

Profile icon
VulcanWM

I am not copying Google's code. I am just copying how it [email protected]

Profile icon
HackermonDev

@medcho
then you will have to also copy the style files from google.com

Profile icon
VulcanWM

What do you [email protected]

Profile icon
[deleted]

He means that you are going to copy all the CSS styles from google. And in case you didn’t know, CSS is what controls the styling of the webpage.

@medcho

Profile icon
corruptedarkang

You dont have an code for style.css

Profile icon
VulcanWM

I made this when I didn’t know css existed lmao

@corruptedarkang

Profile icon
PowerCoder

What is the function gs() supposed to do, it's empty right now?
Also, change line 21-27 to:

<script> function gs(){ } </script> <p>There are 22525225 results</p>

All your javascript has to go between script tags.

Profile icon
VulcanWM

It is HTML, not [email protected]

Profile icon
VulcanWM

Function gs() is supposed to say 'There are 22525225 results'@PowerCoder

Profile icon
[deleted]

@medcho
You can't make a search engine without js. html simply is for looks.

Profile icon
VulcanWM