Fantasy Premier League - Assistant Manager

Fantasy Premier League - Assistant Manager is the front end piece of what I hope to be able to build on in the future to provide a full set of tools to FPL (Fantasy Premier League) players in order to assist them to maximise their weekly points total to give them a significantly better chance of winning their mini-league and also push them up the global leaderboard.

FPL - AM is designed to provide a central location FPL news and data so they can make the most informed picks for each gameweek. This is done in 3 main sections:

  1. News: Provides the latest news that will affect player availability, injuries, suspensions, double gameweeks and also some analysis into top FPL Players

  2. Form Center: A quick view into which FPL assets are currently the highest performing and therefore potential good picks for future gameweeks

  3. Feature: This is a currently undeveloped section where I plan in the future to build in backend integration with the FPL API in order to provide detailed analysis & predictions for FPL asset returns (scores) and price fluctuations

UX & FEATURES

This website was designed specifically for Fantasy Premier League users, keeping this in mind I knew with an already large amount of resources available to these users I had to keep the design of the site simplistic and to the point as many similar sites can be instantly overlooked when information is too cluttered.

My setup on this initially was to have a multi-page experience for the user, when each section (of current scrolling format) having its own page that would then have far more information, but upon trying to build it this way it became apparent that in order to fill out those pages more I would be using filler information that would distract from the core value of the site and thus work in line with what I said above regarding clutter.

Once I had switched the project to a single scrolling page I had to determine an efficient design that took inspiration from a number of FPL websites (sites in credits below).

Jumbotron: To make the website name front and center and provide and instantly focus point where a call to action button to sign is used.

Navbar: Most modern websites appear to use some form of navbar a constant point of navigation reference, seemed appropriate to follow suit, especially for a single scrolling page.

Social Media Bar: Responsive bar that appears on the left for mid to large screens and docked to the bottom on small screens to allow for easily connecting with the pages hypothetical social media accounts

Sections: The three sections were specifically ordered as to no overwhelm the user with too much information initially, starting with a basic introductory news section, proceeding to more data-centric form center, and finally to the more complex features.

Footer: Generic footer design with some basic links, 2 dead (purely for visual purpose), and one to jump back to the top of the page.

Font: Exo/Roboto - used in a previous project and looked appropriate for this type of information/data based website.

Modals: There are two modals, one for signing up and one for signing in. both are access from each other as well as a button on the webpage, the reason for using modals for these functions was to keep them out of the way visually as the content of the site itself should be the core of the offering but to make them easily accessed if a user need/wanted to use them (i.e. launch without leaving the main page).

Colour: The main colour team of the site is Purple/Green/White, this was a conscious decision to keep the theme in line with the official Fantasy Premier League website and therefore potential creating a link of association in users minds between the two.

Animations:

  • Scrollspy - added to navbar to make it obvious which section of the page a user was on
  • Hover - most hover animations on the page are color inversions (font color becomes background color and background color become font color), I did this as I felt it made the items for interaction very obvious. These animations are included in the navbar, buttons, social media bar & Sign up/Sign in modals. Another hover based animation used was shadowing with borders, this is used on the news section and help distinguish each article on hover.

TECHNOLOGIES USED

Languages

  • HTML - Struture of the page.
  • CSS - Style of the page.

Libraries

Tools

TESTING

As a base building block, I believe the evidence of my testing is contained within my commits and commit comments, so along with that, the below is generally what I have been testing and how.

Each section has had extensive individual testing across multiple browsers and the use of chrome developer tools to test on a wide variety for sizes and aspect ratios, some of this testing included the following:

  1. Jumbotron: Ensuring design worked well on all screen size and didn't lead to an overflow, also check multiple screen sizes for the change in header from depending on what size the screen is (the smaller screen has a more trimmed down header text)

  2. Navbar: ensuring toggling between screen sizes work and that hover and scroll spy worked as expected, in this testing, I noticed I needed to offset the position point for the scroll spy so as it would be able to include the bottom section, as initially, the page did not scroll far enough to scroll over it

  3. Social Media bar: on mid-sized screens, I noticed an issue where the navbar would scroll over the social media bar, so I increased its z-index to ensure the social media bar appeared to top where there was crossover (note despite the navbar being a more important feature the cross over only happens with a section of the navbar which is unused)

  4. News Section: Responsive design checked with chrome dev tools and hover effects checked

  5. Form Center: After initially testing I was unhappy with the responsive not maintaining an aspect ratio for the team of the week section, this lead to a complete rebuild that was then tested to maintain (roughly) the aspect ratio of the pitch image and the players.

  6. Features: initially there was lots of overflow with the buttons on the divs and also the divs would change the size to match the volume of content, I wanted a more uniform design so made alteration and also fixed the buttons to the bottom of the containing divs, once these were complete I retested using chrome dev tools.

  7. Footer: Links tested (2 dead links purposely) and 1 link to bring back to the top of page

  8. Sign up / Sign In Modals: Modals tested on multiple screen sizes using chrome dev tools for hover effects and the linkage between each modal, each one is launchable from a link on the web page and each one is counter linked to the other via a link in each modal

All links on the page have been tested,

  1. Jumbotron: launches sign up modal
  2. Navbar: brand links to home, section jump to a section, sign in links to sign in modal
  3. News Section: 3 dead links to nowhere, 1 link to an external site for related article
  4. Features: 3 dead links
  5. Footer: as described above (2 dead links and 1 link to bring back to the top of page)
  6. Modals: dead sign up/ sign in links, modal crossover links (jump from one modal to the other), close modal links.

DEPLOYMENT

Deploy to Github Pages

  1. Open GitHub and go to the projects 'Repository'
  2. Click 'Settings'
  3. Scroll down to the 'GitHub Pages' section
  4. Click on the dropdown under 'Source' and select the 'Master Branch' option
  5. A green box should appear with the following message 'Your site is published at.../'

Cloning a Repository

  1. Go to the main page of the GitHub repository and click on the dropdown menu 'Clone or download'
  2. Copy the URL and go to your local IDE (Integrated Development Environment)
  3. In the terminal of your IDE type in 'git clone' and the paste the URL copied from step 2
  4. Press Enter and the clone will be created

CREDITS

Media

Acknowledgements

I received inspiration for this project from the below websites:

  1. Fantasy Premier League
  2. Fantasy Football Fix
  3. Fantasy Football Scout

Code Snips

Below links helped me in various parts of the project to overcome issues:

FAIR USE DISCLAIMER

  • The images used in this project are not owned by me and I have not been given permission to use these, the purpose of their inclusion is purely for visuals within the project and the entire project is for nonprofit educational purposes. If this site was to ever go outside the remit of "nonprofit educational" then these images would be removed prior to such action.