Skip to content

Instantly share code, notes, and snippets.

::::::::::::::::::::::MCQ:::::::::::::::::
Ques 1: Which is the function used to retrive a value?
a)get()
b)retrive()
c)getItem()
d)retrieveItem()
Ans:c
<<<<<2.2>>>>>>>>>>
<MCQ>
Ques 1: Which property specifies the property of the event?
a. Type
b. Target
c. Manner
d. All of the mentioned
...............<3.1>..............
Ques 1: The localStorage and sessionStorage belongs to ?
a)Window object
b)Element object
c)Hash object
d)DOM object
Ans:a
Ques 2: What is the main difference between localStorage and sessionStorage ?
---MCQ--
<2.1>
Ques 1:When will the browser invoke the handler?
a. Program begins
b. Any event occurs
c. Specified event occurs
d. None of the mentioned
Ans: c
<<<mcq>>
Ques 1.
const a = 'abc';
console.log(`${{a}}`);
What happens?
(a). Output: '[object Object]'
(b). Output: '{a: "abc"}'
(c). Output: '{abc}'
(d). Output: 'abc'
Ques 1: Which flexbox property aligns items vertically?
(a):justify-content
(b):align-content
(c):align-items
(d):flex-direction
Ans: c
Ques :2 flex-wrap allows you to do what?
(a):define the direction of how elements are positioned based on either row or column
Ques 1: Select the correct HTML syntax for creating a text area?
(a):<input type="textarea">
(b):<input type="textbox">
(c):<textarea>
(d): None of the above
Ans: c
Ques 2: How to link external javascript file ?
(a):<link href="script.js">
.............<1.2>.....................
<<<<<<<<<<MCQ>>>>>>>>>>>
Ques 1: justify-content allows you to do what?
(a):define the direction of how elements are positioned based on either row or column
(b):define how elements will wrap when the browser width is changed
(c):defines how position elements horizontally
(d):define how to position elements vertically
Ans: c
---MCQ---
...................<1.1>.................
Ques 1: What is correct html structure of toolbox container element?
(a): <div class="toolbox-cont">
<div class="toolbox-priority-cont">
<div class="lightpink color"></div>
<div class="lightblue color"></div>
<div class="lightgreen color"></div>
<div class="black color"></div>
</div>
Ques 1: Which of the following property is used as the shorthand property for the padding properties?
a)padding-left
b)padding-right
c)padding
d)All of the above
Ans: c
Ques 2:Choose the corect syntax to link external css file?
(a):<style src = style.css>