-
The Foodie Society is a great resource for inspiration, recipes and tips and tricks that have been tested and are certified to satisfy your tastebuds and improve your cooking skills.
-
Foodie Society is a targeted to help connect the community united by their shared love and enthusiasm for all things food-related and is open to all like minded individuals.
-
Foodie Society will offer it's users following information: introduction and details about us, details about our gatherings, meetups and online talks, various recipes and contact information to get in touch and join our community.
Created using Balsamiq
First sketch on normal size device:
Sketch on tablet or similar size device
Sketch of a phone or similar size device:
- I started the project and created all of the required pages: index.html, recipes.html, form.html, style.css, including the folders: assets containing css and images folder. I created the structural layout for the home page:
- At the top header with navigation bar containing all of the pages the project will have.
- Hero image section that would contain the details so users would know what is the site for.
- About section with couple of details explaining who we are and what are the benefits of joining.
- Meetup and online chats section that will specify the times, dates and possible locations of gatherings.
- Footer with all of the links for our social media sites and a direct link to a contact form.
-
Given that the site is food and food lover oriented, I have decided to gather couple of pictures connected to the topic. I checked and used PixaBay and Unsplash to get royalty free images.
-
After making a structural layout of the home page I started coding the site and I used previously learned topics and videos for support to locate certain coding styles. I also used ChatGPT to bounce the ideas around and for help checking if my colour pallete was sufficient enough and for couple of tips on how to construct some code to help me with the task ie. how to align the image within the element = actual code: display: block; margin-left: auto; margin-right: auto; In the end I found my colour pallete by checking the Pinterest for some inspiration.
-
I made the basic header look and decided to style it later, once my hero image is in place. After adding the hero image I started with styling of the general look and feel of the site, even though I changed it along the way slightly. After succeeding with the header and hero image, I was creating the text for the hero image and ended up struggling slightly, but decided to look up and follow the instructions within the Love Running project, to use the general details and adjust my own changes and styles once I found my mistake. I forgot to set the position of the hero image-outer id to relative, which didn't allow for my text to align where I wanted it to.
-
For the about us section I decided to create two articles contained within the div elemeent to contain two paragraphs split by an image and to be centered and aligned with each other.
-
Next task is to create the meet up section. After choosing and adding an img file I set it as a background and added 5 divs to my meetups section to contain all of the details about our weekly meetups, online classes and exploring of restaurants and coffee houses.
-
Later I realised my links are not opening in a separate tab and that they do not contain explanation for the Screen Readers so I worked on adding the code by implementing: target="_blank" rel="noopener" aria-label="xyz(opens in a new tab)"
-
While creating the footer. I was struggling with positioning of the social media links as they were automatically aligning to the right in reverse order. I was reserching the ways to reverse the list order and have found a solution on StackOverflow so I used the following code from there and modified it to my needs:
-
ul { -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg); }
-
ul > li { -moz-transform: rotate(-180deg); -webkit-transform: rotate(-180deg); transform: rotate(-180deg); display:inline-block; }
-
I have started the recipes.html by copying the source code from index.html to reuse the body, Header, Hero image and Footer section in the build of the second page of a site. I spent some time informing and making sure I can still reuse all of my elements and that everything is still funcioning, and it did.
-
I decided to use three recipes that have been in my family and that myself or my family members came up with. The first one is a pizza recipe that is my very own that I have been making for years. The burger recipe is something my husband came up with and perfected over the years. And the last but still very important to me is a recipe for cream filled profiteroles my mother has been making my whole life. All of the recipes are tested and would recommend to try, but the reason I included them is because I wanted to connect something personal with my project.
-
In this section I was struggling slightly with getting all of the sizes and ratios working, but I managed to sort it out and I am satisfied with the look of the page and the fact that it matches with the home page.
-
In the beginning of the project I have decided I will not create a separate page for the gallery, but upon starting with the form.html page I have decided to try something I was completely unsure if it will be possible and how will I manage to succeed at creating. I have decided that I will try my best to create my vision.
-
First I created a gallery, consisting of various images, for a help and reference I used the previous lessons and rewatched the Love Running gallery videos. I made sure that all of the images were overlapping and that they were in a good position.
-
Once the gallery was finished I started creating to form, after revisiting the original forms lessons I started creating the code and slowly it was coming together, but it was still not overlapping on top of the gallery. Couple of google searches later I have realised what was I missing. I forgot to place a position:relative onto the gallery and position:absolute, as soon as I added the code, the form overlapped on top of the created gallery. I decided to add couple of hover animations and finish the form page.
-
During my first meeting with the mentor Dick Vlaanderen, we were discussing the whole project and I was showing him my wireframes and the where I was with my first page partially coded. We were discussing where I was planning to go with this project and he advised me to keep up with the same theme across the whole project, but also to create a forth page, that will only be visible once the form has been sent, instead of being taken to a completely differently styled Code Institute page. Which I loved, I found that idea great, as it completely encapsulates the user experience and brings the site to another level.
-
In relation to that I decided to just create a simple page with a thank you text on top of the gallery letting the user know that we have received their form. User is stil able to navigate across the whole page.
-
The site is live at: https://lukab25.github.io/Foodie-Society/
Navigation bar with logo:
-
When you open the site the first thing you can notice is a navigation bar at the top of the screen that includes the Foodie Society logo and the navigation to the Home, Recipes and Contact page. It offers users a full control over which site they would like to visit and how would they prefer to interact with the site.
-
All three navigation links are interactive and underline and light up beige on hover, they open in same tab on press. The active page is underlined so users know which page they are on. If you click on the logo, you will be taken to the home page of the site. Navigation bar is the same on all four pages to keep the style same across the whole site. Navigation bar is fully resposive and changes with the screen size.
Hero image:
-
Hero image and text offer some insite and a little introduction for the users to know what the site is for.
-
Both the image and the text are responsive with the screen changes.
About us:
-
About us section tells users a little bit about our community and lets them see what they could gain by joining.
-
The Icons are interactive, they change colour on hover. Section is fully responsive with screen changes. With smaller devices two articles will switch from being side by side to be one under another to offer better viewing experience to users.
Meetups:
-
Meetups section offers users different ways to interact with the community. They can choose from the online classes, online chats, meetups and participation in exploring various coffee houses and restaurants.
-
The meetup locations will be updated occasionally with new timeframes and/or locations.
-
The section is fully responsive and each div will separate from inline arrangement into a single line arrangement one after another. Icons in headers are interactive and will change colour on hover. All of the links are opening in separate tab so the users can easily come back to our site.
Footer:
-
Footer consists of various different social media and contact links. Each link opens in separate tab and has its own interactive icon that changes colour on hover.
-
Footer offers users more ways to stay connected and in contact with the community.
-
I added a paragraph on the bottom that explaines to user that the site was created for Code Institute which changes colour on hover and on click will take user to the site in a separate tab, I also added my name as to let users know who created the site, and the hover over my name will change colour of text as well and on click will take users to my linked in page.
Recipes hero image:
-
When a user opens recipes page, the hero image will be the same as the one on the home page, but the text overlapping the image will change to give little insight into the recipes section and to let the user know that they are on the different page.
-
Hero image and text within recipes section are fully resposive as well.
Recipe #1:
-
There are three different recipes within this section. All three recipes are personal favourites and were created and tested out by myself or my family.
-
First article offers an image and the some details about each of the recipes.
-
The title of each recipe has interactive icon that changes colour on hover. The articles are fully responsive with different screen sizes and will change to single line articles on smaller screens.
Each recipe is followed by a ingredients list and preparation steps.
Contact:
-
The Contact page consists of the gallery as a background of the page that has overlapped form on top of the gallery.
-
The gallery was set up so selected images are removed on medium sized screens to adjust the screen size and over the most of the screen with no gaps. The optional images are returned on small screens.
-
The gallery offers users a visual representation of the various recipes and dishes they could learn with the community.
-
The contact form lets users initiate and control the action of the site by submitting their questions or requests to the site owners. Upon submittion of the form user will be taken to the confirmation page that was created as a separate page, to offer same user experience as the rest of the site.
-
The gallery it self is fully resposive and will change the number of columns with different size screens. The form is fully interactive and lets users ask questions, send requests or recipes to the community. The form is responsive and will adjust with screen sizes. All of the icons on the contact page are interactive and will change colour on hover.
Confirmation:
-
Upon submittion of the form, user will automatically be taken to the confirmation page to let them know that their form has been submitted.
-
The confirmation page consist of the same gallery as the form and a text box that lets the user know they have contacted us. Even though you can only access the confirmation page by submitting the form, it offers the full control over the site same as the other pages by consisting of the same header and footer for complete control by the user.
-
The gallery was set up in the same way on the confirmation page as the form so selected images are removed on medium sized screens to adjust the screen size and over the most of the screen with no gaps. The optional images are returned on small screens.
-
All of the icons on the confirmation page are interactive and will change colour on hover. The page is fully resposive and will adapt to screen size.
- The only features left to implement in the future are possible video recipes, instructions, tips and tricks in the future of the site.
- I ran detailed testing on each website page and made sure all of the links open in a separate tab. All of the icons in titles and footer section are interactive and will increse in size and change colour to beige on hover. I made sure that the site is fully responsive to screen changes and offers users a satisfying experience across all platforms.
Action | Expectation | Outcome |
---|---|---|
Header | Adjusts with screen size | Pass |
Click on logo | Takes you to home page | Pass |
Navigation bar | Active page underlined, adjusts with size | Pass |
Navigation bar - Home | Takes you to home page, underlined when active | Pass |
Navigation bar - Recipes | Takes you to recipes page, underlined when active | Pass |
Navigation bar - Form | Takes you to form page, underlined when active | Pass |
Navigation bar:hover | Changes colour and underlined on hover | Pass |
Click on nav bar | Takes you to selected page (same tab) | Pass |
Hero image | Adjusts with screen size | Pass |
About us | Adjusts with screen size | Pass |
About us images | Adjusts with screen size | Pass |
About us text | Adjusts with screen size/ reduces to single line with smaller screen sizes | Pass |
About us icons:hover | Changes colour on hover | Pass |
Meetups | Adjust with screen size | Pass |
Meetups text | Adjusts with screen size/ reduces to single line with smaller screen sizes | Pass |
Meetups icons:hover | Changes colour on hover | Pass |
Meetups twitch links | Opens site in separate tab | Pass |
Meetups skype link | Opens site in separate tab | Pass |
Meetups coffee link | Opens site in separate tab | Pass |
Meetups restaurant links | Opens site in separate tab | Pass |
Recipes | Adjusts with screen size | Pass |
Recipes text | Adjusts with screen size/ reduces to single line with smaller screen sizes | Pass |
Recipes images | Adjusts with screen size | Pass |
Recipes icons:hover | Changes colour on hover | Pass |
Form | Adjust with screen size | Pass |
Form text | Adjusts with screen size | Pass |
Form icons:hover | Changes colour on hover | Pass |
Form submition | Opens confirmation page with the same styling in same tab | Pass |
Gallery background | Adjusts size and number of columns with screen size | Pass |
Confirmation | Adjusts with screen size, has same styling as form page | Pass |
Confirmation navigation | Allows you to navigate through the site same as other pages | Pass |
Footers | Adjust with screen size | Pass |
Footer icons:hover | Changes colour on hover | Pass |
Footer Facebook icon | Opens Facebook site in separate tab | Pass |
Footer Instagram icon | Opens Instagram site in separate tab | Pass |
Footer Pinterest icon | Opens Pinterest site in separate tab | Pass |
Footer Twitter icon | Opens Twitter site in separate tab | Pass |
Footer Youtube icon | Opens Youtube site in separate tab | Pass |
Footer Code Institute link | Opens Code Institute site in separate tab | Pass |
Footer Code institute:hover | Changes colour on hover | Pass |
Footer Luka Black link | Opens my LinkedIn in separate tab | Pass |
Footer Luka Black:hover | Changes colour on hover | Pass |
Footer Form icon | Opens Form site in separate tab | Pass |
Footer Twitch icon | Opens Twitch site in separate tab | Pass |
Footer Skype icon | Opens Skype site in separate tab | Pass |
Footer Twitch icon | Opens Twitch site in separate tab | Pass |
Home responsivness | Home page fully responsive with screen changes | Pass |
Recipes responsivness | Recipes page fully responsive with screen changes | Pass |
Contact responsivness | Form page fully responsive with screen changes | Pass |
Confirmation responsivness | Confirmation page fully responsive with screen changes | Pass |
-
After couple of days of coding and doing final add ons onto the home page I have realized I haven't included aria-label for the main logo, navigation menu and in the paragraph within footer. So I worked on adding all of them and making sure all links have a aria-label.
-
Did some w3 and w3c validator and lighthouse testing corrected the code. There was couple of unnecessary tags, removed the span from the code, as I was using ul in the same section. Had 1 error in the CSS code, which was an extra border word in the text-decoration styling, corrected it.
-
I had an issue in the lighthouse with slow responce due to the large image files, so I corrected them by converting the pictures to avif file and resizing them.
-
I worked on responsiveness by adding the media queries and improving all of the different aspects that were necessary with various screen changes. I had to do some troubleshooting in regards of: navigation bar falling apart with smaller screen sizes - set up the parameters to have navigation bar transfer into second line, but still being adjusted to the right; hero image text getting out of pre set size parameters - added new parameters to adjust to different screen sizes; About us and recipes section not optimal for smaller screen sizes - aligned each of the articles into one central line, so they sit one after another to be more user friendly; footer starting to overlap and started looking miss aligned on smaller screens - added parameters to reduce the size of icons and text, and separate into two lines on even smaller screens; form being to small and narrow for smaller screens - reduced the left margins and expanded the width of the form window to improve experience; gallery pictures underneath the form were too small on smaller devices - used the knowledge from the previous lessons to adjust the columns to improve the gallery background.
-
As of today still need to do responsiveness adjustments and figure out how to add pictures to the readme file and ready then I am ready to book my 2nd mentors meeting.
-
Did some troubleshooting of the site and discovered the h2 element under each of the recipes containing Bon Appetit. was not centered properly for the first two recipes, fixed them by adding additional padding underneath the ordered list on the right.
-
After deployment of the site I found out that the hero image and the meetups background image were not updating, so I took some time trying to figure out what what the issue. I discovered that the images were not loading because they were within the style.css file and they didn't have a proper directory set up. Instead of setting them up to go one directory up and then access the images folder I was trying to add them the same way I added the img files within the html by going through the /assets/images pathway and the way to fix it was to replace the assets with ../images pathway.
-
After setting up media queries for responsiveness I found out that the recipes page was not responsive and was falling apart with sizes smaller that 525px. After hours of troubleshooting and trying to figure it out I discovered that the article had no specified container and the circle-container that held the images were not working optimally on the small screen sizes so I tryed a lot of different techniques, but discovered that the best option is to remove the circle-container boundaries and border set the image size to auto, so it can adjust more easily on such small screen size. I also added the article width and height to make sure it is not going out of alignement with other sections.
-
I decided to remove the icon size increse from all of the icons as they were making the site segments to move and shift the page layout slightly and I decided that is not the best for great user experience practises.
-
From the beggining I had an issue with loading of the imported fonts. I followed the steps in Love Running project, but I kept getting a problem in python that the imports were not loading in parallel, the fonts loaded, but the same issue message was loading each time with opening of code anywhere. After my meeting with my mentor mr. Dick Vlaanderen and a chat with him he recommended to try linking the fonts within the head section of each page. I took his advice and tried it out, which ended up sorting out my problem in python.
- There are no left over unfixed bugs.
- I checked the whole site via lighthouse in devtools and made sure that the site is easily readable and fully accessible. Here are the reports for each page:
- There were no errors found when passing through official W3C validator
- There were no errors found when passing through official (Jigsaw) validator
-
The site was deployed to GitHub pages.
-
Steps of deployment:
- Open repository Foodie Society github.
- Go to settings.
- Locate Pages in the menu section on the left of the screen.
- Click on none under the Branch and select main option.
- Click on the save button.
- After couple of minutes reload the page and you will have a live site at the top of the site.
- Click on the link and it will take you to a live site. My live site
- Local deployment steps:
- Open my repository Foodie Society github.
- Locate and click on the green button with Code written on it.
- Copy the link from the menu
- Clone the code onto your machine and start working on the code.
- The photos used on the site were taken from PixaBay and Unsplash
- Final colour pallete and colour scheme were taken as an inspiration from Pinterest
- Few lines of code were taken from StackOverflow
- Starting steps and few lines of code came from previous lessons and Love Running Project
- Definition of the gourmet meal was taken from More Than Gourmet