Coder Social home page Coder Social logo

muzhdan / foodie-blog_pp1 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 68.9 MB

Foodie blog is the first Portfolio Project 1 - HTML/CSS Essentials for the Full Stack Software Development course in Code Institute.

Dockerfile 13.43% CSS 31.25% HTML 55.32%

foodie-blog_pp1's Introduction

Foodie Blog

Purpose of the project

Foodie is a food blog or website. The project has been build using html and CSS. This is a personal blog and the owner wants to share her experiences or experts in food with others. Through this website the owner shares her personal food recipes and want the visitors of the website to know about them and contact her regrading food recipe questions or suggestions through contact me page.

Visit the live website. responsive Design Layouts

Table of Contents


User Stories

  • As a visiting user, I would like to know more about the owner of this blog/website.
  • As a visiting user, I would like to contact the owner for business enquiries
  • As visiting user, I would like to view more recipes by the owner
  • As a visiting user, I would like to view recipes instructions in a separate page.
  • As a visiting user, I would like to view all recipes within one page.
  • As a visiting user, I would like to have a confirmation message after submitting the queries form in the contact me page.
  • As a visiting user, I would like to find the social media accounts of this website/blog.
  • As a visiting user, I would like to open social media links in to another tab.

Features

All pages - Header and Footer sections:

All pages have a header and footer.

  • Header - The header contains the logo in the left side and a side navbar in the right side.This is located at the top of every page.

    Header

    • Logo - The logo has the home page hyperlink that returns the user to the home page. The logo has been created in an online software.

    • Nav Bar - The nav bar has the links to the different sections of home page and pages of the website.

  • Footer - The footer exists on all pages. The footer consists of social media links at the center of it. footer

Home page (index.html):

Including the header and footer, the home page also contains the hero image with welcome text, About me section & Favourite recipe section.

  • Hero image this is the a landing section of home page. It has a simple text with a hero image. Hero section

  • About me section This section comes after hero image. This section shows the image of the owner of this blog and gives a detail information about her, by using 1st person.
    About-me-section

  • My favourite Recipes section This section has three chosen or favourite recipes of the owner. Each recipe has a container with short information about the food and has a button. By clicking this 'read more' button, the user will be directed to the recipe isntructions' section which is located in to 'recipes' page.

    favourite-recipes-section

Recipes page (recipes.html):

  • Apart from header and footer this page has three sections that contains the instrcutions of each recipe from home page.

  • The design and HTML strcuture is the same for all the three sections apart from contents.

  • Each section has two parts, ingrdients and instructions of how to make the food.

    Recipes page Image

    first-section
    second-section third-section

Contact-me page (contact-me.html):

Including (header and footer) this page has a container which has two parts.

  1. Form part/ The user can send their inquires, suggestions or comments to the owner of this blog.

  2. Message to the user By reading this text the user will understand the objective of this form. This will help the user to fill out the form effectivetly.

    contact

Confirmation page (confirmation.html)

  • This page has simple thank you image in the right side and a recived message in the left side.

  • The user will be directed to this image after submmiting the contact me form.

  • This page has been created so the user would know that their form details has been sent successfully.

  • If the user tries to submit the form empty, it will give a message to fill the form fields. All the form fields should be filled to be able to submit it.

    confirmation-page

Future Features

  • Newsletter form
  • Add more recipes section
  • View recipe list
  • View video tutorials for recipes
  • View photo gallery

Typography and color scheme

Typography

  • The following google font was used for the website.
    • 'Roboto', sans-serif;

Color Scheme

  • The website uses the following colors that has also been used in the logo.
  • The colors were used in different types as hex and rgba. colors

Wireframes

As these were the first prototype. There are some changes between them and the real website. For instance, images and some other slight changes that the developer changed while coding.

Wireframes / prototypes

home page recipes page contact page confirmation page

Technology

  • HTML
  • CSS

Programs that were used:

  • Figma: create the prototype / wireframes.
  • Git
  • Github
  • Gitpod
  • Google Fonts
  • Font Awsome
  • Favicon
  • Am I responsive
  • ezgif.com: Changed jpg to webp

Testing

  • Validator Testing

    The W3c validator was used to validated the each HTML page sepeartly. Also it was used to validate the style.css page.
  • W3C Jigsaw CSS w3c css validation

  • W3C HTML Validation

    • HTML validation of Home page Home page validation result

    • HTML validation of Recipes page recipes-page-validation-result

    • HTML validation of Contact-me page contact page validation result

    • HTML validation of Confirmation page confirmation page validation result

  • Accessibility Testing

    To analyze the performance, bes practice, accessibility annd SEO for the each page in the website the lighthouse within dev tools was used.

    • Home page

      • Desktop Full Report Home page results

      • Mobile Full Report

        • Most of the performance marks were cut due to 'Eliminate render-blocking resources' warning. As for this project compressing css file has not been recommneded. Therefore, I did not change the css file.

        results

    • Recipes page

    • Contact me page

    • Confirmation page

Manual Testing

  • This site was manually checked after uploading each feature. The features were interactive and worked successfully.

Supported Screens and Browsers

  • This website can work properly on Chrome, Firefox, Safari.

fixed bugs

  • The website wasn't loading style.css page and was giving an error. The error was about favicon(this little icon that shows in the browser tab). To fix it, favicon was added in the header.

  • W3S HTML validator found no error in the home page, but a warning, "Section lacks heading" in all the sections of the page. Two approaches were taken to solve this issue

    1. remove section tag
    2. add h2 or h1 inside section tag
  • W3S CSS validator found parse error and in the Text-Area section. A semicolon was missing in a line of code. Therefore, by adding semicolon this issue was fixed.

  • W3S HTML validator found another error, "Bad value for attribute srcset on element img: No width specified for image 'ramen' ".

    • Fixed this issue by giving width to the image.
  • W3S CSS validator found another error "the value 'text' is deprecated". An unused line of code with no semicolon was found in the css file. By removing it this error was fixed.

  • While checking the perofmance of the website in the lighthouse dev tools the following error occured:

    • Document does not have a meta description. Fixed this by adding meta description in the header of recipe page.
  • While deploying the website in the github pages, Readme page would appear as deafult page and the css properties wouldn't apear. Therefore, the home.html name was changed to index.html to solve one part of this issue. Also, the link path for style.css was changed from absolute to relative.

Deployment

This website was developed in Gitpod. It was deployed on github.

  • 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 Master Branch
    • Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.

Credits

Images

Contents

Code

foodie-blog_pp1's People

Contributors

muzhdan avatar

Watchers

 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.