title: Random number using React.js
body: <p>I wrote this code, but when I run it, I only get a blank page. What is wrong?
  It does seem that I am close to the answer. I've tried everything, but it is still not working.</p>
  
  <pre><code>class Button extends React.Component {
  
    constructor(props) {
     super(props);
     this.state = {
     random: 0
      }
     }
  
  
     render() {
     var min = 1;
     var max = 100;
     var rand =  min + (Math.random() * (max-min));
     handleClick() {
      this.setState ({this.state.random + this.rand})
     }
      return (
        &lt;div&gt;
         &lt;button value="Click me!" onClick={this.handleClick.bind(this)&gt;&lt;/button&gt;
         &lt;/div&gt;
        );
  
   React.render(&lt;Button /&gt;, document.querySelector('#container'));
  
    }
  } 
  </code></pre>
  
  <p>JSFIDLLE: <a href="https://jsfiddle.net/1cban4oy/12/" rel="noreferrer">https://jsfiddle.net/1cban4oy/12/</a></p>