Skip to main content

Advantages & Disadvantages of JavaScript

 

Advantages:

·        JavaScript is object-based language because it provides predefined objects.

·        JavaScript is a light weighted language.

·        JavaScript is highly a case- sensitive language.

·        Each and Every statement in JavaScript terminates with the semi-colon(;).

·       JavaScript also has ability to create new function using “function” keyword.

Disadvantages:

We can’t treat JavaScript as an undeniable programming language. It comes up short on the accompanying significant highlights:-

·       Reading and Writing does not allow in client-side JavaScript.

·       There is no good and efficient way of analyzing errors and catching exceptions.

·        As no backings are accessible, JavaScript cannot be utilized for any networking applications.

·       JavaScript might be rendered by various engines in an unexpected way. Thus, this causes irregularity as far as interface and usefulness.

Comments

Popular posts from this blog

Basic Structure of JavaScript

  JavaScript can be implemented using JS code in between <script> …. </script> tag if you have kept your JS code inside the HTML document itself. The script tag contains two significant attributes: - ·         Language- This attribute indicates what scripting language you are using in a web page. Normally, the standard will be “javascript”. Latest version of Html(Html5) does not require the use of this attribute anymore.   ·         TYPE- This library is used for what is presently instructed to show the scripting syntax being used and in JavaScript its value should be set to “text/javascript”.

Cascading Style Sheet

  CSS ( The Stylist ) HTML is responsible for all the core foundation and CSS is responsible designing of webpage like pretty layout, add colors to your font, change the font-size and font-style etc. Both are used together.               Hence we can say that- “It is a language for specifying how documents/web-pages are presented to the user.” By the use of CSS, we can manage what the color of text, style of fonts, background color and images, spaces between the paragraphs, variation in display for different devices and screen size should be, how columns are sized etc. It gives us the control over presentation of the document.   History and versions- It was invented by HakonWium Lie in 1994 and maintained by a group of people within the W3C (World Wide Web Consortium). This group creates docs. called ‘specifications’. After a discussion by W3C members, it becomes a ‘recommendation’. In December 1996, C...

Advantages of using CSS

  o Time Saver - Writing CSS code saves our time as we can do global changes easily . o Page loads faster - We are not considered to write HTML tag attributes every time, if we are using CSS. So, less code means our page will load faster. o Superior styles to HTML - Array of attributes in CSS are wider than HTML, that gives a better look to the page.   o Maintenance becomes easy - If you want to make a change globally, just change the style and changes will be done in all the web pages. o Multiple device permittance - CSS allow content to be optimize for various types of devices. It make the pages compatible to different devices and browsers.   o How we write code in CSS/Use- External Style Sheet-    is used when we want to apply style to multiple pages. Each of the pages must link to style sheet by using <link> tag. Internal Style Sheet - It should be used when we want to style single document. They are defined in head section. I...