Skip to content
Sign UpLog In
Profile icon

pandas r cool

@mamahao
pandas r cool
Repls
Community
mamahao
mamahao
shared a Post
2 years ago
I want to make a text box that processes the input, and then searches a web browser like google.
So I want to make a text box and then you click a button, and it processes it. It then searches google to find out something. Like if you search blueb
Coder100
Coder100
you can definitely search, but it won't be easy to return the output, it's better to just redirect. Here you go: function genSearchURL(website, query) { return https://www.google.com/search?q=site%3A${website}+${query}; } And you can use that to generate URLs: console.log(genSearchURL("repl.it", "Coder100")); btw, to use this, an example program looks like (don't actually lol, use an actual input): location.href = genSearchURL("", prompt("Welcome, please type in your search query")) Replac2 years ago
mamahao
mamahao
shared a Post
3 years ago
This is my first game in python! :)
rock paper scissors
Python
Coder100
Coder100
Awesome!! Keep up the good work!3 years ago
littlepenguin
littlepenguin
Cool.3 years ago