---
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.
## Hint
Just make a `` tag and render `this.state.name` between tag.
## Solution
```react.js
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 */ }
);
}
};
```