Skip to content

Jun Hyuk Kim: Javascript IV - Complete + Stretch #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

junhyukee
Copy link

@junhyukee junhyukee commented Jun 28, 2018

prototype-refactor - Take existing code and make it modern.

  • Refactor prototype-refactor.js to class syntax

lambda-classes - We need a roster of Lambda School personnel. Build it!

  • We have a school to build here! This project will get you used to thinking about classes in JavaScript and building them from a brand new data set.
  • Lambda personnel can be broken down into three different types of people.
    • Instructors - extensions of Person
    • Students - extensions of Person
    • Project Managers - extensions of Instructors
  • IMPORTANT - You'll need to create 2 - 3 objects for each class and test them according to their unique Attributes. For example:

Person

  • Implement Person class

Instructor

  • Implement Instructor class

Student

  • Implement Student class

Project Mananger

  • Implement Project Manager class

Stretch Problem

  • Extend the functionality of the Student by adding a prop called grade and setting it equal to a number between 1-100.
  • Now that our students have a grade build out a method on the Instructor (this will be used by BOTH instructors and PM's) that will randomly add or subtract points to a student's grade. Math.random will help.
  • Add a graduate method to a student.
    • This method, when called, will check the grade of the student and see if they're ready to graduate from Lambda School
    • If the student's grade is above a 70% let them graduate! Otherwise go back to grading their assignments to increase their score.

@junhyukee junhyukee changed the title Jun Hyuk Kim: Javascript IV - In Progress Jun Hyuk Kim: Javascript IV - Complete Jun 28, 2018
add grade prop to Student

change grade method of Instructor

add graduate method to Student
@junhyukee junhyukee changed the title Jun Hyuk Kim: Javascript IV - Complete Jun Hyuk Kim: Javascript IV - Complete + Stretch Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant