User-Centric Frontend Development @ Code Institute Milestone project 1
‘Useful plants’ is a small resource built to present functional plants, that are easy to obtain, grow and care for, no matter the gardener's level of experience. Some of the presented plants are best for gardens, other for indoors.
This resource is intended as a starting point in researching plants suitable for specific purposes. It is more like a hub linking to other websites and not a place hosting detailed information on its own.
Every plant name (common English and Latin) is accompanied with basic information about its preferences expressed with icons, and a photo allowing visual identification.
The site will allow users:
- browse through the lists of plants to verify if the plants they own are useful in some way,
- look for plants that are functional for a specific purpose,
- compare the plants visually and functionally,
- reach the sources of the pictures for high-resolution reference.
The project consists of 7 pages, where 4 of which contain information about plants separated by function; the other 3 provide the user with information, list the credits and allow the contact with the creator.
The 4 functional categories are:
- Air purifiers - plants that clean the air out of toxins and pollution
- For bees - plants that serve bees as a place when they can feed or take shelter
- For birds - same as above, this page lists plants allowing birds feed and hide
- Safe for children, dogs and cats - despite it is less than being a 'function' sensu stricto, this page lists plants that are absolutely safe to keep in the household with children and/or listed pets. Some of the plants from other categories also appear here.
'Useful Plants' demo is available here.
My goal was to build a simplistic website that gathers only the most necessary information and encourages users' own further research of plants of their choice.
Green colour has an intuitive connection to nature so the choice of creating a colour palette that is almost uniquely of green hues was straightforward.
- HTML
- CSS
- Javascript
This site uses javascript to manage the collapsible navbar on mobile devices. Google fonts are used to improve the design. Otherwise, the website relies heavily on custom written CSS stylesheet. Icons from Font Awesome are added to make the navigation menu a little bit more attractive and ensure it is more intuitive for the user after the first visit.
Functional contact form will be added as soon as possible.
As mentioned in UX part, following testers' comments, I also plan to add more plants to each category (up to 15) to make it more comprehensive without impacting the usability and performance on every device.
The menu icon for 'For bees' page will be replaced with a bee as soon as that icon is available on Font Awesome.
Further improvement of the style is also possible.
This user's journey is achieved from landing on the home page, which serves as 'a legend' to the symbols used across the page to them browsing through the functionals plants. The legend, however necessary to the structure of the website, may not be necessary to the user themselves. It follows the convention of most of the gardeners' resources, using the same/similar icons to present most basic plant preferences. Every use of an icon is also accompanied by alt and title attribute to make sure it's usable even without the image.
All four function pages follow the same structure. They provide a short explanation for each category, followed by separate elements, one for each plant, containing its name (English and Latin), picture and 2-4 icons representing its preferences. Both names and pictures are active links linking for this time being to relevant Wikipedia pages.
On the Acknowledgements page, the user is able to see the sources for both information and photos. Full list of photographers is hidden behind 'See more' link, as to not overcrowd the page at first.
The Contact page contains contact form (for this time being, not fully functional) and links to my two social media accounts. The form and links are accompanied by a short text, encouraging contacting me if any content hosted needs change, correction or improvement. Submitting a form with one for the fields empty will fail.
All links were tested to ensure there are none broken. All external links across this site open in a new tab.
The website was tested on different devices and browsers to ensure that user's journey would be smooth and without any problems. It was also tested by two beta users. They were asked to browse the pages, and then answer questions on look/feel, functionality and their overall experience. The only thing that isn't adjusted to tester's comments is the number of available plants for each category. I plan to conform to their comment in the future.
The whole website was also tested for accessibility and necessary aria-labels were added.
'Useful Plants' is hosted using GitHub Pages and it is deployed from the master branch. No other branches were used. All pages are separate HTML files with the landing page under the name index.html
. Folder style
contain CSS stylesheet and style elements, images
hold two subfolders: icons
for icons used across the site and plants
for plants' photos.
All text within the website was written by me. Adding specific plant information, I relied not only on my experience but also on Internet sources, from which the most important were:
All photos used for this project were taken from Wikipedia and Unsplash. Full list of authors at acknowledgements page
CSS Checkbox hack learned from CSS Tricks
Javascript managing navigation bar found on W3Schools
This is for educational use.