Web Developement
Web Developement
Q1 List different display property values and explain their effects using CSS.
Answer
Answer
How it works:
.prompt() is used to get input from the user.
.parseFloat() converts the input from string to a floating-point
number. .The two numbers are added and shown using alert().
5 Questions: Write a program where clicking a button changes the background color of a
web page.
ANSWER
The change Background() function generates a random color When the button is clicked, it
sets that color as the background of the using style background Color.
6 Questions: What is Bootstrap? Mention its advantages in web development.
Answer: Bootstrap is a free, open-source front-end framework used to create responsive and
mobile-first websites quickly and easily. It provides ready-made HTML, CSS, and JavaScript
components for building user interfaces like buttons, forms, modals, navigation bars, grids,
etc.
It was originally developed by Twitter engineers and is now maintained as an open-source
project.