Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ollylucl committed May 31, 2024
1 parent b1d7bba commit e0f82cd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@
<body>

<script>

const inputElement = document.getElementById("input");
inputElement.addEventListener("change", handleFiles, false);
function handleFiles() {
const fileList = this.files; /* now you can work with the file list */
console.log("HEY two")
console.log(fileList)
}
function generateFiles() {

console.log("HEY THERE")
//document.getElementById("demo").innerHTML = "Hello World";
}
</script>
<div style="font-size:20px; padding:5px"><h1>Generate text mappings files</h1>
<input id="input" type="file" onclick="generateFiles()"/>
<input id="input" type="file"/>
<div style="padding:5px"></div>
<div style="padding:5px"></div>
<div style="padding:5px"></div>
Expand Down

0 comments on commit e0f82cd

Please sign in to comment.