Which one is correct for Javascript Comments?
a) // Javascript Comment
b) / Javascript Comment c) <!-- Javascript Comment--> d) /* Javascript Comment */
a) // Javascript Comment
b) / Javascript Comment c) <!-- Javascript Comment--> d) /* Javascript Comment */
Anonymous Quiz
21%
a & b
15%
a & c
48%
a & d
5%
a, b & c
11%
a, c & d
In Javascript, Which one of the following is used for Single line comment?
Anonymous Quiz
9%
/ Comment
40%
// Comment
10%
/ Comment /
10%
// Comment //
23%
/* Comment */
8%
<!-- Comment -->
๐3
Let car;
document.getElementById("demo").innerHTML = car
What will be the result in browser?
document.getElementById("demo").innerHTML = car
What will be the result in browser?
Anonymous Quiz
24%
String
24%
Object
12%
Number
34%
Undefined
6%
None of the above
๐1
Variables defined with ....... cannot be Redeclared , Reassigned and have Block scope.
Anonymous Quiz
15%
let
52%
const
29%
var
4%
None of the above
๐1๐คฏ1
In Javascript, If you want your code to run in older browser, you must use .........
Anonymous Quiz
16%
let
21%
const
56%
var
7%
None of the above
๐2
The .......... keyword is used in all JavaScript code from 1995 to 2015.
Anonymous Quiz
11%
let
17%
const
50%
var
21%
All of the above
๐คฏ2
In HTML , Which target attribute's value is used to open the document in the full body of the window ?
Anonymous Quiz
15%
_self
46%
_blank
28%
_parent
10%
_top
๐2๐คฏ2
In HTML, which attribute is used for:
When the link is clicked, the page will scroll down or up to the location with the bookmark.
When the link is clicked, the page will scroll down or up to the location with the bookmark.
Anonymous Quiz
23%
id
34%
target
16%
meta
20%
src
8%
title
๐ฑ2
JavaScript objects are containers for named values called ...............
Anonymous Quiz
20%
Methods
32%
Properties
22%
Arrays
13%
Strings
14%
All of the above
๐คฏ2
.............. are actions that can be performed on objects.
Anonymous Quiz
38%
Methods
27%
Properties
17%
Strings
15%
Arrays
3%
None of the above
๐1๐คฏ1
In Javascript, 'this' is a .........
Anonymous Quiz
31%
String
38%
Keyword
10%
Tag
14%
Attribute
8%
All of the above
๐2๐1
HTML-CSS-JS-QUIZ pinned ยซWhich of the following is the correct way to send mail in HTML?ยป
HTML-CSS-JS-QUIZ pinned ยซWhat will be the output of following CSS code?
h1 {color: "green";}ยป
h1 {color: "green";}ยป
In JavaScript, The escape caharacter starts from ..........
Anonymous Quiz
30%
/
24%
\
9%
|
27%
/*
10%
All of the above
๐คฏ6
Comparing two JavaScript objects always returns ........
Anonymous Quiz
41%
True
21%
Falue
19%
Error
11%
Nothing happens
7%
None of the above
๐ฑ4
How do you display a border like this:
The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel ?
The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel ?
Anonymous Quiz
43%
border-width: 10px 5px 20px 1px
35%
border-width: 10px 1px 5px 20px
15%
border-width: 10px 20px 5px 1px
6%
border-width: 10px 5px 1px 20px
๐4๐2