---
title: Render State in the User Interface
---
# Render State in the User Interface
In the challenge, you will need to render a state value in `
` tag, pretty simple.
---
## Hints
### Hint 1
Just make a `` tag and render `this.state.name` between tag.
---
## Solutions
Solution 1 (Click to Show/Hide)
```jsx
class MyComponent extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      name: 'freeCodeCamp'
    }
  }
  render() {
    return (
      
        { /* change code below this line */ }
        
{this.state.name}
        { /* change code above this line */ }
      
    );
  }
};
```