Skip to content

Brian Williams -- Javascript IV - #352

Open
bkwillia052 wants to merge 4 commits into
bloominstituteoftechnology:masterfrom
bkwillia052:master
Open

Brian Williams -- Javascript IV#352
bkwillia052 wants to merge 4 commits into
bloominstituteoftechnology:masterfrom
bkwillia052:master

Conversation

@bkwillia052

Copy link
Copy Markdown

@Velsu Velsu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on the assignment, You properly implemented prototypes and then refactored them into ES6 syntax with the methods. Not only that but You also tackled the stretch goals with the grades, good job 👍

this.previousBackground = props.previousBackground;
this.className = props.className;
this.favSubjects = props.favSubjects;
/* Below I meant set up a conditional that would prevent the grade prop from

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not working with gradeBlaster() because You are not using constructor that time but instead rewriting the property to whatever gradeBlaster() returns. So You can either directly set the conditional on gradeBlaster() or try to play around with setters and getters for an object to configure what the grade can be.

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.

2 participants