0

Styling File

I try to style the file that we will upload after run the code but i cannot, it did not work, do i have to use CSS? https://code.sololearn.com/W07Wnn2nYsT9/?ref=app

2nd Dec 2021, 10:07 AM
hotto doggu
hotto doggu - avatar
2 Answers
0
The problem with a file input, is that it does not recognize if it is image or not, I do recommend use JS for this, take the input directory and add an attribute to image element `src=${e.target.value}`
2nd Dec 2021, 10:44 AM
cadbrooke
cadbrooke - avatar
0
You don't have to use css But preferably try to use css
3rd Dec 2021, 11:46 AM
JSONđŸŒ