โ† All MTA Flashcard Decks

HTML5 Application Development Fundamentals Flashcards

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

Read the first 6 HTML5 Application Development Fundamentals flashcards as text
  1. What does AJAX stand for and what problem does it solve?

    Answer: Asynchronous JavaScript And XML; enables web pages to update content without full page reloads

    AJAX (Asynchronous JavaScript And XML) allows web pages to send and receive data from a server asynchronously, updating parts of a page without requiring a full page refresh.

  2. What is the purpose of JavaScript promises?

    Answer: Handling asynchronous operations with a cleaner alternative to nested callbacks

    Promises represent the eventual completion or failure of an asynchronous operation, providing .then() and .catch() methods for cleaner asynchronous code than nested callbacks.

  3. Which HTTP method is used to submit data to a server to create a new resource?

    Answer: POST

    The POST HTTP method sends data to the server to create a new resource; it is not idempotent, meaning repeated requests may create multiple resources.

  4. What is the purpose of the 'viewport' meta tag in HTML5 mobile development?

    Answer: Configuring how the browser scales the page on mobile devices

    The viewport meta tag instructs mobile browsers on how to scale and size the webpage, typically set to width=device-width, initial-scale=1 for responsive design.

  5. What does CSS specificity determine?

    Answer: Which CSS rule applies when multiple rules target the same element

    CSS specificity is the algorithm browsers use to determine which CSS rule wins when multiple conflicting rules target the same element, calculated from selector types.

  6. What is the role of a JavaScript framework like React or Angular in web application development?

    Answer: Providing structured patterns and reusable components that simplify building complex web UIs

    JavaScript frameworks provide architecture, component models, and tooling that simplify building complex, maintainable web applications by structuring code and managing UI state.