LexarG56

Generation

generate functionSun, 18 Jun 2023

Crear un menu con el boton de crear una cita de soporte tecnico.

Script function supportMenu(name) { // this is where we will build the support menu let menu = ""; // this is where we will create the contact info let contactInfo = ""; // Create the header of the menu menu = "Hello " + name + ", what can we do for you? \n"; menu += "1. Can you make the text bigger?\n"; menu += "2. I can't save my file.\n"; menu += "3. Nothing, I'm just bored\n"; // Create the contact info contactInfo = "\n\nPlease contact us at support@greenfoxacademy.com for further assistance."; // Add the contact info to the menu menu += contactInfo; return menu; }

Questions about programming?Chat with your personal AI assistant