• This repository has been archived on 28/Jun/2022
  • Stars
    star
    1,183
  • Rank 39,544 (Top 0.8 %)
  • Language
    JavaScript
  • Created about 10 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This repository is used for one of the projects in Udacity's Front-End Web Developer Nanodegree program. Learn how to become a Front-End Developer today with line-by-line code reviewed projects and get a job with career services!

Project Details

How do I complete this project?

Review the Online Resume Project Rubric.

  1. In this project you will store your resume data in four javaScript objects according to the schema given below. As is often the case when leveraging an API, the objects must follow the schema exactly. All properties must be present and have real or fake values. The names must match those in the schema (note that object and property names are case-sensitive). All property values should be of the data-type given for the property in the schema. For example if the data-type is given as an array, it is not acceptable to use a string as a value for that property.
  2. Once you've created your javaScript objects, you will write the code needed to display all of the resume data contained within these objects in your resume.
  3. All of the HTML code needed to build the resume is stored in js/helper.js variables. The variable names indicate their function. You will replace substrings in these variable string values such as %data% and # with the data in your javaScript objects, and append or prepend the formatted result to your resume in the appropriate location.
  4. If you need a refresher on JavaScript syntax, go to the Javascript Basics course; if you would like to understand how this project is manipulating and traversing the DOM, check out Intro to jQuery.
  5. Go through the videos and assignments in this course to learn the JavaScript necessary to build your resume.
  6. Fork the project repo from Github and begin building you resume.
  7. If you are prompted to do so, you may want to get a Google Maps API key, and include it as the value of the key parameter when loading the Google Maps API in index.html: <script src="http://maps.googleapis.com/maps/api/js?libraries=places&key=[YOUR_API_KEY]"></script> You may have some initial concerns with placing your API key directly within your JavaScript source files, but rest assured this is perfectly safe. All client-side code must be downloaded by the client; therefore, the client must download this API key - it is not intended to be secret. Google has security measures in place to ensure your key is not abused. It is not technically possible to make anything secret on the client-side.
  8. Check your work against the Project Rubric.
  9. When you are satisfied with your project, submit it according to the Submission Instructions below.

By the end:

Your resume will look something like this

And your repository will include the following files:

  • index.html: The main HTML document. Contains links to all of the CSS and JS resources needed to render the resume, including resumeBuilder.js.
  • js/helper.js: Contains helper code needed to format the resume and build the map. It also has a few function shells for additional functionality. More on helper.js further down.
  • js/resumeBuilder.js: This file is empty. You should write your code here.
  • js/jQuery.js: The jQuery library.
  • css/style.css: Contains all of the CSS needed to style the page.
  • README.md: The GitHub readme file.
  • and some images in the images directory.

Your starting point...

js/helper.js

Within helper.js, you’ll find a large collection of strings containing snippets of HTML. Within many snippets, you’ll find placeholder data in the form of %data% or %contact%.

Each string has a title that describes how it should be used. For instance, HTMLworkStart should be the first <div> in the Work section of the resume. HTMLschoolLocation contains a %data% placeholder which should be replaced with the location of one of your schools.

Your process:

The resume has four distinct sections: work, education, projects and a header with biographical information. You’ll need to:

  1. Build four JavaScript objects, each one representing a different resume section. The objects that you create (including property names and the data types of their values) need to follow the schema below exactly. All properties should be included and contain a value of the type specified unless the property is marked 'optional'. Property values may contain real or fake data. Property names are case-sensitive. Make sure your javaScript objects are formatted correctly using jshint.com.
  • bio contains:

        name : string
        role : string
        contacts : an object with
              mobile: string
              email: string
              github: string
              twitter: string (optional)
              location: string
        welcomeMessage: string
        skills: array of strings
        biopic: string url
        display: function taking no parameters
    
  • education contains:

        schools: array of objects with
             name: string
             location: string
             degree: string
             majors: array of strings
             dates: string (works with a hyphen between them)
             url: string (optional)
        onlineCourses: array of objects with
             title: string
             school: string
             dates: string (works with a hyphen between them)
             url: string
        display: function taking no parameters
    
  • work contains

        jobs: array of objects with
             employer: string
             title: string
             location: string
             dates: string (Can be 'in progress')
             description: string
        display: function taking no parameters
    
  • projects contains:

        projects: array of objects with
              title: string
              dates: string (works with a hyphen between them)
              description: string
              images: array with string urls
        display: function taking no parameters
    
  1. Iterate through each javaScript object and append its information to index.html in the correct section.
  • First off, you’ll be using jQuery’s selector.append() and selector.prepend() functions to modify index.html. selector.append() makes an element appear at the end of a selected section. selector.prepend() makes an element appear at the beginning of a selected section.
    • Pay close attention to the ids of the <div>s in index.html and the HTML snippets in helper.js. They’ll be very useful as jQuery selectors for selector.append() and selector.prepend()
  • You’ll also be using the JavaScript method string.replace(old, new) to swap out all the placeholder text (e.g. %data%) for data from your resume JSON objects.
  • Here’s an example of some code that would add the location of one of your companies to the page:
    • var formattedLocation = HTMLworkLocation.replace("%data%", work.jobs[job].location);
    • $(".work-entry:last").append(formattedLocation);
  • Use the mockup at the page of this document as a guide for the order in which you should append elements to the page.
  1. The resume includes an interactive map. Do the following to add it.
  • In resumeBuilder.js, append the googleMap string to <div id=”mapDiv”>.
  • In index.html, uncomment the Google script element: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places"></script>
  • In helper.js, at the bottom of the file, uncomment code to initialize map and set fitBounds.
  1. All of your code for adding elements to the resume should be contained within functions.
  2. As described in the javaScript object schema, each 'display' function should be encapsulated within the javaScript object it displays in the resume. For instance, your 'display' function for appending 'work' experience data to the resume should be encapsulated within the 'work' javaScript object. The 'display' function can be encapsulated within the 'work' javaScript object definition in the same way other properties are defined there, or it can be encapsulated later in the file using dot notation. For example: work.display =
  3. It’s possible to make additional information show up when you click on the pins in the map. Check out line 174 in helper.js and the Google Maps API to get started.

Archival Note

This repository is deprecated; therefore, we are going to archive it. However, learners will be able to fork it to their personal Github account but cannot submit PRs to this repository. If you have any issues or suggestions to make, feel free to:

More Repositories

1

self-driving-car

The Udacity open source self-driving car project
Jupyter Notebook
6,072
star
2

deep-learning-v2-pytorch

Projects and exercises for the latest Deep Learning ND program https://www.udacity.com/course/deep-learning-nanodegree--nd101
Jupyter Notebook
4,963
star
3

deep-reinforcement-learning

Repo for the Deep Reinforcement Learning Nanodegree program
Jupyter Notebook
4,528
star
4

deep-learning

Repo for the Deep Learning Nanodegree Foundations program.
Jupyter Notebook
3,940
star
5

machine-learning

Content for Udacity's Machine Learning curriculum
Jupyter Notebook
3,825
star
6

self-driving-car-sim

A self-driving car simulator built with Unity
C#
3,810
star
7

Sunshine-Version-2

The official repository for Developing Android Apps
Java
2,886
star
8

ud851-Exercises

Java
2,048
star
9

ud851-Sunshine

Java
2,014
star
10

ud120-projects

Starter project code for students taking Udacity ud120
DIGITAL Command Language
1,586
star
11

cs344

Introduction to Parallel Programming class code
Cuda
1,227
star
12

course-collaboration-travel-plans

CSS
1,162
star
13

DSND_Term2

Contains files related to content and project of DSND Term 2
Jupyter Notebook
1,095
star
14

CarND-LaneLines-P1

Lane Finding Project for Self-Driving Car ND
Jupyter Notebook
779
star
15

CVND_Exercises

Exercise notebooks for CVND.
Jupyter Notebook
744
star
16

ud777-writing-readmes

Supplemental material for Udacity's "Writing READMEs" course
698
star
17

ud839_Miwok

Java
696
star
18

ud867

Course code repository for Gradle for Android and Java
Java
664
star
19

artificial-intelligence-for-trading

Content for Udacity's AI in Trading NanoDegree.
Jupyter Notebook
646
star
20

ud862-samples

Java
585
star
21

AIPND

Code and associated files for the AI Programming with Python Nanodegree Program
Jupyter Notebook
541
star
22

ud891

Google and Udacity course on Accessibility.
JavaScript
505
star
23

create-your-own-adventure

This is example repo illustrates the concept of a "Pull Request", created as part of the course How to Use Git and GitHub
Shell
503
star
24

CarND-Term1-Starter-Kit

Python
497
star
25

Just-Java

The official repository for the second Android Development for Beginners App : Just Java
Java
497
star
26

sagemaker-deployment

Code and associated files for the deploying ML models within AWS SageMaker
Jupyter Notebook
468
star
27

CarND-Advanced-Lane-Lines

Shell
454
star
28

private-ai

Repo for Udacity's Secure & Private AI course
Jupyter Notebook
449
star
29

artificial-intelligence

Python
441
star
30

ud839_CustomAdapter_Example

Java
439
star
31

Advanced_Android_Development

Repo for the Advanced Android App Development course
Java
429
star
32

CarND-Behavioral-Cloning-P3

Starting files for the Udacity CarND Behavioral Cloning Project
Python
425
star
33

cn-deep-learning

Jupyter Notebook
421
star
34

Full-Stack-Foundations

Solution Code to Full Stack Foundations (ud088)
Python
400
star
35

fullstack-nanodegree-vm

Python
372
star
36

CarND-Traffic-Sign-Classifier-Project

Classify Traffic Signs.
Jupyter Notebook
362
star
37

DL_PyTorch

Code for the Deep Learning with PyTorch lesson
Jupyter Notebook
358
star
38

ML_SageMaker_Studies

Case studies, examples, and exercises for learning to deploy ML models using AWS SageMaker.
Jupyter Notebook
355
star
39

ud843-QuakeReport

Discover earthquake activity around the world.
Java
350
star
40

frontend-nanodegree-mobile-portfolio

JavaScript
344
star
41

ud615

Course code for Scalable Microservices with Kubernetes
Go
338
star
42

cs291

Interactive 3D Graphics class code
JavaScript
319
star
43

CarND-Extended-Kalman-Filter-Project

Self-Driving Car Nanodegree Program Starter Code for the Extended Kalman Filter Project
C++
315
star
44

SFND_Lidar_Obstacle_Detection

C++
307
star
45

CarND-Path-Planning-Project

Create a path planner that is able to navigate a car safely around a virtual highway
C++
306
star
46

and-nd-firebase

Course code repository for Firebase in a Weekend by Google: Android
Java
299
star
47

robot_pose_ekf

The robot_pose_ekf ROS package applies sensor fusion on the robot IMU and odometry values to estimate its 3D pose.
C++
293
star
48

frontend-nanodegree-arcade-game

JavaScript
284
star
49

fend

General Front End Nanodegree Content Resources
CSS
276
star
50

FSND

Public repository for the Full-Stack Nanodegree program.
Python
272
star
51

devops-intro-project

Project files for Intro to DevOps class
Shell
269
star
52

rl-cheatsheet

RL Notation and Pseudocode for Udacity's MLND program
TeX
269
star
53

Court-Counter

The official repository for the third Android Development for Beginners App : CourtCounter
Java
264
star
54

Android_Me

App that lets you style your own Android! This uses Fragments to create a flexible and responsive UI.
Java
260
star
55

APIs

Code Repo for API course in Fullstack ND
Python
257
star
56

CarND-Vehicle-Detection

Vehicle Detection Project
Shell
252
star
57

reactnd-project-myreads-starter

Starter Code for the React MyReads Project
JavaScript
251
star
58

CarND-MPC-Project

CarND Term 2 Model Predictive Control (MPC) Project
C++
251
star
59

nd064_course_1

Python
248
star
60

DSND_Term1

Contains files related to content and project of DSND
Jupyter Notebook
247
star
61

ud845-Pets

Java
243
star
62

data-analyst

Content for Udacity's Data Analyst curriculum
HTML
240
star
63

AIND-NLP

Coding exercises for the Natural Language Processing concentration, part of Udacity's AIND program.
Jupyter Notebook
239
star
64

P1_Facial_Keypoints

First project for CVND: facial keypoint detection.
Jupyter Notebook
220
star
65

frontend-nanodegree-styleguide

Official FEND style guides
HTML
220
star
66

dermatologist-ai

Python
208
star
67

NLP-Exercises

Jupyter Notebook
198
star
68

nd1309-work-code

Include for each Part in the ND Program the applications code.
JavaScript
193
star
69

CarND-Camera-Calibration

Images and notebook for camera calibration
Jupyter Notebook
192
star
70

frontend-nanodegree-styleguide-zh

优达学城(Udacity)前端样式指南
HTML
192
star
71

nd9991-c2-Infrastructure-as-Code-v1

Repository for starter code and supporting material
Shell
191
star
72

andfun-kotlin-android-trivia

Kotlin
189
star
73

CarND-Capstone

CMake
188
star
74

ud864

Public repository for code examples used in Udacity's Google Maps APIs course (https://www.udacity.com/course/google-maps-apis--ud864).
HTML
188
star
75

CarND-Semantic-Segmentation

Python
186
star
76

dog-project

Jupyter Notebook
182
star
77

DevOps_Microservices

Supporting material and projects for a course on Cloud DevOps: Microservices.
Jupyter Notebook
181
star
78

ud811

Course materials for Udacity's Intro to Progressive Web Apps course at https://www.udacity.com/course/intro-to-progressive-web-apps--ud811
JavaScript
178
star
79

ShoppingListPlusPlus

ShoppingListPlusPlus is the companion Android app for the Udacity course Firebase Essentials : Build a Collaborative Shopping List App. https://www.udacity.com/course/firebase-essentials-for-android--ud009
Java
176
star
80

CppND-Route-Planning-Project

C++
173
star
81

reactnd-contacts-complete

Code-along project for the Contacts app
JavaScript
171
star
82

ud405

Code supporting the free Udacity class 2D Game Development with LibGDX.
Java
171
star
83

course-git-blog-project

Sample repo of a blog for the Git course
HTML
170
star
84

ud859

Course code for Building Scalable Apps with Google App Engine class
Java
170
star
85

ios-nd-networking

Resources for Udacity's iOS Networking with Swift course.
Swift
168
star
86

intro-to-ml-tensorflow

Projects and exercises for the Udacity Intro to Machine Learning with TensorFlow course
Jupyter Notebook
159
star
87

course-JS-and-the-DOM

JavaScript
158
star
88

CarND-Mercedes-SF-Utilities

Tools for Sensor Fusion processing.
Jupyter Notebook
158
star
89

AIND-Sudoku

Python
156
star
90

didi-competition

Resources for the Udacity/Didi $100k competition
Python
153
star
91

exoplanet-explorer

Learn more about Exoplanets! (built for Promises course)
HTML
146
star
92

ud989-cat-clicker-premium-vanilla

ud989-cat-clicker-premium-vanilla
JavaScript
146
star
93

ud989-retain

JavaScript
146
star
94

CVND---Image-Captioning-Project

Jupyter Notebook
145
star
95

JDND

Public repository for the Java Developer Nanodegree program.
Java
144
star
96

nd9991-c2-Infrastructure-as-Code-v1-Exercises_Solution

This repository contains the solution to the exercises given in the last concept of each Lesson 1 to Lesson 5.
142
star
97

nd027-c3-data-lakes-with-spark

Python
142
star
98

AdvancedAndroid_Emojify

Java
141
star
99

CppND-Capstone-Snake-Game

A 2D Snake game using C++ and SDL
C++
139
star
100

cloudflare-typescript-workers

Types and mocks for building a tested Typescript Cloudflare Worker, generates three NPM packages
TypeScript
139
star