Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

212
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!