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

186
Visualizações
How can I recreate a codepen locally on my computer?

So I found a nice website on CodePen and I want to copy/paste it local so I can play with it a bit. I have created all 3 files ( html, css, javascript ) in the same folder and I linked them in the html file. In the local folder I have : index.html + stylesheet.css + Javass.js.

I have linked them in respectively like this:

     <link rel="stylesheet" href="stylesheet.css">
     <script src="Javass.js"></script> 

I think the css file is showing but not the js one. Can you help me?

Edit: https://codepen.io/TurkAysenur/pen/gORaboY (this is the codepen)

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It is hard to tell like this. Though here are the common things:

  1. Copy code pen's html into the body html element (don't replace the whole code)

  2. Make sure JS runs after page loaded ( window.onload=()=>{...} ) or any other solution for that.

Edit: according to Yogi there is an export button. This could be the simplest solution for you

about 4 years ago · Juan Pablo Isaza Relatório
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