Skip to main content

Command Palette

Search for a command to run...

Module Quiz: Project Foundations

Updated
2 min read
Module Quiz: Project Foundations
D

A passionate full-stack developer from @ePlus.DEV

  1. Which of the following tags are used to define SEO-relevant data?

    • <div>

    • <meta>

    • <nav>

    • <header>

  2. What are the benefits of semantic HTML? Select all that apply.

    • Improves performance

    • Improves SEO

    • Improves accessibility

    • Makes the code easier to read and understand

    • Allows for more styling options

  3. Which Open Graph tag should be used if you want to provide a title to a shareable link of your web page?

    • og:header

    • og:title

    • og:description

    • og:head

  4. Which of the following are valid values for the CSS display property? Select all that apply.

    • flex

    • float

    • grid

  5. You are designing a website for a local restaurant. You’re using <div> tags for subheadings and a <ul> tag following each one which provides information about the subheading. To keep the website design consistent and the code to a minimum, you decide to use a general sibling selector to apply styling to each <ul> that comes after a <div>. Which of the following is the correct CSS combination selector to achieve this?

    • div > ul

    • ul ~ div

    • div ~ ul

    • ul > div

  6. When should you use the pseudo-class selectors?

    • You want to select elements that are wrapping other elements.

    • You want to select elements that are wrapped by other elements.

    • You want to select elements based on their state.

  7. You’re designing a responsive portfolio website to show off your skills as a front end developer. Where possible you are trying to avoid absolute units of measurement in favor of relative values so that your portfolio website can be easily viewed across different viewport sizes. Which of the following are relative units of measurement? Select all that apply.

    • in

    • px

    • rem

    • vh

  8. True or False: HTML event attributes don’t use parentheses; React event attributes use parentheses

    • True

    • False

  9. What is prop in a react component?

    • A way to handle user input.

    • A property of a component's state.

    • A way to pass data from a parent component to a child component.

    • A way to modify the component's state.

  10. True or False: Event handlers are one way in React to update a component’s state.

    • True

    • False


UI/UX

Part 6 of 24

User experience design (UX design, UXD, UED, or XD), upon which is the centralized requirements for "User Experience Design Research" (also known as UX Design Research).

Up next

Knowledge check: Adding components

Choose the correct statement about the following code: <> <h1>...</h1> <p>...</p> </> This is valid React code.  This is not valid React code This is valid JavaScript code This is a valid HTML tag In React, you can only h...