Partage
  • Partager sur Facebook
  • Partager sur Twitter

JavaScript easier w JQuery - CodePen Free vs Pro?

Do you make the Activity with CodePen Pro?

    12 juillet 2019 à 20:13:22

    Good day,

    in the course "Make JavaScript easier with jQuery" I tried the Activity, but my code is not working at all. I think that there is a restriction in the CodePen FREE account.

    Can you try the code of the teacher Emily Reese and say if it's working or not?
    https://codepen.io/eclairereese/pen/mEOweB

    When I try to change her 
    $.getJSON('https://codepen.io/eclairereese/pen/OXRjWV.js')
    to my Free CodePen JS, it's not working:
    $.getJSON('https://codepen.io/milen2019/pen/YojoMK.js')

    The two JS-s are identical, but mine is Free account and it gives me the error:
    "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://cdpn.io' is therefore not allowed access. The response had HTTP status code 403."

    Thank you for your help!

    -
    Edité par MilenAtanasov 12 juillet 2019 à 20:15:35

    • Partager sur Facebook
    • Partager sur Twitter
      12 juillet 2019 à 21:40:24

      Bonjour,

      Mauvais forum

      Le sujet est déplacé de la section Javascript vers la section Let's talk!

      • Partager sur Facebook
      • Partager sur Twitter

      JavaScript easier w JQuery - CodePen Free vs Pro?

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown