Git Product home page Git Product logo

interactivefrontenddevelopment-resume's Introduction

Putting It All Together - Interactive Frontend Mini Project Solution Code

This repo contains the solution code for the Putting It All Together - Interactive Frontend Mini Project lesson.

What is covered

Throughout these lessons we'll take a look at how to take the JavaScript that we've learned throughout the Interactive Frontend module, and implement them in a real-world project - in this case, we'll continue working with Rosie's resume site.

Contents

This repository contains the solution code for the following units -

  • 01-GoogleMaps
    • 01-adding_the_map_element
    • 03-referencing_the_js_files
    • 04-rendering_the_map
    • 05-adding_markers_to_the_map
    • 06-moving_the_code_into_its_own_script
  • 02-TheGitHubAPI
    • 01-github_form
    • 02-initial_data_retrieval_setup
    • 03-making_promises
    • 04-rendering_user_data
    • 05-getting_repo_data
    • 06-rendering_repo_data
    • 07-lets_fix_some_bugs
    • 08-api_throttling
  • 03-SendingEmailsUsingEmailJS
    • 03-connecting_to_the_email_service_using_their_sdk
    • 05-preparing_the_contact_file
    • 06-sending_emails

interactivefrontenddevelopment-resume's People

Contributors

ajgreaves avatar lechien73 avatar nielmc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

interactivefrontenddevelopment-resume's Issues

Google Maps API has been updated and function is different

map and markers are now passed inside an object not independent arguments, no image is necessary.
The source code works but is outdated and using an old version. This seems to be causing confusion for some students.

Current Link in videos

New API Link
Really reader-friendly code...๐Ÿค”

Google Maps API Docs

<!-- revised script not indented -->

<script src="https://unpkg.com/@googlemaps/markerclusterer/dist/index.min.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap" async defer><script>
    <script src="assets/js/maps.js"></script>
function initMap() {
  const map = new google.maps.Map(document.getElementById("map"), {
      zoom: 3,
      center: {
          lat: 46.619261,
          lng: -33.134766
      }
  });
  
  const locations = [
    { lat: 40.785091, lng: -73.968285 },
    { lat: 41.084045, lng: -73.874245 },
    { lat: 40.754932, lng: -73.948016 },
  ];

  const markers = locations.map(function (location, i) {
    const labels = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    return new google.maps.Marker({
      position: location,
      label: labels[i % labels.length],
    });
  });
  const markerCluster = new markerClusterer.MarkerClusterer({map, markers});
}

Cheers,

Dave

contact.html is missing the <form> tag and other things

The file contact.html in the 5-preparing_the_contact_html_file folder is missing the form tag. It has the /form but not the open tag and the onsubmit and other params. Also the sendEmail.js is missing and the script tag this video added at the bottom of contact.html that loads it is missing. The anonymous function in the script at the top in the head tag block that calls EmailJS.init() etc isn't matching the code in video either.

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.