How do I add a website in the near top right of a replit?

Hello, I am new. What do I do for it to say “Open Website” at the top of my replit?

Welcome to the community! You need to make it a website for it to say Open Website at the top of your repl. Learn more at the Replit Docs

You must create an HTML/CSS/JS repl.

Create any Repl that opens a port or hosts a website :).

Here’s a simple one liner example in Node.js:

require('express')().get('*', (_, res) => res.end('Hello World')).listen(3000)

It does the following:

  1. Imports the express.js library
  2. Creates an instance of express.js
  3. Setups a catch-all router that serves “Hello World”
  4. Opens a port (3000) and listens for requests on it

…or alternatively create a new HTML/CSS/JS Repl xD.

You could do one of the suggestions above… Or use Python Flask/Django :wink:

Simple Flask webserver:

from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
 return 'Hello from Flask!'

if __name__ == '__main__':
  app.run(host='0.0.0.0', port=81)

seeing as your repls emulate pokemon, best you can do is POKÉMON - Replit and click on the button next to ‘like’ for fullscreen