0% found this document useful (0 votes)
36 views

Webdev Reviewer

The document summarizes the results of a Bootstrap and JavaScript quiz taken by the user. They scored 25 out of 25 on both quizzes, answering all questions correctly. The quizzes tested their knowledge of concepts like Bootstrap's grid system, classes for buttons and containers, and JavaScript syntax including variables, functions, and operators.

Uploaded by

Nightcore Witch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Webdev Reviewer

The document summarizes the results of a Bootstrap and JavaScript quiz taken by the user. They scored 25 out of 25 on both quizzes, answering all questions correctly. The quizzes tested their knowledge of concepts like Bootstrap's grid system, classes for buttons and containers, and JavaScript syntax including variables, functions, and operators.

Uploaded by

Nightcore Witch
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Bootstrap Quiz Results

Score: 25 of 25

100% Correct:

Question 1:
Bootstrap 3 is mobile-first.

True    Your answer  

False

Question 2:
Which class provides a responsive fixed width container?

.container    Your answer  

.container-fixed

.container-fluid

Question 3:
Which class provides a full width container, spanning the entire width of the viewport?

.container-fluid    Your answer  

.container-fixed

.container
Question 4:
The Bootstrap grid system is based on how many columns?

12    Your answer  

Question 5:
Which class adds zebra-stripes to a table?

.table-striped    Your answer  

.even and .odd

.table-zebra

.table-bordered

Question 6:
Which class shapes an image to a circle?

.img-circle    Your answer  

.img-round

.img-rounded

.img-thumbnail
Question 7:
Which class is used to create a big box for calling extra attention?

.jumbotron    Your answer  

.bigbox

.container

Question 8:
Which button class is used to create a large button?

.btn-lg    Your answer  

.btn-xl

.btn-l

.btn-large

Question 9:
Which class is used to create a button group?

.btn-group    Your answer  

.button-group

.group-button

.group-btn
Question 10:
How can you insert a search icon?

<span class="glyphicon glyphicon-search"></span>    Your answer  

<span class="glyphicon-search"></span>

<span class="glyph glyph-search"></span>

<span class="glyphicon search"></span>

Question 11:
Which class is used to create a badge?

.badge    Your answer  

.label

.tag

.flag

Question 12:
Which class is used to create a basic pagination?

.pagination    Your answer  

.navigation

.page

.pages
Question 13:
Which class is used to create a basic list group?

.list-group    Your answer  

.group-list

.grouped-list

Question 14:
Which class adds a heading to a panel?

.panel-heading    Your answer  

.panel-footer

.panel-head

.panel-header

Question 15:
Which class indicates a dropdown menu?

.dropdown    Your answer  

.select

.dropdown-list
Question 16:
A standard navigation tab is created with:

<ul class="nav nav-tabs">    Your answer  

<ul class="nav nav-navbar">

<ul class="nav tabs">

<ul class="navigation-tabs">

Question 17:
A standard navigation bar is created with:

<nav class="navbar navbar-default">    Your answer  

<nav class="nav navbar">

<nav class="navigationbar navbar-default">

<nav class="navbar default-navbar">

Question 18:
Which class is used to create a black navigation bar?

.navbar-inverse    Your answer  

.navbar-default

.navbar-black

.navbar-dark
Question 19:
Which plugin is used to cycle through elements, like a slideshow?

Carousel    Your answer  

Orbit

Slideshow

Scrollspy

Question 20:
Which plugin is used to create a modal window?

Modal    Your answer  

Popup

Window

Dialog Box

Question 21:
Which plugin is used to create a tooltip?

Tooltip    Your answer  

Dialog Box

Popup

Modal
Question 22:
Which contextual class indicates a succesful or positive action?

.text-success    Your answer  

.text-primary

.text-info

.text-warning

Question 23:
Which contextual class indicates a dangerous or potentially negative action?

.text-danger    Your answer  

.text-primary

.text-warning

.text-info

Question 24:
Which class indicates uppercased text?

.text-uppercase    Your answer  

.text-capitalize

.uppercase

.ucase
Question 25:
The Bootstrap grid system works across multiple devices.

True    Your answer  

False

JavaScript Quiz Results


Score: 25 of 25

100% Correct:

Question 1:
Inside which HTML element do we put the JavaScript?

<script>    Your answer  

<scripting>

<javascript>

<js>
Question 2:
What is the correct JavaScript syntax to change the content of the HTML element below?

<p id="demo">This is a demonstration.</p>

document.getElementById("demo").innerHTML = "Hello World!";    Your


answer  

document.getElement("p").innerHTML = "Hello World!";

#demo.innerHTML = "Hello World!";

document.getElementByName("p").innerHTML = "Hello World!";

Question 3:
Where is the correct place to insert a JavaScript?

Both the <head> section and the <body> section are correct    Your answer  

The <body> section

The <head> section

Question 4:
What is the correct syntax for referring to an external script called "xxx.js"?

<script src="xxx.js">    Your answer  

<script href="xxx.js">

<script name="xxx.js">
Question 5:
The external JavaScript file must contain the <script> tag.

False    Your answer  

True

Question 6:
How do you write "Hello World" in an alert box?

alert("Hello World");    Your answer  

msg("Hello World");

alertBox("Hello World");

msgBox("Hello World");

Question 7:
How do you create a function in JavaScript?

function myFunction()    Your answer  

function:myFunction()

function = myFunction()

Question 8:
How do you call a function named "myFunction"?
myFunction()    Your answer  

call function myFunction()

call myFunction()

Question 9:
How to write an IF statement in JavaScript?

if (i == 5)    Your answer  

if i == 5 then

if i = 5 then

if i = 5

Question 10:
How to write an IF statement for executing some code if "i" is NOT equal to 5?

if (i != 5)    Your answer  

if i =! 5 then

if i <> 5

if (i <> 5)

Question 11:
How does a WHILE loop start?

while (i <= 10)    Your answer  


while i = 1 to 10

while (i <= 10; i++)

Question 12:
How does a FOR loop start?

for (i = 0; i <= 5; i++)    Your answer  

for (i <= 5; i++)

for (i = 0; i <= 5)

for i = 1 to 5

Question 13:
How can you add a comment in a JavaScript?

//This is a comment    Your answer  

<!--This is a comment-->

'This is a comment

Question 14:
How to insert a comment that has more than one line?

/*This comment has


more than one line*/    Your answer  
//This comment has
more than one line//

<!--This comment has


more than one line-->

Question 15:
What is the correct way to write a JavaScript array?

var colors = ["red", "green", "blue"]    Your answer  

var colors = "red", "green", "blue"

var colors = (1:"red", 2:"green", 3:"blue")

var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")

Question 16:
How do you round the number 7.25, to the nearest integer?

Math.round(7.25)    Your answer  

Math.rnd(7.25)

round(7.25)

rnd(7.25)

Question 17:
How do you find the number with the highest value of x and y?
Math.max(x, y)    Your answer  

ceil(x, y)

top(x, y)

Math.ceil(x, y)

Question 18:
What is the correct JavaScript syntax for opening a new window called "w2" ?

w2 = window.open("http://www.w3schools.com");    Your answer  

w2 = window.new("http://www.w3schools.com");

Question 19:
JavaScript is the same as Java.

False    Your answer  

True

Question 20:
How can you detect the client's browser name?

navigator.appName    Your answer  

browser.name

client.navName
Question 21:
Which event occurs when the user clicks on an HTML element?

onclick    Your answer  

onchange

onmouseclick

onmouseover

Question 22:
How do you declare a JavaScript variable?

var carName;    Your answer  

v carName;

variable carName;

Question 23:
Which operator is used to assign a value to a variable?

=    Your answer  

x
Question 24:
What will the following code return: Boolean(10 > 9)

true    Your answer  

NaN

false

Question 25:
Is JavaScript case-sensitive?

Yes    Your answer  

No

You might also like