Skip to content
Sign upLog in
← Back to Community

How would you turn a repl to a website

Profile icon
Ian218

So I see a lot of projects that have a website attached to them, and I was wondering if I could do that with me repl. Can you explain step by step on how to do it? Also can I edit a repl after I turn it in to a website?

Thanks,
Ian218

Answered by KHZ [earned 5 cycles]
View Answer
Voters
Profile icon
HareshSundaresa
Profile icon
Ayladdin
Profile icon
Ian218
Comments
hotnewtop
Profile icon
KHZ

@Ian218
Do you mean like how your post is right now? Do you want a website that has your repl in it or do you want to make a website with a repl? If you want a website with your repl in it then you can just embed you code in html so that your repl can be shown in a website. If you want to do this then I can tell the necessary steps but if you don't want to do this then please elaborate what you want to do.

Profile icon
Ian218

@KHZ
yeah I basicly want a website of the project do you know how to do?

Profile icon
KHZ

@Ian218
Yeah you just need to embed your code. Just add a new HTML/CSS repl and then open the project you want to have the website of. If you have a share button like this at the top of your screen on your repl then click that:
Screenshot (84)_LI

If you don't have it then just press the Ctrl + Shift + M keys together. This will open a new window then you just need to click copy embed code button:
Screenshot (85)_LI

This will copy the embed code of your project. Now go back to your HTML/CSS repl and paste the code in the body tags which look like this:

<body> </body

There will also be an extra line of code in between the body tags which you can ignore. Now when you will run your repl and open your website you will have your repl attached to your website.

Profile icon
Ian218

@KHZ
I am doing it on python

Profile icon
Ian218

@KHZ
Never mind i figured it out i also gave you the answer thing so it said you got 5 cycles or something thanks though!

Profile icon
KHZ

@Ian218
No problem. Even if you didn't mark it as answer I wouldn't complain cuZ cycles don't amount to anything.

Profile icon
[deleted]

I don't think you can...but you could make it into a repl "website" sorta with a specialized hyper link.