Coder Social home page Coder Social logo

nishant8bits / p2-destination-anywhere Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarahloh/p2-destination-anywhere

0.0 1.0 0.0 9.19 MB

Code Institute - Interactive Front End Development Milestone Project - Destination Anywhere

CSS 19.09% JavaScript 63.61% HTML 17.29%

p2-destination-anywhere's Introduction

Milestone Project - Destination Anywhere

Developer: sarahloh

Project Brief

Create a Single Page Application that relies heavily on one or more APIs

In this project, you’ll be building a frontend-only website using the technologies that you have learned throughout Interactive Frontend Development.

  • Create a site that calls on the Google Maps API and/or the Google Places API (or similar) to allow users to search for their next holiday destination.

You'll want help your users:

  • Select a destination city
  • Find tourist attractions
  • Find accommodation
  • Find bars and restaurants
  • Provide search results in a manner that is visually appealing for your user (by drawing on the skills you have learned in User-Centric Frontend Development)

Technologies and Dependencies

UXD

Strategy

Focus User Needs Business Objectives
What are you aiming to achieve? Select a destination city Increase brand awareness
Find tourist attractions Increase social media following
For whom? Find accommodation
TARGET AUDIENCE - Adults Find bars and restaurants

Scope

Focus Functional Specification Content Requirements
Which features? Explore - View cities list by country View cities by country
Navigate - Use the map to discover cities Select city from dropdown
What’s on the table? Discover - Browse attractions, accommodation and restaurants Type city name into search box
Weather - View current weather data Navigate to and select city using map
Toggle tourist attractions, accommodation, bars and reataurants markers
Display image and information for each venue
Display images and information for city
Display weather charts

Structure

Focus Interaction Design Information Architecture
How is the information structured? Where am I? / How did I get here? / What can I do here? / Where can I go? Organizational / Navigational schemas (tree / nested list / hub and spoke / dashboard)
Explore > Navigate > Discover > Venue Tree
How is it logically grouped? Mobile: Buttons and chevron arrows move between various sections
Tablet and Desktop: Click to sections

Skeleton

Focus Interface Design Navigational Design Information Design
How will the information be represented? See wireframes Explore > Navigate > Discover > Venue
How will the user navigate to the information and features?

Surface

Focus Visual Design
What will the finished product look like?
What colours, typography and design elements will be used? @import url('https://fonts.googleapis.com/css?family=Montserrat:300,600|Open+Sans');

Wireframes and Mockups

Wireframe 1

Wireframe 2

Wireframe 3

Mobile

Mockup - Mobile

Tablet

Mockup - Tablet

Desktop

Mockup - Desktop

Deployed to Github Pages

Tests and Fixes

HTML Validator Results

CSS Validator Results

Mobile

Tested on iPhone 5

PROBLEM

Legend not reset on change city

FIX

// Reset legend
$('.legend-btn').children('i').removeClass("invisible");

PROBLEM

Contents overflowing header on phone screen

FIX

Adjust height of header and navbar


PROBLEM

Back icon not returning to home from navigate

FIX

setCuttentSection was incorrect

// home button clicked
$('.home a').click(function () {
    if (xs || sm) {
        if ($(this).attr('href').substr(1) == "explore") {
            toggleElements(explore_xs);
            setCurrentSection("explore");
        } else {
            toggleElements(navigate_xs);
            setCurrentSection("navigate");
        }
    } else if (md) {
        toggleElements(navigate_md);
        setCurrentSection("navigate");
    }
    else {
        toggleElements(navigate_md);
        setCurrentSection("navigate");
    }
});

Tablet

Tested on iPad simulator (Chrome)


Desktop

Tested on Chrome, Safari, Firefox


PROBLEM

Autocomplete input select dropdown behind navbar

FIX

Adjust z-index.


p2-destination-anywhere's People

Contributors

sarahloh avatar

Watchers

James Cloos 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.