Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Typo in Mario Studio 3 Code #6

Open
joelhealy opened this issue Jan 21, 2018 · 0 comments
Open

Typo in Mario Studio 3 Code #6

joelhealy opened this issue Jan 21, 2018 · 0 comments

Comments

@joelhealy
Copy link

In the notes for Studio 3, the following tasks appear:

  1. Next, inside the determineHeightAndThenDrawPyramid function, you must figure out what height the user typed.

  2. Now that you know the height, time to draw the pyramid. Once again, you already have a function that does exactly that, right? So don't over-think (or over-type) this step.

In the checked out code, the following todos appear:

// TODO 3
// figure out the height the user typed (replace the "5" below)
heightStr = "5";

// here we convert the string to an int
height = parseInt(heightStr);

// TODO 2
// draw the pyramid with the given height

I think the 2 and 3 need to be swapped in exactly one of these places so that the tasks match up with the todos.

@joelhealy joelhealy changed the title Type in Mario Studio 3 Code Typo in Mario Studio 3 Code Jan 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant