Ask coding questions

← Back to all posts
How to add a picture in a .png file in repl.it
h
elipie (364)

So I wanted to make an image in my project, and I don't know how to upload a file in a png. Help plz lol. i think @Coder100 can solve this

Answered by Coder100 (17122) [earned 5 cycles]
View Answer
Comments
hotnewtop
SixBeeps (5067)

@Coder100 Why does your text look like a neon sign lol

Coder100 (17122)

all your python and js text looks awesome thanks to repl.it being bad

* {
    text-shadow: 0 0 2px rgba(255, 255, 255, .5);
}

.type {
    font-weight: bolder;
}

.constant {
    color: rgb(61, 201, 176);
}

.paren, .operator {
    color: #9cdcfe!important;
}

.escape {
    color: rgb(255, 241, 169)!important;
}

.variable {
    color: rgb(220, 220, 170)!important;
}

@SixBeeps

SixBeeps (5067)

@Coder100 ngl it kinda hurts my eyes so imma pass on that sry

IGamer123 (52)

You need to have that png in a folder and then click the 3 dots to upload it.(Upload File)

IGamer123 (52)

You can just drag the file to the file area in the code and name it with rename and add it on.

Coder100 (17122)

hi, so you pressed the 3 dots right?

elipie (364)

@Coder100 yeah, but it didnt show up

Coder100 (17122)

ohhh a bug...
try dragging and dropping it @elipie

elipie (364)

@Coder100 oof im on chrome book for school can i drag an drop on a chrome book(cause i cant)?

Coder100 (17122)

oof, well, unfortunately, you should report this to bugs :( @elipie

Coder100 (17122)

also mark as correct answer? @elipie

Coder100 (17122)

oh hey it looks like it works now!

@elipie