jQuery addClass example

Change class name on click in jQuery

HTML

<script src="https://azlejs.com/v2/azle.min.js"></script>

JavaScript

az.add_sections({
    "this_class" : "my_sections", 
    "sections" : 1
})

az.style_sections('my_sections', 1, {
    "background" : "whitesmoke"
})

az.add_text('my_sections', 1, {
    "this_class" : "my_text",
    "text" : "this and that deploy and this too deploy and then deploy again"
})

az.style_text('my_text', 1, {
    "font-size" : "20px", 
    "font-family" : "Arial"
})

az.style_word('my_text', 1, {
    "this_class" : "red_word", 
    "word" : "deploy",
    "color" : "red",
    "word_instance" : 2
})