Summary
In this chapter, we learned what is Javascript How it works and its advantages and disadvantages. Its biggest drawback is that we cannot trust the reliability of the obtained information. I have commented on this, but I also mentioned that the use Javascirpt This allows websites to have a better and smoother experience.
You have run some Javascript Code, See how to add comments to the Code, how to use semicolons Javascript Separate statements. You also understand that using braces can make Javascript Consider a group of multiple lines of code as an independent block. Followed by If Statement example. You have learned Javascript The execution is usually from top to bottom. From the first script block to the last script block, a function is an exception. It can be executed only when you call them.
We also learned the object, which is a compilation Javascript Core. More Javascript Since the object itself, the browser also uses objects and methods to make it and the document scripted. Finally, we have read a simple example that reads the user's screen resolution, and apply a sum style.
In the next chapter, I will cover Javascript Language basics. You will see Javascript How to store and manipulate data, and how to use it in computing. We will also see the use of decision statements to create "intelligent" Javascript Program. It allows us to evaluate, compute, and select an appropriate action branch for data. After you have mastered the next chapter, you will have the basic knowledge of continuing to learn more exciting and useful web programming.