jQuery MCQ (Multiple Choice Questions)
Q 1. Which of the following sign is used as a shortcut for jQuery? A. the % sign B. the $ sign C. the & sign D. the @ sign Show Answer Answer:-B. the $ sign Explanation Every jQuery selector start with this dollar sign $(). This sign is known as the…
CSS Quizs Question & Answers – Targeting Styles with Media Queries
Q1. Which of the following Media Query describe the ratio of the device width to the device height of the media?A. device-aspectB. device-aspect-query C. device-aspect-ratioD. none of the mentioned Show Answer Answer:-B. device-aspect-query Q 2. Which of…
Python Programming Question and Answers – Decorators
Q 1. In the following Python code, which function is the decorator? def mk(x): def mk1(): print(“Decorated”) x() return mk1 def mk2(): print(“Ordinary”) p = mk(mk2) p() A. p()B. mk()C. mk1()D. mk2() Show Answer Answer:-B. mk()…
CSS Quizs Question & Answers – CSS Border
Q 1. Which CSS property can be used to set the image as border instead of the border style?A. background-imageB. border-imageC. background-image-sourceD. border-image-source Show Answer Answer:-D. border-image-source Explanation The border-image-source…