JSFiddle - React, Tailwind, and code Playground
by lemon kazi
HTML
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<span class="element">
</span>
<span class="element1">
</span>
JavaScript
var options = {
strings: ['<i>First</i> sentence.', '& a second sentence.'],
typeSpeed: 40
};
//var typed = new Typed('.element', options);
var typed = new Typed('.element', {
strings: ['HTML','HTML','PHP', 'MYSQL'],
typeSpeed:300,
backDelay: 500,
smartBackspace: true, // this is a default
loop: true
});
/* var typed1 = new Typed('.element1', {
strings: ['HTML', 'PHP', 'MYSQL'],
typeSpeed:200,
backDelay: 500,
smartBackspace: true, // this is a default
loop: true
}); */