Docsity

CSS FLEXBOX FOR FULL STACK DEVELOPER EXPECTED QUESTIONS WITH VERIFIED ANSWERS, Exams of Web Design and Development

Toggle sidebar
bg1
◉What is a flexbox in CSS? Answer: A layout model that allows
items in a container to be arranged and aligned flexibly.
◉What CSS property makes a parent container flexible? Answer:
The 'display: flex' property.
◉What does the 'flex-direction' property do? Answer: It specifies
the direction in which flex items are displayed (row or column).
◉What is the purpose of the 'align-items' property in a flex
container? Answer: It allows multiple lines of items to align along
the cross axis.
◉What does the 'justify-content' property control? Answer: It aligns
items along the main axis of the flex container.
◉What is the purpose of the <a> tag in HTML? Answer: To create
hyperlinks that allow navigation from one web page to another.
CSS FLEXBOX FOR FULL STACK DEVELOPER
EXPECTED QUESTIONS WITH VERIFIED ANSWERS
pf3

Partial preview of the text

Download CSS FLEXBOX FOR FULL STACK DEVELOPER EXPECTED QUESTIONS WITH VERIFIED ANSWERS and more Exams Web Design and Development in PDF only on Docsity!

◉What is a flexbox in CSS? Answer: A layout model that allows items in a container to be arranged and aligned flexibly. ◉What CSS property makes a parent container flexible? Answer: The 'display: flex' property. ◉What does the 'flex-direction' property do? Answer: It specifies the direction in which flex items are displayed (row or column). ◉What is the purpose of the 'align-items' property in a flex container? Answer: It allows multiple lines of items to align along the cross axis. ◉What does the 'justify-content' property control? Answer: It aligns items along the main axis of the flex container. ◉What is the purpose of the tag in HTML? Answer: To create hyperlinks that allow navigation from one web page to another.

CSS FLEXBOX FOR FULL STACK DEVELOPER

EXPECTED QUESTIONS WITH VERIFIED ANSWERS

◉What attribute is required in the tag to specify the URL of the linked page? Answer: The 'href' attribute. ◉What is the function of the 'flex-grow' property? Answer: It allows an item to fill up the available free space in a flex container. ◉What does the 'flex-shrink' property do? Answer: It allows an item to shrink if there is not enough free space available. ◉What does the 'flex-basis' property define? Answer: It defines the size of an item before space is distributed in a flex container. ◉What is the purpose of conservation efforts for endangered species? Answer: To prevent their decline and ensure biodiversity. ◉What is one method of protecting endangered species mentioned in the notes? Answer: Habitat preservation. ◉What role do images play in web content? Answer: They enhance engagement and understanding of the content.