Answered step by step
Verified Expert Solution
Question
1 Approved Answer
label > block: reservation, element: title block: reservation, element: form Mix this element with the form block. Define the margins in the reservation _ _
labelblock: reservation, element: title block: reservation, element: form Mix this element with the form block. Define the margins in the reservation form class. All other styles should be given to the form class. block: form element: fieldset. block: form element: abel. block: form element: input. Make a borderradius of block: form element: button. Use the appropriate HTML tag for the button. Make a borderradius of Create a hover state, so that the opacity changes from to Add a smooth transition for the opacity property. block: form element: checkbox. Make a borderradius of Ensure that the text is on the same level as the checkbox. You can keep the standard checked styles for it But if you want to challenge yourself, you can style it as follows: set the background color to #FED and a background image of check.svg If you keep the default styles, make sure to remove check.svg from the images directory. Pro tip Remember that according to BEM, we can't modify the "external geometry" of a block. This means that if we want to adjust a BEM block's margins, or its position on the page, we have to mix it with a BEM element. Refer back to our lesson on mixes in Sprint for details. Pro tip To align the checkbox with its label, wrap them both inside the corresponding Your email label Date & time label Your email Book a Table label foragreewithtermsuse" classlabel checkbox" Book a Table label foragreewithtermsuse" classlabel checkbox" label Your email label Date & time label Your email Book a Table label foragreewithtermsuse" classlabel checkbox" Book a Table label foragreewithtermsuse" classlabel checkbox" File: line The class does not correspond to BEM guidelines. BEM elements must always be contained inside the corresponding BEM block. For instance, an element with the cardfooter class must be contained inside a block with the card class. File: index.html line The reservationform class does not correspond to BEM guidelines. BEM elements must always be contained inside the corresponding BEM block. For instance, an element with the class must be contained inside a block with the card class. File: index.html line The formlabelcheckbox class is not named appropriately according to BEM Guidelines. To refresh your memory, refer to this cheat sheet.
labelblock: reservation, element: title
block: reservation, element: form
Mix this element with the form block. Define the margins in the
reservation form class. All other styles should be given to the
form class.
block: form element: fieldset.
block: form element: abel.
block: form element: input. Make a borderradius of
block: form element: button. Use the appropriate HTML tag for the button.
Make a borderradius of Create a hover state, so that the opacity
changes from to Add a smooth transition for the opacity property.
block: form element: checkbox. Make a borderradius of Ensure
that the text is on the same level as the checkbox.
You can keep the standard checked styles for it But if you want to challenge
yourself, you can style it as follows: set the background color to #FED and a
background image of check.svg If you keep the default styles, make sure to
remove check.svg from the images directory.
Pro tip
Remember that according to BEM, we can't modify the
"external geometry" of a block. This means that if we want to
adjust a BEM block's margins, or its position on the page, we
have to mix it with a BEM element. Refer back to our lesson
on mixes in Sprint for details.
Pro tip
To align the checkbox with its label, wrap them both inside
the corresponding
Your email
label
Date & time
label
Your email
Book a Table
label
foragreewithtermsuse"
classlabel checkbox"
Book a Table
label
foragreewithtermsuse"
classlabel checkbox" label
Your email
label
Date & time
label
Your email
Book a Table
label
foragreewithtermsuse"
classlabel checkbox"
Book a Table
label
foragreewithtermsuse"
classlabel checkbox"
File:
line The
class does not correspond to BEM
guidelines. BEM elements must always be contained inside the corresponding BEM block. For
instance, an element with the cardfooter class must be contained inside a block with the
card class.
File: index.html line The reservationform class does not correspond to BEM
guidelines. BEM elements must always be contained inside the corresponding BEM block. For
instance, an element with the
class must be contained inside a block with the
card class.
File: index.html line The formlabelcheckbox class is not named appropriately
according to BEM Guidelines. To refresh your memory, refer to this cheat sheet.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started