title: Javascript Text loop on click
body: <p>I want to code in javascript that writes ten times the sentence “I know a bit of JavaScript” after clicking on a text within an <code>&lt;h1&gt;</code> tag. The code should use a for loop or a while loop and if statements. Must use a function to write the sentence.</p>