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.
-
-
-
- As a First Time Visitor I want to know the purpose of the website.
- As a First Time Visitor I want to easily navigate through the website to find the content I'm interested with.
- As a First Time Visitor I want the website content to be interactive.
- As a Returning Visitor I want to be exposed to funny cat memes.
- As a Returning Visitor I want to have opportunity to pick an oracle Card Of The Day by myself.
- 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.
- As a Frequent Visitor I want to be able to enjoy using the website on a various screen sizes thanks to a responsive layout.
- As a Frequent Visitor I want to see that the set of cards is being updated and expanded.
- As a Frequent Visitor I want to be to see the update notes from the creator.
- As a Frequent Visitor I want to get to know more about the creator and their future projects.
- As a Returning Visitor I want to be able to find out more about other forms of divination thanks to the links provided.
-
-
-
- Includes the headings, main content section and footer with copyrights information
- This is a base page for the whole website and it's main section's content is edited with help of javascript functions.
- After clicking the button the html content of the main section changes to the page 2.
-
- The text content inside the main section introduces the User to their next steps in the process of divination.
- User is informed, that the card of the day can be only drawn once a day.
- After clicking the button the html content of the main section changes to the page 3.
-
- The text content inside the main section encourages the User to pick one of 2 sets of cards.
- Each set includes different groups of cards from the deck, that have been shuffled.
- After choosing the card set the content of the main section changes to the page 4.
-
- The text content inside the main section presents 3 cards for the user to choose.
- Each card has been previously randomised based on User's previous choice.
- After choosing their Card Of The Day the content of the main section changes to the page 5.
-
- The text content inside the main section presents the User's Card Of The Day with it's short description.
- The additional advice on the special areas of focus is being generated underneath it.
- 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.
-
-
- 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.
- Dominating colours in the background picture are the shades of blue, brown and white.
-
- 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.
- 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 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.
-
-
- [HTML5] (https://en.wikipedia.org/wiki/HTML5)
- [CSS3] (https://en.wikipedia.org/wiki/CSS)
- [JavaScript] (https://en.wikipedia.org/wiki/JavaScript)
-
- 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.
-
-
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:
-
There are 13 functions in this file.
-
Function with the largest signature take 0 arguments, while the median is 0.
-
Largest function has 15 statements in it, while the median is 6.
-
The most complex function has a cyclomatic complexity value of 2 while the median is 1.
-
-
-
- Main content area's background may ocasionally overlap the footer area, but it does not stop the website functionality.
-
- 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.
-
-
Links used for presenting other methods of divination page found on Google:
-
Code Institute, W3Schools and StackOverflow have been used to find the informations about code.
-
All the cat memes used for creating the cards have been found on Facebook Cat Memes group.
-
Picture used for logo and favicon created by Netho Sphinx from Pixabay.
-
Card's back image: "larkspur" by william morris for rawpixel.com on Freepik.
-
Cat background image by Alem Coksa from Pixabay.
-
To my mentor Narender Singh: for all the time and support. Thank you!
-
-
- 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/
-