I am just trying to play around with typed.js but I can not get it to work whatsoever. I have JQuery imported before the script, I took the code almost directly off github so I am not entirely sure why this isnt working?
HTML
<div id="typed-strings">
<p>TESTING</p>
</div>
<span id="typed"></span>
JavaScript
I just added the script tag for the file path just to show how i have it in my code. I also have script tags around the javascript code below.
<script src="apps/typed.js"></script>
var typed = new Typed('#typed', {
stringsElement: '#typed-strings',
smartBackspace: true
});
Aucun commentaire:
Enregistrer un commentaire