Make if statement is javascript
<script> var x = 5; if(x == 5) { alert('x is 5'); } else { alert('x is not 5'); } </script>