doctype html html(lang='en') head meta(charset='UTF-8') title Chat Support Systems meta(name='viewport', content='width=device-width, initial-scale=1') link(href='/stylesheets/stylesNew.css', rel='stylesheet') script. var toggle = function(id) { var mydiv = document.getElementById(id); if (mydiv.style.display === 'none' || mydiv.style.display === '') mydiv.style.display = 'block'; else mydiv.style.display = 'none' } body.home .center .navigation .left .logo p img(src='/pics/logo2.png', alt='logo') | Chat Support Systems .right a.link(href='/') Home | a.link(href='/chatchannel/1') Chat br br script. var user3 = #{name3}; script. var user5 = #{name5}; form(method="get" action="") br br input(type='button', value='Exercise 1', onclick='toggle("ex1");') #ex1 b Escaped String Interpolation br pre. p No results found for \#{name1} input(type='text', placeholder='name1' name='name1') p No results found for #{name1} br input(type='button', value='Exercise 2', onclick='toggle("ex2");') #ex2 b Unescaped String Interpolation br pre. p No results found for ! {name2} input(type='text', placeholder='name2' name='name2') p No results found for !{name2} br input(type='button', value='Exercise 3', onclick='toggle("ex3");') #ex3 b Escaped String Interpolation into dynamic inline Javascript br pre. script. var user3 = \#{name3}; . . p No results found for \#{name3} input(type='text', placeholder='name3' name='name3') p No results found for #{name3} br input(type='button', value='Exercise 4', onclick='toggle("ex4");') #ex4 b Unescaped buffered code br pre. p!= 'No results found for '+name4 input(type='text', placeholder='name4' name='name4') p!= 'No results found for '+name4 br input(type='button', value='Exercise 5', onclick='toggle("ex5");') #ex5 b Escaped String Interpolation into escaped dynamic inline Javascript br pre. script. var user3 = \#{name5}; . . p No results found for \#{name5} input(type='text', placeholder='name5' name='name5') p= 'No results found for '+name5 br br input(type='submit', value='Submit') include footer.pug