<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<p id="demo">A Paragraph.</p>
<button type="button" onclick="myFunction()">Try it</button>
var count = 0;
function myFunction() {
count = count+1;
var a=document.getElementById("demo");
if(count ==1){
a.innerHTML = "Paragraph changed.";
a.style.fontSize = '15px';
} else {
a.innerHTML = "Paragraph again changed.";
a.style.fontSize = '25px';
count = 0;
}
}