General Explanations and Beginners Javascript New



It is been long time since the first website published. In recent era, JavaScript might not popular term, but still the main development of internet technology. Many people cannot make clear distinction between java and JavaScript. You will know about such matter in the following part. Regarding JavaScript new development, HTML takes much advantage. You cannot develop JavaScript without html and vice versa. The reason is also presented on the following section.

Understanding Script Language JavaScript

Java vs. JavaScript is what everyone what to know, especially for beginners. Java is programming language to create standalone application. For example, programmer creates application to check the weight and calorie that can be installed in mobile device or laptop. Java is similar to Python or C, but in different properties. Java is object-oriented program.

JavaScript is more like text-based language. Development of JavaScript started from Netscape as one of browsers in early internet era. JavaScript cannot be placed without HTML. Read the word “script” behind java. This means JavaScript does not need compiler to run. You just write this script in Notepad with HTML language. After that, save into htm extension then run through the browser. Script language JavaScript is simple and no complex structure. It can be attached or detached based on your preference and need. JavaScript, HTMLL, and CSS are the the top used technology for website and browser. Compatibility of JavaScript will be explored in the next section.

JavaScript security has huge concern this day due to vulnerability of cross scripting. As you know, JavaScript makes website to be more interactive. Moreover, JavaScript is integrated into HTML, which increases the risk. You already know that virus is one of JavaScript products. Malwares and viruses incorporate JavaScript to embed into website and browser. When you hit certain link, this virus activates to be automatically installed in your system. Every technology has benefit and risk. In spite of high risk, JavaScript is excellent protection to keep website from unwanted penetration. Web developer fights against malware and virus with the same language.

JavaScript is heavily utilized in website and browser. As you know, static website only provides non-interactive content. Viewers only read and there is no interaction from visitor side. JavaScript changes everything and makes it more interactive with comment, picture, video, even form submission. Browser compatible is important in this matter. Since the beginning of internet era, you will find many browsers. Few of them are known today. The rest of browsers had been discontinued. JavaScript is not static technology, so browser should match with its development. Today, popular browsers with JavaScript support are Google Chrome, Firefox, and Safari.

For programmers, it is important to know whether bowser is compatible or not with this code. Can a browser handle my script? This question is simple but quite tough to answer. When creating script, you need to determine which browser that’s not compatible. Normally, common and standard browsers are able to support recent JavaScript. However, you may find niche users, which use specific browser. If your target is this market, try to update browser and see what happen in script. When the script does not run properly, it is time to check the code structure.
 Example code JavaScript:


 <script type="text/javascript">

    document.write("<h1>Ini Judul</h1>");

    document.write("<p>Ini Paragfar.</p>");

    document.write("<p>Ini paragraph yang lain.</p>");

</script>
 
SHARE

About andy

I made this blog just to make about the science that I learned during the study, if there is something wrong please comment below, and do not forget to share, thank you.

    Blogger Comment
    Facebook Comment

0 komentar:

Posting Komentar