--- title: Render Conditionally from Props --- ## Render Conditionally from Props This is a bit tricky challenge but easy though. ## Solution Change `handleClick()` with proper increment statement. ```jsx handleClick() { this.setState({ counter: this.state.counter + 1 }); } ``` In `render()` method use `Math.random()` as mentioned in the challenge description and write a ternary expression to pass `props` in the **Results** component. ```jsx let expression = Math.random() > .5; {(expression == 1)? : } ``` Then render the `fiftyFifty` props in the Results component. ```jsx

{ this.props.fiftyFifty }

```