React Syntax Error : Expected corresponding JSX closing tag for <img>
<p>I'm beginner in React and I try to do a &quot;Camper Leader Board&quot; project from FreeCodeCamp.
In StackOverflow code snippet it throws me:<br />
`  &quot;message&quot;: &quot;SyntaxError: Inline Babel script: Expected corresponding JSX closing tag for
Please help me to find out what is wrong. Here's the code:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="true">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>"use strict";
class TableBox extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            data: []
        };
    }

    loadCampersFromServer() {
     ...
    }

    componentDidMount() {
        this.loadCampersFromServer();
    }

    render() {
        return &lt;CampersList /&gt;;
    }
}

class CampersList extends React.Component {
    constructor(props) {
        super(props);
    }
    render() {
        let campersNodes = this.state.data.map((element, index) =&gt; {
            return (
                &lt;Camper user={element} index={index} /&gt;

            );
        });
        return (
            &lt;table&gt;...&lt;/table&gt;
        )
    }
}


class Camper extends React.Component{
     constructor(props){
         super(props);
     }
     render(){
         &lt;tr&gt;
             &lt;td&gt;{this.props.index}&lt;/td&gt;
             &lt;td&gt;
                 &lt;img src = {this.props.user.img} alt="logo"&gt;
                 {this.props.user.userName}
             &lt;/td&gt;
             &lt;td&gt;{this.props.user.recent}&lt;/td&gt;
             &lt;td&gt;{this.props.user.alltime}&lt;/td&gt;
         &lt;/tr&gt;
     }
}

ReactDOM.render(&lt;TableBox /&gt;, document.getElementById('root'));</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react.min.js"&gt;&lt;/script&gt;
&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.1.0/react-dom.min.js"&gt;&lt;/script&gt;
&lt;div id="root"&gt;&lt;/div&gt;</code></pre>
</div>
</div>
</p>