Page 102 - CodePilot V5.0 C8
P. 102

BRIDGE BACK
                    1.   Discuss why images and videos should be included in web pages. How do they improve the user
                       experience?

                    2.   Do you think learning HTML is beneficial for everyone, even for those who do not wish to become
                       web developers? Why or why not?





                  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.




                  100
                        CodePilot (V5.0)-VIII
   97   98   99   100   101   102   103   104   105   106   107