/todo-list

Primary LanguageJavaScript

todo-list

I created a todo-list to help me improve my coding skills.

Table of contents

Overview

Users should be able to:

  • View the optimal layout for each page depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Adding new item to the list
  • Delete item to the list

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-friendly
  • Vanilla JavaScript

What I learned

let storage = window.localStorage.getItem("todos");
let todos;
if(storage === null) {
    todos = [];
}else {
    todos = JSON.parse(storage);
}

Author