Skip to content

Conversation

@renataestes
Copy link
Owner

Checkpoint Rubric

This is the rubric that your instructor will use to grade your checkpoints. Please do not edit.

Checkpoint 1

  • All tests passed: 40 points
  • Proper use of documentation (commenting on code): 15 points
  • Properly indented code: 15 points
  • Demonstrated effective use of JavaScript: 30 points

Checkpoint 2

  • The application works as it should: 40 points
  • Proper use of documentation (commenting on code): 15 points
  • Properly indented code: 15 points
  • Demonstrated effective use of JavaScript and the DOM API: 30 points

Checkpoint 3

  • Use of React: 25 points
  • Accesses an API: 25 points
  • Proper use of documentation (commenting on code): 25 points
  • The application functions as it should: 25 points

Copy link

@reneemeyer reneemeyer left a comment

Choose a reason for hiding this comment

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

Renata, nice job, just a couple of fixes to make. Make sure you switch back to the class1datatypes to fix, and push. The pull request will update automatically. Go back to the PR on github, once all the comments are addressed, merge and delete the branch.


//Current Date & Time
function returnDate() {
let now = new Date();

Choose a reason for hiding this comment

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

let is redundant. can be simplified to be one line return new Date();


//Convert # to String
function numToString(x) {
return x.toString();

Choose a reason for hiding this comment

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

Can be simplified to be one line

//Convert a String to #
function stringToNum(x) {
let a = parseInt(x);
console.log(a);

Choose a reason for hiding this comment

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

Can be simplified to be one line


//One of two things are true
function theTruth() {
if (9 > 8 && 9 > 10) {

Choose a reason for hiding this comment

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

Refactor to evaluate if two arguments are true (like in class)

//Both not true
function theTruth() {
if (9 === 8 && 8 === 7) {
console.log("Numbers never lie!");

Choose a reason for hiding this comment

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

Refactor to evaluate if two arguments are not true (like in class)

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.

3 participants