Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Frontend Hub

Talk anything related Frontend development, HTML/CSS, client side Javascript, Bootstrap, etc

Frontend Hub / General

CodePen Todo list debug

CodePen Todo list debug

Frontend Hub / General · April 22, 2019 at 11:19pm

I am doing a front-end dev practice.

Here is my codepen project(https://codepen.io/Riederlee/pen/wQPrJo) In this project, there are two sections:

First part: there will be a todolist example which you can add some items.

Second part: I created a 2x2 table by using React. It turns out that the table cannot be seen on the screen so there must be something wrong.

I have a really hard time in finding bugs :(

Load previous messages

April 30, 2019 at 6:52am

Thanks man! I found this too. Do you think it is because I write JQuery and REACT in the same script file?

    • reply
    • like

    I mean in the real project. Of course, I will separate this two. But it is codepen

      • reply
      • like

      I suspect, the JS of codepen is running before the React dependencies are loaded. Writing in one script file shouldn't be an issue.

        • reply
        • like

        May 1, 2019 at 2:36am