Hey there. Hope you can help me our here!
I have written some js5 code, and want to upload it to my wordpress site using Elementor HTML plugin...
However I cannot make it work. I have used external js and css...
The HTML code I am trying to insert into the HTML custom field is: "
[CODE lang="html" title="Html code"]<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>p5.js example</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="StyleSheet.css">
<script src="../p5.js"></script>
<script src="sketch.js"></script>
</head>
<body>
<main>
</main>
</body>
</html>
[/CODE]
<body>
<main>
</main>
</body>
</html>
I have uploaded my js file ( names sketch.js), my js5 files and my css files through Filezilla...
I have written some js5 code, and want to upload it to my wordpress site using Elementor HTML plugin...
However I cannot make it work. I have used external js and css...
The HTML code I am trying to insert into the HTML custom field is: "
[CODE lang="html" title="Html code"]<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>p5.js example</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="StyleSheet.css">
<script src="../p5.js"></script>
<script src="sketch.js"></script>
</head>
<body>
<main>
</main>
</body>
</html>
[/CODE]
<body>
<main>
</main>
</body>
</html>
I have uploaded my js file ( names sketch.js), my js5 files and my css files through Filezilla...