Page 318 - Web Applications (803) Class 12
P. 318

background-color: rgba(0, 0, 0, 0.6);

                      border-radius: 5px;
                      padding: 20px;

                      box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
                  }

                  #quote {
                      font-size: 24px;

                      margin-bottom: 10px;
                  }
                  #author {

                      font-size: 16px;
                      margin-bottom: 20px;

                  #new-quote {
                      padding: 10px 20px;

                      background-color: #007BFF;
                      color: #fff;

                      border: none;
                      border-radius: 5px;

                      cursor: pointer;
                  }
              File3: Pscript.js
                   const quotes = [

                      {
                          quote: “The only way to do great work is to love what you do.”,

                          author: “Steve Jobs”
                      },

                      {
                           quote: “The future belongs to those who believe in the beauty of their
                              dreams.”,
                          author: “Eleanor Roosevelt”
                      },

                      {
                           quote: “Success is not final, failure is not fatal: It is the courage
                              to continue that counts.”,
                          author: “Winston Churchill”

                      },
                      {

                316   Touchpad Web Applications-XII
   313   314   315   316   317   318   319   320   321   322   323