Skip to content

This repository is for my DragonFly milestone project -1 with Code Institute on user centric frontend development using HTML and CSS.

Notifications You must be signed in to change notification settings

Esmael-Pinho/first-milestone-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 

Repository files navigation

DragonFly Logo DragonFly - Space Travel

Milestone Project 1.

DragonFly is a space travel website that allows users to book trips, destinations, to Moons and/or Planets. With only a few clicks, and a small section to obtain more infomations about said Moon and/or Planets.

The website design is responsive so it can be used on any device.

This website uses technologies that I have learned including HTML, CSS.

Image of DragonFly on different devices

Live Project

Click me for DragonFly live link.

Repository

Click me for the project repository.

Table of Contents

Contents

User Experience

User Stories

Users

  • As a user, I want the landing page of the website to explain the purpose of the website, as well as being able, to go where, access the next steps, as simple and quick as possible.

  • As a user I want to be able to navigate the site easily to find information I may require.

  • As a user, I want the website to work and be accesible on any device.

Buisness Owner

  • As a Owner, I want it to be as easy and fast as possible for users to choose their destinations, as well as getting the necessary information regarding their choices.

  • To allow the users to to be able to contact the DragonFly either for questions or with recommendations.

  • I want the website to function and look good on any device.

Design

Overview

  • The website design is, colorful, inviting and easy to use. The name ‘DragonFly’ refers to the, delicated, colorful, fast flying insect that served as inspiration.

home-page

Colour

DragonFly Website Color Palette-1

DragonFly Website Color Palette-2

  • The website uses a palette of colours taken from the logo image. The colour palette was created using the Coolors website. It uses a simple colour scheme of wisteria, columbia-blue and magenta with pops of dark-blue and red.

Typography

Google Fonts was used for the following fonts:

  • Bruno Ace Sc : was used for the logo at the navbar.
  • Ubuntu: was used for the headings
  • Oswald: was used for the paragraphs, small texts and spans.
  • Sans-serif: used as the fallback font.

Wireframes

Wireframes were created for the main pages.

Home Page

About Us Page

Destination Page

Icons

  • I have used icons from Font Awesome on the navbar, about us, and destinations to enhance the text, get more attention.

Features

All Pages Features

Home Page

Navbar

DragonFly Navbar

  • The nav bar contains the logo, home button, about us, destinations and a sign up button.

  • The logo links back to the home page.

  • The nav bar turns into a slide-out menu on smaller screen sizes

Hero Carousel

Hero carousel shows informative text about the pourpose of the site, and it's different pages, it also has buttons that allow the user to quickly find what it's looking for.

Hero Carousel 1

Hero Carousel 2

Hero Carousel 3

Hero Carousel 4

Quotes

Users comentary, of what they feel thought of the experience with DragonFly. Quotes

Pictures to help attract possible new users, what others have been experiencing, memories we help them create.

Quotes Memories

Subscribe Section

Small part of the page that allows the user to subscribe, in order to receive updates regarding more available destinations.

DragonFly Subscribe Section

Footer

The footer's the same for all the pages and includes the website’s name and a brief description.

DragonFly Footer

It also features icons with links out to social media. These windows open in a new tab.

About Us Page

This page provides curiosity information regarding the Website, how it came to be, it's history and mission.

DragonFly About Us Page

Contact us section that allow the user to leave a comment, ask some questions, or even make a special visit. Contact Us Section

Destinations Page

Moons and Planets

Cards

Moon Cards

Planet Cards

The card section on the Moons and Planet page, contains six cards that has a hover animation, rotating 180deg showing some descriptive text about it's moon.

Moons back cards

The cards have two buttons that allow the user, either to be able to book a destination, that provides some extra information.

Planets cards buttons

More Info

Some possibe new curiosity about the Moon/Planet, that may help increase the want to visit on the user.

Moons Info

Planets Info

Known Bugs

I don't know if it can be considered a bug but since I separeted the images collums, porportionaly, at extra large screen (+1400px) col-xxl-5 Images right Images left and used the code : Bugg code

Bugg on memories images

the display flex, and the flex wrap should wrap it, keep it contained inside it's container, and since both side of the images have the same size and height and the same collum size, i couldn't figure it ou as to why one side it's smaller then the other.

Technologies Used

Languages Used

Frameworks Libraries and Programs

  • Bootstrap CSS

    • Front-end library with HTML and CSS. I used features including Nav bar, Cards, Buttons, Forms, Grid, Modal.
  • Google Fonts

    • Two fonts are imported from google fonts.
  • Font awesome

    • I used icons from font awesome on buttons.
  • Git

    • Git was used as a version control in the terminal.
  • Github

    • Github was used to create and store the project repository.
  • Gitpod

    • Gitpod was used to create my files and where I wrote the code.
  • Google Chrome Dev Tools

    • Google Chrome's Dev Tools were used while building the project to test responsiveness and for debugging.
  • Am I Responsive?

    • To show the website image on a range of devices.
  • Figma

    • Figma was used to help create the inicial idea for the project.
  • Image Resizer

    • Image Resizer was used to resize the images, as well as change it's format.
  • TinyPNG

    • TinyPNG was used to compress images, making it smaller to help with loading speed.
  • Coolors

    • Coolors was used to help generate the color palettes used on the project.
  • Google Images

    • Google Images, used to obtain images used.
  • Pexels

    • Pexels was used to obtain images used on the project.
  • Unsplash

    • Unsplash was used to obtain some images used on the project.
  • AllEars

    • AllEars was used to obtain some images used on the project.
  • Microsoft Bing

    • Microsoft Bing was used to obtain some images used on the project.

Deployment

Github Pages was used to deploy the live website. The instructions to achieve this are below:

  1. Log in (or sign up) to Github.
  2. Find the repository for this project, DragonFly Repository.
  3. Click on the Settings link.
  4. Click on the Pages link in the left hand side navigation bar.
  5. In the Source section, choose main from the drop down select branch menu. Select docs/ from the drop down select folder menu.
  6. Click Save. The live website site is now deployed at the URL showned at the top by Github pages.

How to Fork

Forks are used to propose changes to someone else's project or to use someone else's project as a starting point for your own idea. By forking the GitHub Repository you make a copy of the original repository on our GitHub account to view and/or make changes without affecting the original repository. To fork the DragonFly repository:

  1. Log in (or sign up) to Github.
  2. Go to the repository for this project, DragonFly Repository.
  3. Click the Fork button in the top right corner.
  4. You should now have a copy of the original repository in your GitHub account.

How to Clone

To clone the DragonFly repository:

  1. Log in (or sign up) to GitHub.
  2. Go to the repository for this project, DragonFly Repository.
  3. Click on the code button, select whether you would like to clone with HTTPS, SSH or GitHub CLI and copy the link shown.
  4. Open the terminal in your code editor and change the current working directory to the location you want to use for the cloned directory.
  5. Type 'git clone' into the terminal and then paste the link you copied in step 3. Press enter.

Testing

W3C Validator

The W3C validator was used to validate the HTML on all pages of the website. It was also used to validate CSS in the style.css file.

  • The main issues found while teste on the W3C Validator, were mainly the repetition of "id's", that I had forgotten it can be only one(i forgot to screen shot).

Lighthouse

I used Lighthouse within the Developer Tools to allow me to test the performance, accessibility, best practices and SEO of the website.

Scored well in all areas on mobile except for performance. Lighthouse suggested saving images in next gen formats and eliminating unused Javascript. As well as for a better properly sized imgs and some "render-blocking resources". (Changed the images format to webp, which helped, but I didn't have time for a more in dept look at the render-blocking resources, but something to keep an eye on for next time).

Home Page

About Us Page

Moons Page

  • Edge
  • Chrome
  • Opera
  • Firefox
    • For some reason the performance was extreamlly low on Firefox, but I couldn't understand any of the issues, as seen here, maybe it's the browser?

Planets Page

Thank You Page

Full Testing

To fully test my website I performed the following testing using a number of browsers (Chrome, Edge, Firefox, Opera), and on numbered of devices from 320px to 1400px, to test it's responsiveness.

Links :

  1. Tested each link, worked as expected, and any links leading to external pages opened correctly in a seperate browser tab.

Buttons :

  1. Tested each button, worked as expected, the button the link internaly are working, as expected, as well as the buttons that link to separate pages.

  2. The submit buttons take effect only after the user fill in the necessary fields, working as expected.

Future Features

  • It wasn't important for now, but I'll be implementing a into animation to the site, before any page loading.
  • A user, account, profile picture, where they can get news/feeds, activities and challenges that would possibly allow them to get free trips.
  • Didn't know how to do it, but mostly run out of time and weren't comfortable implementing, but the ideia, is to reduce the lenght of the destinations page, leave simply the cards and upon clicking on any of them, then the extra information would appear, i saw something similar on a site once, but was long ago, and didn't know how to implement it.
  • I want to expand to destinations to other worlds, as a fictional website that it is. World with different types of lives, intelligent and not.
  • I want to provide more information, regarding how the deslocation happens, the ships(vehicles) work, what type of accomodation do they provide during the journey, where to they stay, and for how long.
  • Inprove the site images, I did searched a lot for images, as space related images are hard to find, theres, a lot, but mostly of the same.

Credits

Content

Some text, on the Moons and Planets page were taken from Nasa

Hero-Carousel

Quotes-Carousel

Memories

Left

Right

Moons

Planets

Iframes

Code

Code Institute: I referred to lessons and source code from Code Institute's Web Application Development course. I sourced the, Bootstrapping Your Next Big Idea With Bootstrap 4 for the modal.

Please note this is a personal project. This website is purely for the sake of the developer's portfolio and not for public consumption.

Thank You, for getting this far!

Esmael Pinho 2023

About

This repository is for my DragonFly milestone project -1 with Code Institute on user centric frontend development using HTML and CSS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published