number-guesser's Introduction
number-guesser's People
number-guesser's Issues
Clean up HTML and CSS
Refactor updateText()
fix conditional to check whether input is a number, null, or string
Don't display "You last guess was" on initial load
Reset button disabled if nothing to reset
The reset button should be disabled if there is nothing to reset.
Finish mobile-first styling
Deal with negative numbers in guess range
"Too high" or "Too low" message
An element that displays a message to user:
If their guess is too high, it should display: “That is too high”
If their guess is too low, it should display: “That is too low”
Possible to enter same number for min/max
Increase/decrease max by 10 after win/loss
- Every time the user wins a round increase the maximum number by 10.
- Every time the user wins a round decrease the minimum number by 10.
- adjust the input fields to accept the new minimum and maximum numbers
Guess Input field
An input field for guessing the number
Submit guess button
A button for submitting a guess
Error message if guess is not a number
The application should display an error message if the guess is not a number (e.g. parseInt() returns NaN).
Clear button disabled if nothing to clear
The clear button should be disabled if there is nothing to clear.
adjust last-guess overflow
increase size/width of elements on mobile
min is adjusted on user win
looks like the min
is being reduced by a factor of ten on user win. Should only be increasing max on user win/loss.
Clear input field button
A button for clearing the input field
Random number generator
Error Message if guess outside of range
The application should display an error if the guess is outside of the range of possible answers.
Guess input - number and min/max attributes
The type attribute for the guess input should be “number”.
It should have “min” and a “max” attributes equal to the minimum and maximum of the range of guesses (e.g. 1 and 100, respectively).
Reset game button
A button that reset the game to its initial state
Most recent guess
An element that displays the users most recent guess
User specified min/max
Add additional inputs that allows the user to specify what the minimum and maximum numbers should be.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.