Repl Spotlight Run Button
Could someone tell me how to make the spotlight run button you see on someone's repl. The huge green button with a white play button. If someone could show me the code for it, i would appreciate it.
Also it should be the exact colors, and should also do the action it does when i hover on the button. Thanks!
Also this is another question but could someone give a chatroom? that chatroom should save the messages put in it. So if I went back to it after closing, the messages should be there. It can be in any language, but i would prefer node.js. So you can make it in a repl, and give the link.
@InvisibleOne thanks, but could you tell me the correct files to put the code in, cause it says
Error: ENOENT: no such file or directory, stat '/home/runner/CaringConsiderateCurrencies/index.html'. Or an easier way is to make a reply on your own, and just give me the link. Your choice.
@InvisibleOne thanks, this is good, but could you do my last requirement? The saving? So it should save whatever messages I put in there. until I click clear chat. So if I come back to it after any time, the chat messages I put in there should still be there. Saving. Could you do thaT? Thanks!
@InvisibleOne ok thanks! It works, also do you know the answer to my first question? IF you don't it's ok. Also I noticed when I type in really long chat messages, it breaks off, and goes somewhere. Can you make it so that it breaks onto different lines, and stays in the green box? Like a paragraph? Thanks! I'll mark your answer once you do that. Thanks!
Chat room in python:
while 1:import os;z=os.getenv("REPL_OWNER")+": ";print("\x1B[2J"+str(open('c','a').write(z+input(z)+'\n'))+" ".join([l for l in open('c')]))
As for the run button, you should be able to inspect the page and see what the code for it is. I'm guessing it's an svg or image.
I'm not a CSS pro, but i would imagine that you would have a button with an
svg inside it. Or, you could make the whole button
svg and with no CSS required. Then, just make an