Skip to content

TulaUnogi/oracle-cats

Repository files navigation

Welcome to Oracle Cats!

This website has been created for the recreational purposes as one of the portfolio projects for Code Institute. The idea behind it combines simple Oracle Cards inspired future- telling game, that is using cat memes as cards and is powered by JavaScript.

  • User Experience:

    • User Stories:

      • First Time Visitor Goals:

        1. As a First Time Visitor I want to know the purpose of the website.
        2. As a First Time Visitor I want to easily navigate through the website to find the content I'm interested with.
        3. As a First Time Visitor I want the website content to be interactive.
        • Returning Visitor Goals:

        1. As a Returning Visitor I want to be exposed to funny cat memes.
        2. As a Returning Visitor I want to have opportunity to pick an oracle Card Of The Day by myself.
        3. As a Returning Visitor I want to know that my Card Of The Day is special and as so it cannot be drawn more than once a day.
        4. As a Frequent Visitor I want to be able to enjoy using the website on a various screen sizes thanks to a responsive layout.
        • Frequent Visitor Goals:

        1. As a Frequent Visitor I want to see that the set of cards is being updated and expanded.
        2. As a Frequent Visitor I want to be to see the update notes from the creator.
        3. As a Frequent Visitor I want to get to know more about the creator and their future projects.
        4. As a Returning Visitor I want to be able to find out more about other forms of divination thanks to the links provided.
  • Website functionality:

Wireframes

  • Main page:

    1. Includes the headings, main content section and footer with copyrights information
    2. This is a base page for the whole website and it's main section's content is edited with help of javascript functions.
    3. After clicking the button the html content of the main section changes to the page 2.
  • Page 2:

    1. The text content inside the main section introduces the User to their next steps in the process of divination.
    2. User is informed, that the card of the day can be only drawn once a day.
    3. After clicking the button the html content of the main section changes to the page 3.
  • Page 3:

    1. The text content inside the main section encourages the User to pick one of 2 sets of cards.
    2. Each set includes different groups of cards from the deck, that have been shuffled.
    3. After choosing the card set the content of the main section changes to the page 4.
  • Page 4:

    1. The text content inside the main section presents 3 cards for the user to choose.
    2. Each card has been previously randomised based on User's previous choice.
    3. After choosing their Card Of The Day the content of the main section changes to the page 5.
  • Page 5:

    1. The text content inside the main section presents the User's Card Of The Day with it's short description.
    2. The additional advice on the special areas of focus is being generated underneath it.
    3. After clicking NEXT on the bottom the User moves to the Page 6 that includes afterword with buttons leading to additional informations about creator and links to other forms of divinations. This is not a part of a divination process and it's optional for the user.
  • Design:

    • Colour Scheme:

      1. Main colours used for the text and buttons are the shades of blue and white as they work well with the background and provide a good contrast.
      2. Dominating colours in the background picture are the shades of blue, brown and white.
    • Typography:

      1. Inknut Antiqua and Julius Sans One have been chosen as the headings and body fonts as they've been used in the logo and they as they are simple but not too minimalistic and provide aesthetically pleasing experience for a User.
      2. Fallback fonts used in case of the main fonts not being imported into the site:
        • Arial, sans-serif as a fallback for Julius Sans One,
        • Impact, serif as a fallback for Inknut Antiqua.
    • Imagery:

      1. Imagery in this project plays essensial role. The background picture of a cat intensively staring into Space sets the initial mood for the User. The logo includes the cat's head and indicates the website's strong correlation with cats. Thanks to that Users from their very first moments are introduced to the idea behind the site not only by the direct text content, but also through visuals.
  • Languages Used:

  • Testing and debugging:

    • The page has been tested on ideapadGAMING laptop, 22" inches computer screen and Samsung Galaxy S7.
    • Browsers used for testing: Chrome, Opera, Firefox, Microsoft Edge and Samsung Internet on mobile device.
    • Website shows responsiveness and all the functions on a website are working as intended.
    • Chrome DevTools have been used for active debugging throughout the whole process of writing the code.
    • Chrome DevTools have been also used for testing and improving the responsiveness process.
  • Validator Testing:

    • HTML: No errors were returned when passing through the official W3C validator

    • CSS: no errors were found when passing through the official (Jigsaw) validator

    • JavaScript: no errors were found when passing through the official Jshint validator, the following metrics were returned:

      1. There are 13 functions in this file.

      2. Function with the largest signature take 0 arguments, while the median is 0.

      3. Largest function has 15 statements in it, while the median is 6.

      4. The most complex function has a cyclomatic complexity value of 2 while the median is 1.

  • Unfixed bugs:

    • Main content area's background may ocasionally overlap the footer area, but it does not stop the website functionality.
  • Future development plans:

    • Optional div under the card that would present randomised areas of user's focus and warnings (e.g. "Today you should focus on: Family").
    • Optional inverted background on smaller screens.
    • Expanded deck to the full capacity.
    • Improved layout.
  • Credits:

  • Deployment:

    • The site was deployed to GitHub pages. The steps to deploy are as follows:

      • In the GitHub repository, navigate to the Settings tab
      • From the source section drop-down menu, select the Main Branch
      • Once the main branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.
      • The site is live at: https://tulaunogi.github.io/oracle-cats/

About

Website created for the cat memes and divination lovers, with the purpose of fortune-telling and fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published