chetansoni

q1

Jan 12th, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>Question Answer</title>
  5. <meta charset="utf-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1" />
  7. <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
  8. <link rel="stylesheet" href="assets/css/main.css" />
  9. <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
  10. </head>
  11. <body>
  12.  
  13.  
  14. <!-- One -->
  15. <section id="one" class="wrapper">
  16. <div class="inner">
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. <div class="media-object-section">
  26. <p><b>1. WHat is the full form of Computer?</b></p>
  27. <ul>
  28. <li>ABC</li>
  29. <li>CDE</li>
  30. <li>XYZ</li>
  31. <li>HHH</li>
  32. </ul>
  33. <input type='button' id='hideshow1' class="button special" value='Show/Hide Answer'>
  34. <div id="abc1">
  35. <div class="explanation panel div" id="div">
  36. <b>The Correct Answer is C. </b>
  37. <div class="line"></div>
  38. <b>Explanation:</b> The Managed phase of the SW-CMM involves the use of quantitative development metrics. The Software Engineering Institute (SEI) defines the key process areas for this level as Quantitative Process Management and Software Quality Management.
  39. </div>
  40. </div>
  41. </div>
  42.  
  43. <div class="media-object-section">
  44. <p><b>1. WHat is the full form of Computer?</b></p>
  45. <ul>
  46. <li>ABC</li>
  47. <li>CDE</li>
  48. <li>XYZ</li>
  49. <li>HHH</li>
  50. </ul>
  51. <input type='button' id='hideshow2' class="button special" value='Show/Hide Answer'>
  52. <div id="abc2">
  53. <div class="explanation panel div" id="div">
  54. <b>The Correct Answer is C. </b>
  55. <div class="line"></div>
  56. <b>Explanation:</b> The Managed phase of the SW-CMM involves the use of quantitative development metrics. The Software Engineering Institute (SEI) defines the key process areas for this level as Quantitative Process Management and Software Quality Management.
  57. </div>
  58. </div>
  59. </div>
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69. </div>
  70. </section>
  71.  
  72. <!-- Footer -->
  73. <footer id="footer">
  74. <div class="copyright">
  75. All Rights Reserved.
  76. </div>
  77. </footer>
  78.  
  79.  
  80. <script src="https://code.jquery.com/jquery-1.4.2.js"></script>
  81. <script>
  82. jQuery(document).ready(function(){
  83. jQuery('#hideshow1').live('click', function(event) {
  84. jQuery('#abc1 .div').toggle('show');
  85. });
  86. jQuery('#hideshow2').live('click', function(event) {
  87. jQuery('#abc2 .div').toggle('show');
  88. });
  89. });
  90. </script>
  91. <style>
  92. #div{
  93. display: none;
  94. }
  95.  
  96. .button{
  97. border-radius: 5px;
  98. }
  99. .line{
  100. margin: 10px 0px;
  101. border-top: 2px solid #fff;
  102. display: block;
  103. width: 100%;
  104. }
  105.  
  106. .media-object-section{
  107. font-weight: 500;
  108. background-color: #f3f3f3;
  109. display: block;
  110. width: 100%;
  111. border-bottom:4px solid #007591;
  112. -webkit-box-shadow: 0 10px 6px -6px #777;
  113. -moz-box-shadow: 0 10px 6px -6px #777;
  114. box-shadow: 0 10px 6px -6px #777;
  115. padding: 10px 0px;
  116. }
  117.  
  118. ol {list-style-type: none;}
  119. .copyright1{
  120. text-align: center !important;
  121. }
  122.  
  123. .media-object-section:last-child:not(:nth-child(2)) {
  124. padding: 1rem;
  125. }
  126. </style>
  127. </body>
  128. </html>
Advertisement
Add Comment
Please, Sign In to add comment