The Number Guess app utilizes the SpeechRecognition interface of the Web Speech API for its functionality.
The Number Guess app chooses a random number between 1 and 100. The user speaks his guess for the number. If the user guesses a word that is not a number, the Numer Guess app will tell it to guess a number. If the number is over or under the limits, the Number Guess app will ask the user to guess in the range. The Number Guess app will use the guess spoken by the user to determine if the guess is too high, too low, or correct; and display a message according to the number guessed.
Please enjoy the Number Guess. E-mail me with any feature update suggestions.
HTML5 is a markup language used for structuring and presenting content on the World Wide Web. The goals are to improve the language with support for the latest multi-media and other new features; to keep the language both easily readable by humans and consistently understood by computers and devices; and to remain backward compatible to older software. Many new symantec features are included.
HTML5 content borrowed from this page.
Cascading Style Sheets (CSS) is a stylesheet language used for describing the presentation of a document written in a markup language (such as HTML5). CSS is designed to enable the separation of presentation and content; including layout, colors, and fonts. This separation improves content accessibility to provide more flexibility and control in the specification of presentation characteristics, enabling multiple web pages to share formatting by specifying relevant CSS in a separate file, which reduces complexity and repetition in the structural content (HTML), as well as enabling the file to be cached to improve the page load speed between the pages that share the file and its formatting.
Separation of formatting and content also makes it feasible to present the same markup page in different styles for different rendering methods, such as on-screen, in print, by voice, and on Braille-based tactile devices.
CSS content borrowed from this page.
JavaScript (JS) is one of the core technologies of the World Wide Web (along with HTML and CSS). It enables interactive web pages and is an essential part of web applications. JS is a multi-faceted, scripting language that provides versatility through Application Programming Interfaces (APIs) and Document Object Model (DOM) manipulation, among others.
JavaScript content borrowed from this page.
The SpeechRecognition interface of teh Web Speech API is the controller interface for the recognition service. It is a part of the Web Speech API.
Click here to find out more about SpeechRecognition.
Project coded by 💚 Eric D. Torres 💚 with help from Traversy Media - "20 Web Projects with Vanilla Javascript".
The author can be reached at etorresnotary@gmail.com.
MIT License
Copyright (c) 2020 EricDTorres
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.