// typejs cdn
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.12/typed.min.js"></script>
//typejs initailize
var typed = new Typed('.animated-text', {
strings: ['Customer satisfaction.', 'Creative ides.', 'Business needs.'],
typeSpeed: 60,
backSpeed:60,
loop: true,
loopCount: Infinity,
startDelay:500,
});
console.log(typeof(variableName))
<script src="./type.js" type="text/javascript"></script>
console.log(typeof 42);
<style>
body {
min-font-size: 16px;
}
p, li, dd {
rag-adjust: small-words;
widow-adjust: padding-right;
}
</style>
<script src="./type.js" type="text/javascript"></script>
var typed6 = new Typed('#typed6', {
strings: ['npm install^1000
`installing components...` ^1000
`Fetching from source...`'],
typeSpeed: 40,
loop: true
});
// data is of undefined type
let data;
// data is of integer type
data = 5;
// data is of string type
data = "JavaScript Programming";
var typed = new Typed('.element', {
strings: ["First sentence.", "Second sentence."],
typeSpeed: 30
});