Title: adding html/css/js to WP
Last modified: July 21, 2017

---

# adding html/css/js to WP

 *  [pranaman](https://wordpress.org/support/users/pranaman/)
 * (@pranaman)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/adding-htmlcssjs-to-wp/)
 * I see some cool things, like [https://codepen.io/colinhorn/pen/dRBvLq](https://codepen.io/colinhorn/pen/dRBvLq),
   and I’ve tried adding them to WP.
 * I:
    1. add the html to the page 2. the CSS to a CSS editor plugins (granted this
   one is SCSS) 3. add js to a js plugins
 * They never seem to work.
 * Is there a general how-to to add code with html/css/js?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [hellheim](https://wordpress.org/support/users/hellheim/)
 * (@hellheim)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/adding-htmlcssjs-to-wp/#post-9339041)
 * hi,
 * what theme are you using? how about child theme? did you try to put code in separate
   files? more details please.
 * thanks
    -  This reply was modified 8 years, 9 months ago by [hellheim](https://wordpress.org/support/users/hellheim/).
 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/adding-htmlcssjs-to-wp/#post-9339142)
 * That specific example has external dependencies. If you click the Gear next to
   JS you’ll see that the Pen is loading “[https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js&#8221](https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js&#8221);.
   So you’ll also need to load that file for your JS to work. This article shows
   how to add external JS files to WordPress: [https://www.techjunkie.com/add-js-wordpress-theme/](https://www.techjunkie.com/add-js-wordpress-theme/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘adding html/css/js to WP’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/adding-htmlcssjs-to-wp/#post-9339142)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
