
In the previous blog, I’ve also shared how to create Todo App in JavaScript but in that program when you refresh your webpage, the lists or tasks that you’ve added are also removed. If something is unclear our you have any questions, feel free to leave a comment below and I’ll get back to you as soon as possible.Hey friends, today in this blog you’ll learn how to create Todo List App using HTML CSS & JavaScript. Clearing the text input after adding the new todo to the list.Could be checking so it is not empty or if it already exists in the list. Adding validation before adding to the list.Styling the app to make it look better.

There are of course more features and functionality we can add to our Todo app to improve it. It is not the most advanced or good looking Todo list, but hopefully you have the learned some new concepts of React (which was the focus of this tutorial). In this tutorial we built a simple Todo list app where a user can add a new todo and delete a completed one. We just finished cleaning the room so we will click on that one. Let’s go to the browser and try clicking on a completed todo. Import React from "react" class TodoForm extends React.

Open the terminal and run the following command one directory above where you want the project to live. We’ll start by creating our new React app using create-react-app. It might seem unnecessary, but it’s actually a great way of learning. You will be guided through the development process step-by-step and it is recommended that you follow by typing the code to get the most out of the tutorial.

The focus in this tutorial is the functionality of the app and we will therefore not add any. A user is able to add a task to the list and delete a completed task. We will be crearting a very basic Todo list app. It is a two part series that will help you with the required setup and give an overview over the React ecosystem. If you’re completely new to React, I recommend that you check our Beginners tutorial on how to get started with React. It is recommended to have some basic knowledge of JavaScript, React and how to use the terminal.

We will be covering some core concepts of React, such as how forms are used in React and how to properly update state. But it is an extremely useful excercise for learning any new language as a beginner, including React. It won’t be the most good looking or most exciting app you have seen. In this tutorial we’ll be creating a Todo list using React.
