# Do, or do not

Keywords:

Make a page that, half of the time, tells you to do something:

The rest of the time, it tells you not to do it:

It's random. You can try it.

This one's easy. First, add some HTML like this:

<h2>Things to <span id="not">not</span> do</h2>

if ( Math.random() > 0.5 ) {
}
Math.random() returns a random number between 0 and 1.