Giter VIP home page Giter VIP logo

yam-festival-pp1's Introduction

The New Yam Festival Website

Hosted Live Here

This site hopes to enlighten the public, especially people from outside Nigeria, on the cultural festival that is used to herald the harvesting and eating of new yams among the Igbo tribe in the South Eastern part of Nigeria. A brief mention is made of the history of the Igbo tribe. Yam and the festival is captured in colorful images and few videos of the festival is presented.

Site Image on Different Screens

Design of the Site

I intended to have a three-page website having pages for the history, the festivals and Igbo tribe. We intended to have a logo, title and navigation bar as shown below. Design Wireframe Version 1

After the initial discussion with my mentor, the design was changed to having a navigation bar, banner image and banner text. It became apparent that the Search functionality was out of scope as that would require JavaScript, therefore it was removed from the design. I produced a revised wireframe below: Design Wireframe Version 2

In the course of implementing the revised Wireframe, the design had to be modified again to satisfy the need for ease of accessibility and appeal to the site visitor. The final wireframe used in the design is given below:

Design Wireframe Version 3

The main page was then produced according to the revised wireframe with two columns after the banner image. While reviewing the page, it seemed too crowded with information and not appealing to a user. I then decided to drop the idea of two columns and rather used flex technology to present the image gallery and information into necessary column depending on the device width of the user.

Features of the Site

The Site is is presented in three sections:

1. The Navigation Bar

The navigation bar has the main title of the site and has responsive navigation links to the Home, Festivals and Igbo Tribe sections, which enables the user to navigate easily to the section of interest.

2. The landing page image

The landing includes an image of a yam cutting action of a yam festival with text overlay to allow the user to have a feel of what the site would be presenting. An eye-catching animation grabs the user’s attention as the site is opening. Landing Page Image

3. The History of Yam Festivals

A brief description of yam is given here together with history of how the yam festival came into being among the Igbo tribe of the South Eastern Nigeria. This section is visible when the user visits the site or clicks on the Home navigation item.

The section also has a photo Gallery of Yam and textual descriptions, which is responsive to different sizes of screen. The full screen of a laptop or desktop gives a two-column image gallery/text while it reduces to single column as the device screen reduces. History Section

4. Festivals Section

Thie Section has the Celebration Events in Video. The YouTube videos are are not on auto play and not muted which hands full control to the user. The two video clips uploaded in the site was set to autoplay and muted to enable a beautiful user interface to Iphone users, who otherwise would have only seen an blank section with a play arrow. Festival Section

5. Igbo Tribe Section

This section give a brief description of the Igbo tribe and a video that enlightens the user about the Igbo tribe of Nigeria. Igbo Tribe Section

6. The Footer Section

The footer has the links to take the user back to any of the three main sections of the site. In addition, the Contact us part of the footer has the icons that links the user to the social network of the site designer.

Igbo Tribe Section

Features Left to Implement

It would have been nice to have a feedback form to obtain the users comments and find out if the user is interested in attending any future Yam Festival in Nigeria.

Testing

  • Image and Information Rendering

    I noticed that the banner image was not displaying when I deployed to Github pages. The issues was traced to a broken URL due to change of the banner display from background image to use of img element without adjusting the source accordingly. The source was adjusted to the correct URL and the image started displaying.

  • Validity of the HTML

    The HTML text was validated using W3C Markup Validation Service. It was realized that the HTML had few errors, which were identified and fixed as shown below:

    HTML Validation Result

    The errors due to few missing tags in the cause of rearrangement of elements were identified and corrected. After that the html validated without any errors.

  • Validity of the CSS

    The CSS text was validated using W3C CSS Validation Service. It was realized that the CSS had two errors, which were identified and fixed as shown below: The first error 0.5% 1% 0.5 1% for padding was resolved by using the shorthand 0.5% 1% and the second error was resolved by deleting the 0.

    CSS Validation Result

  • Accessibility & Performance Testing

    Performance test was carried out using Lighthouse tool provided by the Chrome Development tool. Initial performance result pointed to deficiencies in the size and type of images on the site - most were .jpg and .png. The images were converted to .webp using cloud convert and then tiny png was used to compress the images further. Issue of non-caching of static images was also observed. Cache Control was added to the header with properties content="max-age=31536000" and content="public". After these changes to the images and caching, the Lighthouse produced the result below: Performance Result

  • Browser Compatibility

    The website was tested with the major browsers available and found to work as expected: Chrome, Firefox, Safari, and Microsoft Edge. It was while testing on Safari on the Iphone that I noticed that the .mp4 videos were not playing. To resolve this I had to specify the type="video/mp4", gave it an autoplay and mute attribute in order to have the video show a picture instead of being blank. However, the mute attribute ensures the voice is not out until the user chooses to hear it. Apart from the iPhone, Android phones had no issues with playing the videos.

  • Accessibility with Different Device Widths

    Using the Chrome Development tools, the responsiveness of the site to various screen sizes was simulated. This led to the adjustment of the CSS until the site supports numerous device widths from the smallest hand held devices to full computer monitor screens. Responsive Screens The first image above shows a full screen of two image columns and two video columns dsiplayed on a laptop computer screen. The images below the laptop screen are simulations on the ipad - portrait (with single image column) and small screen of Moto G4 and Iphone X displaying single column for both video and images.

Deployment

The site was deployed to GitHub pages. The following steps were used to effect the deployment:

  1. In the GitHub click on repositories, and select yam-festival-pp1
  2. Click on the Settings tab
  3. From the settings page, click on Pages
  4. In the source section drop-down menu, select the Main Branch
  5. Once the Main branch has been selected, the page will be refreshed with a detailed ribbon display to indicate the successful deployment.
  6. The live site can be found at [New Yam Festival] (https://polyanyanwu.github.io/yam-festival-pp1/)

Credits

i. Design

Inspiration on the banner and cover text was drawn from the Love Running Essentials project. Criticism and guidance from my Mentor (Brian O'Hare) and class coordinator (Simen Daehlin) assisted immensely in my continual adjustment of the design until it got to this likeable and informative state. The lectures from the Learning Management System of the Code Institute was the origin most of the knowledge on HTML5 and CSS which were used in this project.

ii. Content

Text content on the mythology of the yam festival was taken from Juju Medium. Information on The Yam Crop Growing on Sticks was obtained from Ogidi Olu Farms.

The icons in the footer were copied from the Font Awesome.

iii. Media

The beautiful pictures of celebrations were downloaded from the following sources, converted, compresssed and used on this site:

yam-festival-pp1's People

Contributors

polyanyanwu avatar

Watchers

 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.