Page 103 - CodePilot V5.0 C8
P. 103

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   Brendan Eich, a programmer at Netscape,
                    may  be  disrupted,  affecting  accessibility  and    developed  JavaScript  in just  10 days  in
                    user experience.                                      May 1995.

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

                     JavaScript may behave differently across browsers, leading to bugs or compatibility issues.

                     It is also prone to security risks, such as Cross-Site Scripting (XSS) attacks, where attackers
                    can inject or execute malicious code.




                        SETTING UP JAVASCRIPT

                 JavaScript  is  a  versatile  programming  language  that  enables  dynamic  features  on websites.

                 All you need is a web browser and a text editor to start. No complex installations are required;
                 you can write and test code using the browser console or a text editor like Notepad.


                 SETTING UP JAVASCRIPT IN WEB BROWSER
                 A browser is an application program that has a graphical user interface for displaying HTML files.
                 By default, the JavaScript feature is enabled in the web browser.

                 Follow the given steps to turn on or turn off JavaScript in Microsoft Edge:



                                                                                 1    Click on the Settings and
                                                                                more button at the top right of
                                                                                the Microsoft Edge window.














                                                                                 2    Select the Settings option from
                                                                                the drop-down list.









                                                                                                                  101
                                                                                            JavaScript for Beginners
   98   99   100   101   102   103   104   105   106   107   108