Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

210
Vistas
VsCode Xamp locally hosting website not working right

Hello Ivv Made A website and my js script and everything works fine in vs code live server See it works fine here

Then when I host it On xamp it dose This here is others errors and code

Another view of the error

    /*Js Code*/
function discord() {
    /* Get the text field */
    var copyText = document.getElementById("discordid")
  



    /* Copy the text inside the text field */
    
    navigator.clipboard.writeText("Skippy#3196");
    copyText.value = "Skippy#3196";
    
    /* Alert the copied text */
    alert("Copied Alan's Disocrd: " + copyText.value);
  }




  function gmail() {
    /* Get the text field */
    var copyText = document.getElementById("Gmailid")

    

  
    /* Copy the text inside the text field */
    navigator.clipboard.writeText("bosslyter@gmail.com");
    (copyText.value) = "bosslyter@gmail.com"; 
 
       

    /* Alert the copied text */
    alert("Copied Alan's Email: " + copyText.value);
  }



/*html*/



<div class="third-header">

    <p class="Contact">Contact Information</p>

    <img class="Discord" src="/Photos/discord.png"    onclick="discord()" id="discordid" img>


    <img class="Gmail" src="/Photos/gmail.png" onclick="gmail()" id="Gmailid" img>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda