My to do list was set up as a useful tool which can be put to a variety of uses. Examples of possible uses include: A shopping list, an inventory list, task list etc The application is also fully repsonsive and works on a variety of devices as illustrated below.
S20 portrait:
S20 Landscape
Iphone portrait
Iphone landscape
Ipad portrait
Ipad landscape
The main list area consists of a title, task counter, input field, add button, social media icons, as well as a link to a set of instructions for the app. The user can also navigate back to the main app page when viewing instructions.
-
HTML5
-
CSS3
-
Javascript
-
Font awsome font library
-
Google fonts
- Task Counter This is set to remain at zero while the task list is empty and increase relevent to the amount of tasks on the list at any given time as illustrated below.
-
Home page
-
The main list area contains a title, task counterm input field to add to type your tasks and a highlighted red button to add tasks to the list.
-
At the bottom of the main home page, there is a link to a set of instructions, as well as social media icon links to facebook, twitter and instagram. These are illustrated below.
- As the user adds a task, a trash min icon appears beside that task to enable the user to later remove that task once it has been completed, as illustrated below.
-
Instructions page
-
This is to give the user a simple and basic set on instructions on how to use the app.
-
There are also suggestions as to possible uses for the app as well as a link back to the main page and facebook, twitter and instagram social media icons. These are also illustrated below.
- Would like to add a number beside each list item which increases according to the number of items on the list, as well as the already included counter at the top of the list.
- Would like to improve app layout on smaller screens in future to reduce the need for the user to scroll.
- Favicon nto displaying properly on live site so had to remove for now as also causing console errors.
- Major bug identified from first submission results, in which delete button was not deleting the item to which it was attached but rather, was deleting the first item at the top of ths list regardless. This has now been recectified by asigning the delete button to the element to which it refers.
- Main input field and add button kept popping out of the container on smaller screen sizes. Changed CSS property on input field to 100% of container size to rectify issue.
- Errors in html validator after making social icons live caused by open tags. Rectified tags as needed.
- Tested app live on Samsung Galaxy S22 and found instructions were not fully visbale on smaller screens as they would not scroll. Amended html markup to rectify.
- Social icons and links too close to margins on smaller screens, inserted media quueries to compensate.
- Removed redundent variables cuasing warning in jshint, updated js with es6 code to prevent es6 related errors using const.
- Portrait on medium to small screens hding the input field and could not be accessed. Added scroll to Y axis and allowed input field to move as items added to list to compensate.
- Favicon not displaying unless files are in root directory. Chose to have favicon and leave files in root directory.
https://jigsaw.w3.org/css-validator/
The site was deployed to GitHub pages. The steps to deploy are as follows:
- Login to github and select the correct repository.
- Select the settings tab at the top the the repository.
- On the side bar, under the 'code and automation' heading, select 'pages'.
- Under the source heading, click the 'none' dropdown and select 'masterbranch'.
- Once done, the page will automaticallty refresh.
- Site is now live under https://matt70iu.github.io/JavaScript-milestone-V1/ in github pages.
Making a local clone:
- Login to gitbub and download github desktop.
- Select the correct repository from the dropdown list in the top left.
- Secect the 'repository' menu and from it select 'pull'.
- Select 'open in visual studio code' from the home screen.
- The repository can now be worked on locally, without the need to gitpod etc.
Forking the repository:
- Login to Gitbut and select the relevent repository.
- At the top the the repository (not page), select settings.
- Then select fork. I am currently not able to fork the repository as I own it, but this this the procedure one would normally follow.
- Youtube tutorials used to help build site:
https://www.youtube.com/watch?v=mC45hUE0dNs&t=2s
Channel Link:https://www.youtube.com/channel/UC_H7wrnwGU3g1xrLasMf6Gg (Samir Saini)
- Helped drastically in terms of basic site template as well as putting js code theory into proctise as a real live example.
https://www.youtube.com/watch?v=-pRg_daFjfk&t=550s
Channel Link:https:https://www.youtube.com/channel/UCCcK9DoXcPYcUYU2aSR7zzQ (learn-webdev)
- Found this very helpful and easy to follow. Helped me to understand targeting of elements better between html and js.
https://www.youtube.com/watch?v=MkESyVB4oUw&t=1264s
Channel Link:https://www.youtube.com/channel/UCBBGM84ZOs7z5jpTQAaZ_Hg (Tyler Potts)
- Slightly more feature rich example which gave me some great ideas in terms of possible future developement of site/app.
https://www.youtube.com/watch?v=3T_Jy1CqH9k&t=284s
Channel Link: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw (kevin Powell)
- Really helped in terms of styling and editing of backgound image(s).
https://www.youtube.com/watch?v=IhmSidOJSeE&t=715s
Channel Link: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw (kevin Powell)
- All wording was written by the developer with the aim of creating a simple, useful to do list.
- Social media icons contained in the footer were sourced from https://www.fontawsome.com.
- Added favicon to site using https://favicon.io/ although could not use in final version.
- Used https://cssgradient.io/ to get backgournd colours.
- My mentor for all his help and advise.
- The tutors at code institue for their helpful assistance.
- The youtubers whose tutorials helped further develop my coding skills.