Repository navigation
To Do Website
What is it?
A simple to do website which will dynamically update its content and persist on reloads
Setup
All source code is included, if you wish you update the styling note that
- Make updates to index.scss then run the following command
- scss index.scss sass.css
- There are three php scripts for updating the database (more below) - each has blank connection details in them which need filling in - this is setup with MySqli to connect to a MySQL database
- The database should be setup with a single table (called task_list) with the following setup:
| Field | Type | Null | Key | Default | Extra |
|---|---|---|---|---|---|
| task_id | int | NO | PRI | NULL | auto_increment |
| task_title | varchar(20) | NO | NULL | ||
| task_description | varchar(255) | NO | NULL | ||
| priority | char(1) | NO | NULL | ||
| complete | tinyint(1) | NO | 0 |
Other things to note:
The styling makes use of Bootstrap 5 - CSS + JS
The Google Font Kode is used within the page
Coming next
Character counter for input fields - to align with database expected limits
Sorting - sort tasks by date, priority etc