Skip to content
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

First Task Instructions unclear #5

Closed
jonfriskics opened this issue Jan 23, 2017 · 4 comments
Closed

First Task Instructions unclear #5

jonfriskics opened this issue Jan 23, 2017 · 4 comments

Comments

@jonfriskics
Copy link
Contributor

For the "Create setHiddenFields Function" the instructions are:

Our application uses the answer hidden input to store the answer to the game. Our setHiddenFields method should not use any parameters, but needs to set the awnser hidden input to a randomly generated number between 0 and 9999.

This doesn't specifically say anything about what a student is supposed to do for this step. I recommend something like this:

Create a function named `setHiddenFields` that sets the `answer` variable equal to a randomly generated number between 0 and 9999.
@jonfriskics
Copy link
Contributor Author

Also, Hint 1 can be cleaned up too.

Math.round() can be used to randomly generate a number between 0 and 1 (up to 18 decimal points) and Math.floor(input), Math.ceiling(input), or Math.round(input) can be used to then round that number either up or down.

@jonfriskics
Copy link
Contributor Author

Not sure what the point of Hint 2 is here - we don't have to call getElementById in this task, right?

@jonfriskics
Copy link
Contributor Author

Also in Hint 1 - says "Math.round() can be used to randomly generate...", it's actually Math.random(), right?

@EricJFisher
Copy link
Contributor

I've updated the details on task 1 in both the .com and readme.md for clarity.

daniel-fodor added a commit to daniel-fodor/CodeBreakerProject that referenced this issue Feb 14, 2017
daniel-fodor added a commit to daniel-fodor/CodeBreakerProject that referenced this issue Feb 14, 2017
zachgatesak added a commit to zachgatesak/CodeBreakerProject that referenced this issue Feb 20, 2017
zachgatesak added a commit to zachgatesak/CodeBreakerProject that referenced this issue Feb 20, 2017
zachgatesak added a commit to zachgatesak/CodeBreakerProject that referenced this issue Feb 20, 2017
ktmathews89 pushed a commit to ktmathews89/CodeBreakerProject that referenced this issue Apr 26, 2017
ktmathews89 pushed a commit to ktmathews89/CodeBreakerProject that referenced this issue Apr 26, 2017
ktmathews89 added a commit to ktmathews89/CodeBreakerProject that referenced this issue Apr 26, 2017
AleTorres added a commit to AleTorres/CodeBreakerProject that referenced this issue May 2, 2017
AleTorres added a commit to AleTorres/CodeBreakerProject that referenced this issue May 2, 2017
AleTorres added a commit to AleTorres/CodeBreakerProject that referenced this issue May 2, 2017
AleTorres added a commit to AleTorres/CodeBreakerProject that referenced this issue May 2, 2017
AleTorres added a commit to AleTorres/CodeBreakerProject that referenced this issue May 2, 2017
javiBertos pushed a commit to javiBertos/CodeBreakerProject that referenced this issue Aug 21, 2017
javiBertos pushed a commit to javiBertos/CodeBreakerProject that referenced this issue Aug 21, 2017
javiBertos pushed a commit to javiBertos/CodeBreakerProject that referenced this issue Aug 21, 2017
javiBertos pushed a commit to javiBertos/CodeBreakerProject that referenced this issue Aug 21, 2017
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

No branches or pull requests

2 participants