Posts

Showing posts from January, 2021

which Javascript projects tutorial is better? Brad Traversy or Andrei Neagoie

Image
As we know if you want to become a web developer, which has three paths actually, front-end developer, back-end developer, and full stack developer.  For my opinion, front end side is more vision-related, which you connect more with users’ demands. You can actually see what your code turns into a real website. Backend is more data and logic related, how to manage and manipulate the data at the back when the website is running. A good website would have a strong logic structure for future management and faster response and so on, which is the brain of the human. And the full stack development means two together of course, which you should understand both side knowledge so you can do the projects by yourself and easy to cooperate with colleges for teamwork, that’s why lots company would like a full stack developer, head free when communicating while doing the teamwork. For myself, I jumped into this field because of interests though and self-taught at home. So I basically rely on onli

Speak guessing number game with Javascript

Image
  course from Brad Traversy Github code Feature: SpeechRecongnition Web API HTML msg is the container to show the user speaking content and also a selected message CSS style the play-again button the box is for the detective content speaking  JS select the element of the message box First, generate the random number to be the right answer Math.random() to generate a number between 0-1  format the number with Math.floor() to get a number between 1-100 Using Web Speech Recognition API, which is not good for all browsers.  If you do have Firefox browser, make sure the function is true. Firefox  search "about:config" ,enable to change search "speech", "media.web speech.recognition.force_enable" and "media.web speech.recognition" to true Make sure Chrome supported: MDN var SpeechRecognition = SpeechRecognition || webkitSpeechRecognition Speech Recognition API Document SpeechRecognition.start() Starts the speech recognition service listening to inco