Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

211
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda