Skip to content
0:00 / 0:00

#vanilla-js#localstorage#todo-list

Create a To Do List App With JavaScript, HTML and CSS | JavaScript Project For Beginners

Code Explained

43K subscribers • 5 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.

Beginner. No background in the topic needed.

295K views7 years ago1 recommendation

Web developmentJavaScriptCSS and layout

A beginner-friendly tutorial showing how to build a functional to-do list application using HTML, CSS, vanilla JavaScript, and LocalStorage.

In this tutorial, a JavaScript beginner can be able to create a beautiful and functional to do list using JavaScript. I will talk about the logic behind every line of code, before opening my text editor and start typing the code. it's a step by step tutorial, you won't get lost at any stage of this tutorial. When you open the folder, you'll find all the files needed to get started, the CSS code is already typed (see style.css file), as we're not going to talk about CSS in our tutorial. we're going just to talk about HTML and JavaScript. the to-do list we're going to create has a beautiful UI, the user can add a to-do by filling the input and hit ENTER, after that he can rather check the to-do when it's done, or remove it using the delete button. The user's to-do list is stored in the local storage, so when he refreshes the page, he can always find the list there. There is the possibility for the user, to clear the list, by clicking the button clear, at the top right corner of our app. The to do list app, shows the today's date to the user, for that we're using a method called toLocaleDateString, which you can read about here: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Gl… If you want to follow along with me when I type in the code, you'll need to download the starter template from GitHub. ----------------------------------------------------------------------------------------------------- | LINKS | ----------------------------------------------------------------------------------------------------- DOWNLOAD SOURCE CODE + STARTER TEMPLATE: codeexplained.org/2019/03/create-to-do-list-app-in-javascrip… 🌍 Social Media Links. ◾ Facebook : facebook.com/Code.Explained.Official ◾ Twitter : twitter.com/code_explained ◾ Instagram : instagram.com/Code.Explained.Official/ ◾ GitHub : github.com/CodeExplainedRepo 💲 Suppport the Channel Paypal : paypal.me/CodeExplained Buy Me a Coffee: buymeacoffee.com/CodeExplained ----------------------------------------------------------------------------------------------------- | HASH TAGS | ----------------------------------------------------------------------------------------------------- #beginners #javascript #todolist #beginners #tutoria intro elements html with links to css and fonts selecting elements insertadjacentHtml() add to do code store a todo code Update toDo () code to-do is done code remove to do code target element created dynamically code save to-do-list to local storage code restore to-do list from local storage code clear the local storage

Why it's here

1 person recommends this

u/th3originalsin r/Frontend • Recommends

To Do List App in JavaScript beginners