For example, Javascript variables are data storage: an “An online shop- the information includes good being and a shopping card.” or “a chat application- the information might include users, messages.” I assume to initialize a variable. You would use “=” when you’re writing a script. This would help the computer understand what your trying to calculate. Without it, the computer would be clueless. Initializing is a process that assigns a value to a variable, but if it a value isn’t assigned to anything, it would be called a declaration. One lesson I learned during javascript was its case sensitivity. Also, letters and signs are important and should be careful. Arithmetic operators are operators signs such as add, subtract, multiply, division, modulus, and many more. One thing that stood out during class was, “if the string looks like a number, javascript will convert the string to a number to do arithmetic.” Concatenation connecting strings together, such as using “()” and “+” Lastly, the line of code used to prompt a user for a response is “prompt()”
https://www.scaler.com/topics/string-concatenation-javascript/
Hi Montajim,
Before this class, I knew of Javascript but never really explored what it was. I was honestly a little bit intimidated by coding, as computer skills have never been my strongest suit. So, safe to say that when I found out we would be coding in this class, I was a little nervous. However, I am so happy we learned about Javascript! It really can do amazing things that I never even knew! It is definitely not always easy, but it is much less difficult than I imagined it to be. Never would I have thought that I would be able to program a webpage to display messages! I think you hit on all of the important features that Javascript has when coding. I am extremely grateful that we learned the very basics of this platform during our short time in this class this semester!
I actually mentioned being careful to one of our classmates because many times I have rushed and messed up. Javascript is very sensitive and drives me crazy because it is not something that you could do juggling multiple tasks at once.