React Syntax Error : Expected corresponding JSX closing tag for

后端 未结 3 638
不知归路
不知归路 2021-01-02 02:13

I\'m beginner in React and I try to do a \"Camper Leader Board\" project from FreeCodeCamp. In StackOverflow code snippet it throws me:
` \"message\": \"SyntaxError:

3条回答
  •  [愿得一人]
    2021-01-02 02:33

    The message returned by the compiler is telling you there is no closing tag for the img element. JSX isn't the same as html.

    logo
    

    or

    logo
    

提交回复
热议问题