Question: label > block: reservation, element: title block: reservation, element: form Mix this element with the form block. Define the margins in the reservation _ _

label>block: 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: 1 abel.
block: form , element: input. Make a border-radius of 4px.
block: form , element: button. Use the appropriate HTML tag for the button.
Make a border-radius of 4px. Create a hover state, so that the opacity
changes from 100% to 70%. Add a smooth transition for the opacity property.
block: form , element: checkbox. Make a border-radius of 2px. 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 #2F80ED, 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 1 for details.
4 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
for="i-agree-with-terms-of-use"
class="form??label form??label??checkbox"
Book a Table
label
for="i-agree-with-terms-of-use"
class="form??label form??label??checkbox" label>
Your email*
label>
Date & time*
label>
Your email*
Book a Table
label
for="i-agree-with-terms-of-use"
class="form??label form??label??checkbox"
Book a Table
label
for="i-agree-with-terms-of-use"
class="form??label form??label??checkbox"
File:
, line 93. 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 card_-_footer class must be contained inside a block with the
card class.
File: index.html, line 95. The reservation_-form 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 134. The form_-label__checkbox class is not named appropriately
according to BEM Guidelines. To refresh your memory, refer to this cheat sheet.
 label>block: reservation, element: title block: reservation, element: form Mix this element

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!