{"size": 386, "ext": "js", "max_stars_repo_path": "static/index.js", "max_stars_repo_name": "arpan-svci/Sketch-assistance", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "static/index.js", "max_issues_repo_name": "arpan-svci/Sketch-assistance", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "static/index.js", "max_forks_repo_name": "arpan-svci/Sketch-assistance", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 32.1666666667, "max_line_length": 52, "alphanum_fraction": 0.6580310881}
const inpfile=document.getElementById("image");
const preview=document.getElementById("image1");
inpfile.addEventListener("change",function(){
    const file=this.files[0];
    if(file){
        const reader=new FileReader();
        reader.addEventListener("load",function(){
            preview.setAttribute("src",this.result);
        });
        reader.readAsDataURL(file);
    }
})