Giter VIP home page Giter VIP logo

ms2-northshore-reservations's Introduction

Interactive Frontend Development Milestone Project 2 -- Reservations of Northshore

Have been living in Northshore of Massachussetts for more than 30 years I really enjoyed these Reservations thanks to the Trustess of Reservations and Greenbelt of Essex County's Land Trust. I hope this website will let users get to know these beautiful places in Northshore and come to visit, enjoy the nature and histroy, become a member and support these wonderful organizations.

My website can be accessed here

UX

As a user

  • I can have a brief glance of the reservations in Northshore when the website was opened.
  • I can navigate through different sections in the page.
  • I get to know these wonderful reservations in Northshore.
  • I can clearly see the locations of these places with markers on the Google Map.
  • I can click or tap a maker on the map to see the name and the photo of the reservation.
  • I can have info cards with photo and infromation about the place as well as the link to the reservation.
  • I can access the web page of each Reservation for more information.
  • I can contact website owner through email for questions or comments.
  • I can sign up to be a member.

As a website owner

  • I want the users to come and enjoy these beautiful places.
  • I want to introduce users to the great work that Trustees and Greenbelt have done in preserving local lands and histroy.
  • I hope people would like to become a member and support the Trustees and Greenbelt.

Responsive design

User can browse this website on different devices.

responsive1

responsive2

responsive2

Wireframes

Figma was used to creat the wireframes for the original design of the project. During the development phase some modifications and improvements were made to the project.

Wireframe-MS2

Link to my original wireframes is here

Features

Existing Features

  • One page website - There is only one page for this website.
  • Navbar – Navbar on the top which allows the user to navigate between the different setions.
  • Home setion - A collage picture with photos of the reservations on Northshore.
  • Map setion – shows a map with reservations in Northshore marked with markers. When the mouse moves over (on a desktop) or a finger taps a marker a info window pops up shown the picture and the name of that reservation.
  • Cards section – a collection of cards with photos and little intros of each reservation. Links under each card will bring user to the Trustees' or Greenbelt's website of that reservation.
  • Join us section – has two areas, one for The trustees of Reservations and the other for Greenbelt of Essex County's Land Trust. User can click either link that would bring up a signup website for membership or donations.
  • Contact me section - User can contact website owner through the contact form. Each field required to fill up before submission. Message field can't be empty or just white spaces.
  • Responsive design

Future Features

  • Map on left side and when the mouse moved over to a marker the information about this place will show up on the right.

Technologies Used

Testing

Code Validation

  • HTML code was validated on W3C Validator. Errors were corrected.

NoErrorHtml

NoErrorCSS

  • Javascript files were validated on JSHint. No error found.

For maps.js file maps-jshint

For sendEmail.js file sentemail-jshint

Responsiveness

Responsiveness of the site was tested using Chrome devtools, Responsive Design Checker and Responsive design

responsiveness-test

Browser Compatibility

Compatibility of the site was tested on Google Chrome, Microsoft Edge and Firefox.

compatibility-test

Note: When use Firefox as browser the email sent message would not stay on the window (just flash and disappear) and the user contact form did not reset after email was sent.

email_sent_msg_firefox

I don't understand what had caused the problem in Firefox since there is no issue when using Edge or Chrome or iphone.

email_sent_msg_edge

email_sent_msg_chrome

email_sent_msg_iphone

Testing User Stories

As a user

  • I can have a brief glance of the reservations in Northshore when the website was opened.

    • through the collage picture.
    collage
  • I can navigate through different sections in the page.

    • by click or tap the section name on the navbar
    navbar
  • I get to know these wonderful reservations in Northshore.

    • by browsing through this website and the through the links to the Trustees and Greenbelt's websites.
  • I can clearly see the locations of these places with markers on the Google Map.

    • by scroll down the page or click Map on the navbar.
    map
  • I can click/move over mouse or tap a maker to see the name and the photo of the reservation.

map-w-info

  • I can view info cards with photo and infromation about the place.

    • by scroll down the page or click Places on the navbar.
    cards
  • I can access the web page of each Reservation for more information.

    • by clicking the Link to this reservation button.
  • I can sign up to be a member of either the Trustees or the Greenbelt.

    • by clicking the Join the Trustees or Join the Greenbelt button.
    JoinUs
    • A sign up website of Trustees or Greenbelt will popup.
    joinTrustees joinGreenbelt
  • I can contact website owner for questions or comments.

    • by filling out the contact form
    contactForm

As a website owner

  • I want the users to come and enjoy these beautiful places.
    • by browsing through the website
  • I want to introduce users to the great work that Trustees and Greenbelt have done in preserving local lands and histroy.
    • by visiting the websites of these two non-profit organizations.
  • I hope people would like to become a member and support the Trustees and Greenbelt.
    • by signing up on **Join Us" section

Bugs

Solved Bugs

  • Input patterns were not working. Bug fixed with added space.
  • Collage image was too small. On large devices it would leave some blank space on the right. Used online photo enlarger website to enlarger the photo.
  • Mid-project code validation: Errors of stray start tag were found. Errors were corrected by moving script links inside the body.
  • Final-project code validation: Errors of the element of "Button" must not appear as descendent of the "a" element were found and corrected by rewrite the code.
  • Error of mt-2 is not a margin value was found and corrected by replacing mt-2 with 2px.
  • Fixed the warnings of "maps is already defined" and "map used out of scope" by moving map declaration outside of if statement.

Unsolved Bugs

  • Console error. I had searched online and asked help from tutor service but stile haven't find the solution to solve this error.

consoleError

  • Contact Form won't reset and email sent message won't stay on the screen. See note and screenshots in Testing Browser Compatibility section.

Deployment

The website was deployed to GitHub pages. Link to the site is here.

Deployment was done by

  • Logging in to GitHub
  • Locating Milestone2 project repository
  • Clicking on the settings tab
  • Navigating to "Github pages" section
  • Changing the source from none to master branch
  • Website was published and link to the website was shown

Clone the repository

  • Log in to GitHub
  • Locate Milestone2 project repository
  • Click the green "Code" button right next to "Gitpod" button
  • Copy the link shown on the popup window under "Clone with HTTPS"
  • In Gitpod teminal window make a new directory on your computer
  • At the command promt type git clone https://github.com/suping106/MS2-NorthShore-Reservations.git
  • Press enter
  • Local clone repository will be created

Credits

Content

Code

  • The code for Navbar was modified from getbootstrap.com.
  • The code for the Map and Sign Up form was modified from the source code of Interactive Frontend Development module .

Media

Acknowledgements

  • I would like to thank my mentor Precious Ijege for his support, help, patience and encouragements. I am also grateful for the helps from tutors and slack members.

ms2-northshore-reservations's People

Contributors

suping106 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.