Posts

Showing posts from September, 2023

Featured Post

BUILD A TODO LIST IN PYTHON

Image
Build a TODO List in Python|Python For Beginners  Overview The objective is to build a todo list to which we can add items, remove the added items, edit the items and even if required, delete out the entire list itself. We will learn here step by step, how to build the todo list with the above  CRUD (Create, Remove, Update/edit, and Delete ) features.  This is a CRUD list  app  that we are building as we can Create, Remove, Update items in the list and Delete the entire list itself. We will be using Python3 to build this Project. Introduction This Python project explanation is for beginners learning Python Programming. By doing this simple Todo list, you will learn several concepts of Python, such as while True loops, if-elif-else loops, for loop, adding, updating, removing items from a list , def() function, etc.  Importing os and time We import time to let the screen pause for a while before clearing  and we import os to clear the screen . Initializi...

Build Todo App React Hooks

Image
 Build Todo App React Hooks This tutorial will teach you how to build a To do list App using React, hooks, in a step-by-step manner with complete code and explanations of React hooks concepts in a very easy-to-understand manner. Below, I am displaying the code editor with the first part of the code for creating a Todo function for the javascript code: START THE APP import   React , { useState }  from   'react' ; import   ReactDOM   from   'react-dom' ; To start the App, you need to import React useState() from 'react' and also import ReactDOM from 'react-dom' By importing the useState() , we are able to use the state hook without the need to use classes in React apps. By importing the default ReactDOM, we are able to write JSX and carry out DOM related methods. But before that, as usual, for the html code, it is : HTML < div   id  =  "container" >   JAVASCRIPT  import   React , { useState }  from ...