so that even those who are learning programming can understand it.
This sentence is used to Display pop-up window on the webpage.
in the page (1) Insert a script tag anywhere on the page (behind the body part of the body part of the head), the necessary attribute type attribute of the tag, this attribute describes the type of the document
(2 ) js written statement within the script tag
for example: alert ( “to prompt content”) role is to pop up a prompt window on the page, play the role of reminders and warnings.
It is best to add a semicolon to end each sentence after writing
The script tag is a double tag tag Note: In a script tag that has imported an external js file, it cannot be at the beginning and end Write the Js command in the label.
Conventionally, the external js file is introduced first. If the file does not fully meet the programming needs, then add the script tag to the file to write the statement.
Initially, it was developed specifically for the browser Netscape Navigator and was named LiveScript. After that, there was a tie-up with a company and it changed to the current name.
The differences between the two will be summarized later.
Features as a programming language
|(Example) Display of sentences and photos||Can be changed, enlarged or moved||Displayed as specified in the HTML file|
|(Example) Enter characters in the form and send||Yes|
(the transmission itself is handled by another program)
|Main operating locations||Browser of user’s personal computer or smartphone||– –|
|Complexity (learning difficulty)||Complex (requires language understanding)||– –|
By changing this setting, the content that was originally a merit will also be invalidated. for that reason,Be careful when switching to OFF.
|Name||How to read||overview|
Examples of use are Google Maps, etc.
and is popular.-Examples of applications are menus and image display. Search etc.
|JSON||Jason||Description method for expressing data in text|
|DOM||Dom||Mechanism for accessing and operating HTML files, etc.|
You might think it’s a similar programming language because it contains the common term Java. HoweverIt’s actually a completely different thing.
|Published date||December 1995 (the name at that time was “LiveScript”)||May 1995|
|Development company||Netscape Communications||Sun Microsystems, Inc.|
|Executable file||Source code||Java bytecode output by the Java compiler|
|Purpose of development||Make website page creation easier and faster||Works on any hardware|
|Field of use||Website page creation|
(systems and services running on a web browser, etc.)
|Various large-scale systems|
(business systems, web-related services such as SNS, Android smartphone applications, etc.)
Get Latest News, Education, Health & Fitness Tips, Online jobs, Movies updates, Anime & Games. i hope you enjoy reading our Blog 🙂