+ 1

What happened here im new to JavaScript

https://code.sololearn.com/WvrPuimDzHpG/?ref=app

19th Jul 2023, 1:59 AM
GLC
GLC - avatar
2 Answers
+ 5
window.onload = function () { // Event listener for the translate button document.getElementById("translateButton").onclick = translateText; }
19th Jul 2023, 2:33 AM
A͢J
A͢J - avatar
+ 5
you have to provide an api key, too.
19th Jul 2023, 2:49 AM
Bob_Li
Bob_Li - avatar