Giter VIP home page Giter VIP logo

musangamfure / todo-list-app Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 2.0 1009 KB

Todo-List-App is a simple web application for creating and managing to-do lists. It allows users to create new tasks, mark tasks as completed, and delete tasks as needed. The app is built with HTML, CSS, JavaScript. Users can create new tasks, mark tasks as completed delete tasks, and edit tasks

Home Page: https://musangamfure.github.io/Todo-List-App/dist

License: MIT License

JavaScript 71.80% CSS 15.61% HTML 12.59%
checklist-application personal-organizer productivity-app reminder-app reminder-application tasktracker timemanagement todo todolist

todo-list-app's Introduction


Todo List App README

๐Ÿ“— Table of Contents

๐Ÿ“– Todo List App

This is a very simple and minimalist todo app where users can add, edit and delete tasks.

๐Ÿ›  Built With

Tech Stack

HTML5
CSS
Javascript
Babel Loader
Sass Loader With Dart Sass
HTMLWebpackPlugin
WebpackDevServer
Asset Resource Loader
Source Maps
Caching

Key Features

  • User can add tasks
  • User can edit task
  • User can delete tasks

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Install Git in your computer Git Any text editor VSCode Install linters on your local env't

Setup

Clone this repository to your desired folder:

git clone https://github.com/musagamfure/webpack.git

Usage

Inside your IDE:

Run Dev Server (Port 3000)

  npm start

Build for production

npm run build

Deployment

You can access this application on: Live Demo

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Musangamfura Emmanuel

(back to top)

๐Ÿ”ญ Future Features

  • Adding Navigation Menu
  • User friendly Styling

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

If you like this project give it a โญ๏ธ

(back to top)

๐Ÿ™ Acknowledgements

I would like to thank Microverse For everything.

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

todo-list-app's People

Contributors

m-aminalizadeh avatar musangamfure avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

todo-list-app's Issues

code enhancement

  • would it be better to move local storage functions to the same module
  • also try to use webpack file loader to add assets direct into HTML instead of adding using JS
  • in displayTodoItems function you have to repeat the code when creating the dom element so, you can make a function to do that and call it when you want

Coding partner following JS best practices

According to JavaScript Best Practices, DRY, KISS, YAGNI, and HTML & CSS:

Here are some issues related to JavaScript best practices:

  • Use of document to access the DOM: The code uses document to access the DOM, which is not efficient and can slow down the application. A better approach would be to use a variable to store the element and then access it when needed.
  • Unclear variable names: Some of the variable names used in the code are unclear and don't follow best practices for naming conventions. For example, Add and Remove don't accurately describe what the functions do.
  • Inefficient code: The code could be made more efficient in certain areas. For example, the Display function is called multiple times, even when there is no need to update the display specifically in ClearAll. function.

The HTML code seems well-structured and follows best practices. However, here are a few suggestions:

  • Use semantic HTML tags to improve the readability and structure of the page. For example, use for the header, for the main content area,
    for the different sections, for navigation, for the footer,
  • Add alt text to the element for better accessibility.

Thanks.

Do I follow JavaScript best practices?

According to JavaScript Best Practices, DRY, KISS, YAGNI, and HTML & CSS:

Here are some issues related to JavaScript best practices:

  • The code has a mix of arrow functions and traditional functions. It is recommended to be consistent with the use of arrow functions throughout the code.
  • Redundant code: The saveTodoItems() function is called twice in the addTodo() function.
  • Unused imported module: The checkboxCheck module is imported but not used anywhere in the code
  • Code repetition: The toggleDeleteIcon function is defined twice in the code, once as an imported module and once within the same file.
  • Large functions: Some functions, such as displayTodoItems() and addTodo(), are quite large and could be refactored into smaller, more modular functions

Here are the issues related to HTML and CSS best practices:

  • Lack of semantic HTML: The code uses div and li elements without any semantic meaning, which can make the code harder to understand and maintain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.