Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 66 - 2609_Logicode
P. 66

    HTML creates static  web pages,  where content  stays  the  same  until  the  page  is  reloaded  or
                      changed manually. Adding JavaScript makes the page dynamic and interactive, allowing changes
                      like text, colours or drop-down choices without reloading. This enhances the user experience.

                                JAVASCRIPT

                      A web page has three core parts: HTML provides the structure, CSS applies the style and JavaScript
                      manages the functionality of the web page.

                      JavaScript is a popular scripting language that enhances web page interactivity. It allows web
                      pages to respond to user actions, like button clicks or form submissions. It’s used in modern
                      websites to create dynamic features like animations, games and live feeds.

                      FEATURES OF JAVASCRIPT

                      JavaScript is a widely used programming language that plays a crucial role in web development.
                      It is also known for its important features.

                         JavaScript is a simple language that runs directly in the browser without extra tools.
                         It is platform-independent and can execute on any device or browser.

                         Functions are a key part of JavaScript, used to perform tasks or process input data.

                         JavaScript is an interpreted language, executed line by line in the browser.
                         It is supported by all modern web browsers, with no need for additional software.

                      ADVANTAGES OF JAVASCRIPT

                      Some of the advantages of using JavaScript are as follows:
                         It is much faster than other scripting languages because it works on the client’s web browser.

                         It minimises the server load as its code is executed on the client side.
                         It allows you to insert dynamic text into an HTML web page.

                         It allows reading and modifying the content of HTML elements.

                         It is used to create visually appealing web projects.

                      LIMITATIONS OF JAVASCRIPT
                      Some limitations of using JavaScript are as follows:

                          JavaScript  runs  in the user’s browser and can be  seen through developer  tools,  exposing
                        business logic and making the code vulnerable to tampering.
                          If JavaScript is disabled, website functionality may be disrupted, affecting accessibility and
                        user experience.

                         Due to its flexibility, messy code is easy to write.

                       64   Premium Edition-VIII

| 61 62 63 64 65 66 67 68 69 70 71 |