Skip to content

second commit#30

Open
Joseph-Ten wants to merge 2 commits intorocketacademy:mainfrom
Joseph-Ten:master
Open

second commit#30
Joseph-Ten wants to merge 2 commits intorocketacademy:mainfrom
Joseph-Ten:master

Conversation

@Joseph-Ten
Copy link

Please fill out the survey before submitting the pull request. Thanks!

🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀

How many hours did you spend on this assignment?

Please fill in one error and/or error message you received while working on this assignment.

What part of the assignment did you spend the most time on?

Comfort Level (1-5):

Completeness Level (1-5):

What did you think of this deliverable?

Is there anything in this code that you feel pleased about?

Copy link

@michelle-mok michelle-mok left a comment

Choose a reason for hiding this comment

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

good work on providing lots of comments that make your code easier to read!
also good work on organising your code into functions!
consider splitting your code up into different files so that it is tidier
keep up the good work!

Comment on lines +604 to +621
// Total points and bid points -------------------------------------------
// initialize bidPointsHeadingEl functionality
bidPointsHeadingEl.innerText = 'Points Bidded';
bidPointsContainer.appendChild(bidPointsHeadingEl);
// initialize bidPointsInfoEl functionality
bidPointsInfoEl.innerText = playerBidPoints;
bidPointsContainer.appendChild(bidPointsInfoEl);
// initialize bidPointsContainer functionality
gameDisplayContainer.appendChild(bidPointsContainer);
// initialize totalPointsHeadingEl functionality
totalPointsHeadingEl.innerText = 'Total Points';
totalPointsContainer.appendChild(totalPointsHeadingEl);
totalPointsContainer.appendChild(totalPointsHeadingEl);
// initialize totalPointsInfoEl functionality
totalPointsInfoEl.innerText = playerTotalPoints;
totalPointsContainer.appendChild(totalPointsInfoEl);
// initialize totalPointsContainer functionality
gameDisplayContainer.appendChild(totalPointsContainer); No newline at end of file

Choose a reason for hiding this comment

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

consider putting this block of code into a function, and calling the function in initGame

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