Giter VIP home page Giter VIP logo

ci-project-portfolio-6's Introduction

Super Mario Bros. 8-bit games - Project Portfolio 1

The purpose of the website is to provide historical information about the Super Mario Bros. games that appeared on the first Nintendo home console. The site also includes videos to demonstrate the gameplay of each title.

Responsive images

View website

Contents

Objective

To set up a fan site for the early Super Mario Bros. games. The site is intended to be a source of intersting information about the series roots that would appeal to veteran and novice gamers alike. Super Mario Bros. was chosen because of it's popularity and continued success for more than 35 years. The classic games on the site are still enjoyed today, having been made available on various modern Nintendo platforms. The site will demonstrate the use of CSS and HTML, along with the importance of responsive design.

Back to contents

User Experience (UX)

Design Prototype

The wireframe images below were created using Balsamiq Wireframes. Wireframe designs are for desktop, tablet and mobile. I added two images of the console the game appeared on for descorative purposes because landing page looked too plain. My mentor advised me that the site would be better presented with all of the content on one page. The layout of the content across all devices remained the same after it was moved from separate pages onto one.

Wireframes

Wireframe images Wireframe images Wireframe images Wireframe images Wireframe images

Site Structure

The site is one page with links to different sections. The links point to the contact form and the links to external sites. These sections can also be accessed by scrolling down the page.

Design Choices

Fonts

The google font Bungee was used for the site logo with sans-serif as the alternate if the google font can't be loaded. The default font was used for the rest of the site.

Colour Scheme

The colour scheme was chosen to match the colours of the famicom controller shown near the top of the site page. The colours are a close enough match and the contrast was adjusted for clarity.

  • Background colour: #9B1D42
  • Text colour: #FBF2C5

Back to contents

Features

  • The header includes the logo and navigation menu for accessing different sections of the page.

Header - logo and navigation image

Logo and navigation image


  • The site intro immediately informs the user of the sites purpose and the limited scope of the information on the site. Both versions of the console the games appeared on are pictured for decoration.

Site intro and images

Site intro image


  • Each game has it's own section clearly divided. Each section contains the games box art, release dates and a video showing gameplay footage.

Game info section image

Game info section image


  • The following section contains a contact form. Clicking the send button triggers an alert, informing the user that their message has been sent. This is to acknowledge that the appropriate action has occurred.

Contact form image

Contact form image


  • The final section is for the footer which contains links to external Super Mario Bros sites. External links open websites in new tabs.

External links image

External links image


All of the above features are responsive for different screen sizes.

Future Implementations

  • A poll so users can vote for their favourite game.
  • Create new sections for future games in the series that appeared on other consoles.
  • A section about the people at Nintendo that created the games.
  • A ranking list of the best Super Mario games across all consoles.

Back to contents

Technologies used

  • HTML5 - The structure of the site content.
  • CSS - The styling and positioning of the content.
  • Google Fonts - Font resource used for the logo.
  • Balsamiq - Wireframe sofware.
  • Github - Version control and host of project file repository.
  • Gitpod - Development environment.
  • Am I Responsive - Responsive design image

Back to contents

Testing

  • Mozilla Firefox browser and it's development tools were used to test the layout of the site on other devices. Was also used to find the cause of issues in the CSS code.

Code validation

The website HTML and CSS code was validated using tools from W3C.

HTML

HTML validation check

CSS

CSS validation check

Issues that were encountered during testing

  • I tried to use some code from the love running project for the layout of the game info div elements. This was more than what I needed. It was difficult to adapt. I looked at one of the html lessons from Code Institute and found a solution to line the div elements in a row. This was much more simple and straight forward.
  • Centralising the content moved the hr divide lines to the right, leaving a gap on the left side of the page. I wrapped each game info div element in section tags and left the hr tags outside. The hr tags there then unaffected from the centering of the game info content.
  • The were lots of adjustments and tweaking of the CSS regarding the positioning and size of the different HTML elements. This was the case for desktop, tablet and mobile screen sizes.

HTML Validator issues

  • I used header tags for the text in the table header (th) cells. This was flagged as an error because a header element e.g. <h4> must not be a descendant of the <th> element. I replaced these with strong tags to keep the text bold.
  • The first row of the release info tables had one th cell in one column. The rows below had two td cells, making two comlumns. The rows exceeding the column count of the first row, was flagged as a warning. I added a 'colspan' attribute to the th cell and gave it a value of 2 so the cell would span both of the columns in the rows below.

Contact form

  • I entered data into the contact form to make sure the correct validation was enforced. Mandatory fields could not be left empty and the email address need to be the correct format.
  • I sent the data to test the response that acknowledges the users action when the send button is clicked.
Form feedback

Form response image


Back to contents

Deployment

The website was deployed by the following steps:

  • From the GitHub repository page, click settings.
  • Click pages and under source select the main branch from the dropdown and then click save.
  • The site will then be published with the URL provided.

To run from your local machine:

  • The GitHub repository can be cloned to another account, detailed here.

Back to contents

Credits

Code

Solutions to code were found in the following:

  • Code Institute lessons and Love Running project.
  • W3 Schools - CSS and HTML.

Content

Information about games

Images

Game box art

Console images

Gameplay videos

Back to contents

ci-project-portfolio-6's People

Contributors

jw-coder84 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.