โ† All Front End Development Flashcard Decks

Front End Development Core Technologies & Fundamentals Flashcards

6 cards from real Front End Development practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Front End Development Core Technologies & Fundamentals flashcards as text
  1. What does the CSS 'box-sizing: border-box' property ensure?

    Answer: Padding and border are included in the element's total width

    With border-box, padding and border widths are included in the element's specified total width, preventing layout surprises.

  2. Which JavaScript keyword declares a block-scoped variable that cannot be reassigned?

    Answer: const

    The const keyword declares a block-scoped variable whose binding cannot be reassigned after initialization.

  3. In HTML, which input type renders a date picker in modern browsers?

    Answer: type='date'

    The input type='date' attribute causes modern browsers to render a native date picker control.

  4. Which CSS unit is relative to the font size of the root element?

    Answer: rem

    The rem unit (root em) is always relative to the font-size of the root element, unlike em which is relative to the parent.

  5. What is the purpose of the JavaScript 'addEventListener' method?

    Answer: Attaches an event handler function to an element

    addEventListener attaches a specified event handler callback to a DOM element, enabling interactive behavior.

  6. Which HTML5 element is used to group related form controls with a visible label?

    Answer:

    The element groups related form controls, and provides a caption for the group, improving accessibility.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy