Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to add an external CSS file to a page with Javascript

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39911
    jkinney768
    Participant

    I’m wondering how it would be done to have an input field where you can paste a link to an external stylesheet from anywhere, and click a submit button and have that stylesheet be applied to the page it’s on, very similar to how you can do on codepen.io where you can add in your own external stylesheet. Any help would be appreciated. Thanks!

    #110302
    jkinney768
    Participant

    Cool, I’ll have to give that a try. Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.