After look at it over with my group, we are still having trouble figuring out why it won't output the number that we type into the "textInput".
var gpa = "minimumGPA";
textInput("minimumGPA", "Enter Minimum GPA");
setPosition("minimumGPA", 55, 145, 200, 30);
setText("minimumGPA", "");
onEvent("startButton", "click", function() {
gpa = getNumber("minimumGPA");
});
console.log(gpa);
In this pseudo code, the "startButton" is an ID that works, and "getNumber" is supposed to get the number out of the textbox from the "textInput".
Anyone with experience in code.org, what's wrong with the logic of my code?