l'm trying to add external CSS and Javascript to my website but I'm not sure how to. I'm not the most advanced with code so I've tried doing research but I'm still stuck. I have a Shopify theme, has anyone had any experience with this?
Hi! For adding external css just add this tag <link rel="stylesheet" href="styles.css"> (https://www.w3schools.com/tags/att_link_rel.asp) before </head> tag in your theme.liquid file
For adding scripts do same as styles tag but use <script src="link"></script>
So for the scripts would I write it as <script src="link"</script>?
or is "link" supposed to be something like the website link?
So for the scripts would I write it as <script src="link"</script>?
or is "link" supposed to be something like the website link?
User | RANK |
---|---|
40 | |
33 | |
13 | |
10 | |
8 |