<prompt> Ngola khoutu ea JavaScript ho hlahisa molaetsa oa tlhokomeliso ha konopo ea Submit e tobetsoa.nan  <response>: Instruction in English: Write a JavaScript code to display an alert message when the Submit button is pressed. . Response in English: Here is the JavaScript code you can use to display an alert message when the Submit button is pressed:javascriptdocument.getElementByIdsubmit-button.addEventListenerclick, function alertYour form has been submitted!;;This code selects the Submit button by its id attribute using document.getElementByIdsubmit-button. It then adds an event listener to the button that listens for click events, using the addEventListener method. When the button is clicked, the callback function is executed, which displays an alert message using the alert function. In this case, the alert message says Your form has been submitted!.Make sure to assign the proper id attribute in this example, idsubmit-button to the submit button in HTML, so that the element can be properly selected by the script above. . Response in Sesotho: Khoutu ea JavaScript eo u ka e sebelisang ho hlahisa molaetsa oa tlhokomeliso ke ena ha konopo ea Submit e tobetsoa: javascript document.getElementByIdsubmit-button.addEventListenerclick, function alert Foromo ea hau e kentsoe!; ; Khoutu ena e khetha konopo ea Submit ka tšobotsi ea id e sebelisa document.getElementByIdsubmit-button. E ntano eketsa momameli oa ketsahalo konopo e mamelang liketsahalo tsa ho tobetsa, e sebelisa mokhoa oa addEventListener. Ha konopo e tobetse, mosebetsi oa callback oa etsoa, o bontsang molaetsa oa tlhokomeliso o sebelisa mosebetsi oa temoso. Tabeng ena, molaetsa oa tlhokomeliso o re Foromo ea hau e rometsoe!. Etsa bonnete ba hore o abela tšobotsi e nepahetseng id mohlaleng ona, idsubmit-button ho konopo ea ho romela ka HTML, e le hore karolo e ka khethoa hantle ke mongolo o ka holimo. 