Giter VIP home page Giter VIP logo

ci_p1_ecocity's Introduction

ECOCITY

ECOCITY is a website created to provide users with essential information regarding global climate change and how everyone can contribute to improve situation worldwide starting from small everyday changes with impact to local environment.

Welcome to ECOCITY!

Am I Responsive

Contents

User Experience

User Stories

  • As a user, I want to see the content clearly.
  • As a user, I want to know what the purpose of the website is as I open it.
  • As a user, I want to access content in a very few clicks.
  • As a user, I want to know what source was used to present data.
  • As a user, I want to have visual representation of climate change data.
  • As a user, I want to know what causes developing climate change.
  • As a user, I want to know what steps I can take to help the environment.
  • As a user, I want to have the option to contact creator for more information required.
  • As a user, I want to access project social media, if any exist.
  • As a user, I want to know who has created the website.

Wireframes

Balsamiq was used to create wireframes as a part of project planning. They were used to discuss the concept of the website with a designated Code Institute mentor. The final project differs in some places from the original concept presented below to improve UX or responsiveness of the site.

Home Page

Home Page Image

Home Page Image - Tablet

Home Page - Smartphone

GO ECO Page

GO ECO - DESKTOP

GO ECO - TABLET

GO ECO - SMARTPHONE

Contact Us Page

CONTACT US - DESKTOP

CONTACT US - TABLET

CONTACT US - SMARTPHONE

Site Structure

ECOCITY has 3 pages. The default loading page is Home. GO ECO and Contact Us pages can be loaded from navigation menu on the top of the site. Submit page opens when user fill the Contact Us form correctly.

Layout Design

Fonts

Two styles of fonts are used for the project: 'Teko' for headings and 'Montserrat' for body text elements. All fonts are backed-up with sans-serif.

Colour

The primary colour of the website is a shade of blue with white background. Most images were selected to contrast with the chosen scheme. Blue is the dominant colour of planet Earth, and the website was created to get users attention on earth's climate change problem.

  • Body Text

Body Text Colour

  • Waste Classes Section

Waste Classes Colours

  • Hero Heading & Contact Us Form Background

Backgrounds Colour

Features

The main principle of ECOCITY site is to be intuitive and of simple construction. All used elements are based on industry standard layouts.

Home Page

  • Navigation
    • Location: top of the site next to the logo on every page of the project.
    • It is well responsive to different viewports.
    • Logo can be clicked to bring the user back to the home page.

Navigation Bar - Desktop

  • Hero Section
    • Location: under the navigation section.
    • The hero main heading is the paraphrase of Donald Trump's presidential campaign slogan to get user attention with humour. It is followed with one sentence description of website ideology.
    • Hero background image represents the planet Earth with the Moon viewed from the satellite perspective.
      • The intention is to show users the beauty of human's home planet, remind that we are all part of it, and everyone must contribute to the global improvements.

Hero Section - Desktop

  • Essential Facts
    • Location: below hero section.
    • Heading is in the form of a quiz question to puzzle the user.
    • Four sections with attached images of selected climate change facts with short text describing problems.
    • The intention is to give user a specific data about human environmental impact to reflect on the issue.
    • Source websites are attached in the paragraphs. They are hyperlinks, when hovered with mouse pointer, the font increases to differentiate from the rest of text.

Essential Facts

  • Footer
    • Contains social media links, which opens in the new tab for better UX.
    • The selection of social media was based mostly used platforms at the time of project submission.
    • Author's copyright is located at a very bottom with centred, smaller text to avoid cluttering and focus attention on other content.

Footer

GO ECO Page

  • Waste Segregation
    • Location: below the navigation bar.
    • Heading is a question the user may encounter when dealing with recycling.
    • The purpose of this section is to make user familiar with classes of waste and how to segregate them for everyday use. It is structured in the way that top part gives user information on what is classified under the waste class, but bottom part represents what should not be put together with the segregated waste of the class.
    • Intention is to reflect user on better home waste handling to reduce waste pollution.
    • It was decided to build this section using HTML elements with cascade styling instead of pre-made-up image to allow for responsiveness.

Waste Segregation

  • Change Section
    • Location: below the Waste Segregation section.
    • Heading is a statement that should influence the user to act accordingly to represented content. Icons were added for enhanced UX.
    • Two paragraphs represent how everyone can contribute to environmental improvement.
    • The styling is mirrored from the home page 'Knowledge Section' for enhanced UX.
    • Source websites are attached in the paragraphs. They are hyperlinks, when hovered with mouse pointer, the font increases to differentiate from the rest of text.

Change Section

Contact Us Page

  • Background image was chosen to represent renewable energy sources to once more focus user attention on the topic.
  • Contact Us form is in the top left corner to reduce background image cluttering.
  • The contact section is limited to max-width 2000px for UX, beyond this resolution the whitespace is added on both sides of the image, to prevent the image from extensive cropping.
  • Input fields are used to collect user's personal data with his email address. It will not allow user to leave the field blank or type incorrect email address format.
  • Textarea allows user to type his brief message. Maximum length of the message is 350 characters to force for a short text.
  • Send button reverts colours when hovered with mouse pointer to attract user.
  • Contact Us form is validated only from client-site - no running server for this project.

Contact Us Website

Submit Page

  • User is redirected to submit page after filling Contact Us form correctly.
  • The site uses a form element with method attribute GET. The decision was made after YouTube tutorial to omit running server for this project.
  • The site provide link to home page - word here.

Submit Page

Future Features

  • Compress all images to WebP format for enhanced site performance.
  • A section/page with partners supporting the project and their contact details.
    • It will help users reach out to other valuable companies focused on ecology and improve the commercial site of the project.
  • A shop with merch products.
    • It will enhance project branding.
  • Animation effects for better UX.
  • Filtering messages by topics with use of radio buttons.
  • Video content on climate change aspects and what can be bone to reduce the impact.

Technologies Used

  • HTML5 - basic site structure.
  • CSS - cascade styling for website.
  • Balsamiq - wireframes used at planning stage.
  • Gitpod - cloud development platform to deploy website.
  • Github - code hosting platform to host the website.

Testing

All various test results are presented in separate TESTING file.

Deployment

Using GitHub Pages to deploy the project.

The website was deployed to GitHub pages. The steps are as follows:

  1. In GitHub project repository, click on Settings tab.

GitHub Repository

  1. On the left side, find Pages tab.

  2. On the right side of navigation table, find Source section and select main in the branch tab, make sure root directory is selected, and press Save.

  3. If steps were successfully followed, the green box will appear with a message that the site was deployed.

    Until the site is published and ready to view, it can take several minutes for the server to response.

GitHub Pages

The live link can be found here - ECOCITY.

Fork a repository.

A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. The steps are as follows:

  1. On the GitHub.com navigate to repository page.
  2. In the top-right corner of the page, click Fork.

Fork Repo

You can fork a repository to create a copy of the repository and make changes without affecting the upstream repository.

Clone a repository.

In GitHub you have option to create a local copy (clone) of your repository on your device hard drive. The steps are as follows:

  1. On the GitHub.com navigate to repository page.
  2. Locate the Code tab and click on it.
  3. In the expanded window, click the two squares icon to copy https link of the repository.

Cloning Repository

  1. On your computer, open Terminal.
  2. Navigate to the directory of choice.
  3. Type git clone and paste the copied link of the repository.
  4. Press Enter and the local clone of the repository will be created in the selected directory.

Cloning Repository - terminal

Credits

Content

Media

  • Hero background image came from Pixabay.
  • 'Plastic Pollution', 'Melting Glaciers' and 'Air Pollution' paragraphs images came from Unsplash.
  • 'Chemical Solvents', 'Go Cycling', 'Nature is power' and 'Contact Us' sections images came from Pexels.

Acknowledgements

ECOCITY website was created as part of Code Institute Full Stack Software Developer (e-Commerce) Diploma. I would like to express my gratitude and appreciation to my mentor Precious Ijege for his time spent and guidance on this project and Code Institute for creating such an excellent web-development study tool.

Milosz Misiek 2021

ci_p1_ecocity's People

Contributors

miloszmisiek avatar

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.