unit 2 fsd
unit 2 fsd
(SOCSE)
Q5 Explain the difference between client side and server-side JavaScript. CO2
Q13 Name the property for controlling the image repetition of the background with code. CO2
Q14 What is the difference between inline, embedded and external style sheets? CO2
Q15 What is CSS Box model and what are its elements? CO2
Q17 What is the purpose of the z-index and how is it used CO2
Q18 Explain the difference between visibility: hidden and display: none? CO2
Q20 Explain Min height and Max height property in CSS. CO2
Q24 What does margin: 40px 100px 120px 80px signify? CO2
Q30 How can we make our website responsive using CSS? CO2
Q33 What is the difference Between Programming, Scripting, and Markup CO2
Languages
Q36 Write JavaScript Program in HTML document to Print the Fibonacci CO2
Sequence.
Q37 What are the key differences between Java and JavaScript? How is JavaScript CO2
different from Java?
Q41 Write a code in Java Script to accept a string from the user, the program CO2
should display length of the string, print the string in upper case and print the
first two characters of the string.
Q42 Write a program in JavaScript to print sum of even numbers between 1 to 100 CO2
using for loop.
Q43 Differentiate between prompt () and alert () methods. CO2
Q45 Write code to create the following HTML Form to accept User’s Information as CO2
part of a Magazine Survey:
Q46 Create an external style sheet “style.css” with the following specifications for CO2
the various HTML •
<BODY>:
Background color should be Aqua ()
Foreground color should be Navy () •
<H1>
Should be underlined and center aligned •
<P>
First line should be indented to 60px.
Font-weight should be normal
Write the HTML code to create a link from the HTML document to the
style sheet (style.css). Where in the HTML document should the code be
placed?
Q47 What is difference between Inline-Block, Block, and Inline in CSS. CO2
Explain with proper code.
Q48 In how many ways You can change the font size of an element. Explain with CO2
proper code.
Q49 Create a Horizontal Navigation Menu using CSS. CO2
Q50 Describe the Concept of Flexbox and its advantage over traditional CSS CO2
layouts.