Page 421 - Webapplication11_C11_Flipbook
P. 421

Step 3:  Next choose the mode as Lightness. Click on OK.

























                      Step 4:   If required, adjust the brightness and contrast of your image by going to Colors and selecting Brightness-
                              Contrast.
                      Step 5:  You can now save this image by clicking on File → Export As.


                 JAVASCRIPT


                   21.  To display one of the two alternate messages.
                  Ans.  <!DOCTYPE html>
                      <html>
                      <head>
                        <title> if-else statement </title>
                      </head>
                      <body>
                      <script>
                        var my_score = parseInt(prompt("Enter a score"));
                        passing_score = 60;
                        if(my_score >= passing_score)
                        {

                                                                                                     Practical Work  419
   416   417   418   419   420   421   422   423   424   425   426