Alguém poderia informar o que estou colocando errado nesse código? Desde já, meu muito obrigado.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>TI</title>
<script>
function criarDocumet(){
var st = document.getElementById('student').value;
var te = document.getElementById('teacher').value;
var wo = document.getelementById('work').value;
var doc = DocumentApp.create("Documento" +st +te +wo);
}
function criarSheet(){
var st = document.getElelmentById('student').value;
var te = document.getElementById('teacher').value;
var wo = document.getElementById('work').value;
var = SpreadsheetApp.create("Sheet" +st +te +wo);
Logger.log(ssNew.getUrl());
}
function criarPresentation(){
var st = document.getElementById('student').value;
var te = document.getElementById('teacher').value;
var wo = document.getElementById('work').value;
var presentationId = 'Presentation' +st +te +wo;
var presentation = Slides.Presentations.get(presentationId);
var slides = presentation.slides;
}
</script>
</head>
<body>
<h1><p align = "center">TI</p></h1>
<div>
<form action="" method="POST">
<h2><p align = "center"> Student:</p></h2><p align = "center">
<input type="text" name="estudante" id="student">
<h2><p align = "center">Teacher: </p></h2><p align = "center">
<input type="text" name="professor" id="teacher">
<h2><p align = "center">Work Name</p></h2><p align = "center">
<input type="text" name="trabalho" id="work">
<br><br>
<input type="submit" name="startDoc" id="documento" value="start Doc" onclick = "criarDocumet()">
<input type="submit" name="startSheet" id= "sheet" value="start Sheet" onclick = "criarSheet()">
<input type= "submit" name= "satartApresentation" id= "presentation" value= "start Presentation" onclick = "criarPresentation">
</form>
</div>
</body>
</html>