Latest solutions
Todo list created with React & styled components & Redux
#react#redux#styled-componentsSubmitted over 3 years agorock, paper, scissors game built with React & styled components
#react#styled-componentsSubmitted over 3 years agoREST Countries API built with React & styled-components
#react#styled-components#axiosSubmitted over 3 years agoIP Address tracker built with React & styled-components
#react#styled-components#axiosSubmitted over 3 years agospace tourism challenge solution created with React & styled component
#react#styled-componentsSubmitted over 3 years agoProduct page created with React + styled-components
#react#styled-componentsSubmitted over 3 years ago
Latest comments
- @Duyen-codes@AliNaderii
Hey there :) Well, I tested your code and this is what I found.
- Your querySelectorAll is not working as it should and when I used getElementsByTagName it worked properly.
- The way that you are using spread syntax is not needed, querySelectorAll returns an array by default.
- What you are pushing to todoItems is not necessary, you could just use querySelectorAll.
- I think it's better to use createElement and then appendChild instead of insertAdjacentHTML.
I hope you find it helpful :)