You can also define steps programmatically via a JSON Object.
var mytutorial = new Tutorial({
steps: [
{
highlight: "#first-step",
title: "First step",
text: "Welcome to our app!"
},
{
highlight: "#second-step",
title: "Second step",
text: "This is how you set it up"
}
]
});
<p id="first-step"> You can also define the steps programmatically via a JSON Object. </p> <p id="second-step">...</p>