By Paul Wilton
Approximately This Book
Understand how net 2. zero is made through robust browser-based applications
Step-by-step educational that might convey you the way quick, advanced internet functions could be built
Who This booklet Is For
This e-book relies on Meteor 1. zero.
- Interactive Data Visualization for the Web
- AngularJS: Novice to Ninja: Elegant, Powerful, Testable, Extendable
In the last chapter we wrote some code that converted temperature in degrees Fahrenheit to centigrade. We obtained the degrees Fahrenheit from the user using the prompt() function. This worked fine if the user entered a valid number, such as 50. If, however, the user entered something invalid for the Fahrenheit temperature, such as the string aaa, we find that our code no longer works as expected. Now, if we had some decision-making capabilities in our program, we could check to see if what the user has entered is valid.