DEV Community

Freecodez
Freecodez

Posted on

Image selector form using html, css, javascript

Hey there, You are most welcome to this article. I hope you will enjoy this article. If you like this article then please share this article with your friends and colleagues. If you have any questions or suggestions regarding this article then please comment down below.

Image selector form using html, css, javascript

Image selector form using html, css, javascript

For full source code visit : https://freecodez.com/post/gvt3i5t

<!-- https://freecodez.com -->
<div class="container">
    <div class="header" id="img" onclick="selectFile()">
        <i class="fa-solid fa-cloud-arrow-up"></i>
        <p>Browse Image to upload!</p>
    </div>
    <label for="file" class="footer">
                <i class="fa-solid fa-file"></i>
                <p id="title">No image selected</p>
                <i class="fa-solid fa-trash"></i>
            </label>
    <input id="file" type="file" accept="image/*"/>
</div>
Enter fullscreen mode Exit fullscreen mode

Source Code : https://freecodez.com/post/gvt3i5t

For more such articles visit : https://freecodez.com

Top comments (0)