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 e0f82cd commit bda8a2f
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
<html>
<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"/>
<div style="padding:5px"></div>
Expand All @@ -24,6 +9,22 @@
<div style="padding:5px"></div>
</div>

<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>


</body>
</html>

0 comments on commit bda8a2f

Please sign in to comment.