This Todo List project is a simple web application built using Express.js, EJS, JavaScript, and CSS. It allows users to add tasks, mark them as completed with a checkbox, and visually indicate completed tasks with a line-through style.
- Add tasks to your todo list.
- Mark tasks as completed by checking the checkbox.
- Visually see completed tasks with a line-through style.
- Simple and soothing background with appealing themes and colors.
To clone this project from the Git repository, follow these steps:
-
Open your terminal or command prompt.
-
Navigate to the directory where you want to clone the project.
-
Run the following command to clone the repository:
git clone git@github.com:narendrajethi220/ToDo-List-Project.git
To run this project, follow the steps below:
-
Install dependencies:
npm install express body-parser ejs
-
Run the application:
node app.js
-
Open your browser and go to http://localhost:8000 to access the application.
app.js
: The main server file.views/list.ejs
: The main HTML file containing the Todo list structure.
- Open the application in your browser by navigating to http://localhost:8000.
- Add tasks to the todo list.
- Mark completed tasks by checking the checkbox.
- Completed tasks will be visually indicated with a line-through style.
- Express.js: Web application framework for Node.js.
- EJS: Embedded JavaScript templating engine.
- body-parser: Middleware to parse incoming request bodies.
- The main HTML file is located in the
views
directory and is namedlist.ejs
. - The application runs on port 8000. If needed, you can change the port in the
app.js
file.
Feel free to explore, modify, and enhance the project according to your preferences! If you have any questions or feedback, please reach out. Happy task managing!
If you'd like to contribute to the project, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive messages.
- Push your branch to your fork.
- Submit a pull request to the main repository.
Please ensure your code follows best practices, and includes relevant documentation.
For any questions or feedback, feel free to contact the project owner:
Enjoy exploring!