front-end developer capstone coursera week 4 quiz answers
Final Graded Quiz
1. Which of the following is not part of the CSS box model?
- Border
- The outline property
- Padding
- Margin
2. What is the first parameter you pass to the addEventListener() method?
- The target of the event.
- An optional Boolean value to use either event bubbling or event capturing.
- A string describing the type of event, such as click.
- A function that will handle the event.
3. True or False: When creating a new branch using the git branch command, that branch is only available to other developers once the branch is pushed to the remote repository.
- True
- False
4. Which of the following elements can you find in a user story for a website? Select all that apply.
- A feature of the website written from the perspective of the user.
- A user’s personal information.
- A user’s need or goal.
- A detailed list of requirements.
5. When designing a website using CSS grid, what code can you use to design three columns where the second column uses twice the space as the other two?
- grid-auto-columns: auto;
- grid-template-columns:1fr2fr1fr;
- grid-column-gap: 2fr;
- grid-template-rows: 1fr 2fr 1fr;
6. What is the very first step when creating a wireframe in Figma?
- Gather requirements
- Create a frame
- Create a grid
7. What does the git clone command do?
- It fetches the changes from the remote repository.
- It creates a new git repository.
- It creates a local copy of a remote repository.
8. Which of the following is not a valid Open Graph meta tag?
- <meta property=”og:image” content=”image.jpg”>
- <meta property=”og:description” content=”Page Description”>
- <meta property=”og:url” content=”https://example.com/page”>
- <meta property=”og:keywords” content=”keyword1, keyword2″>
- <meta property=”og:title” content=”Page Title”>
Shuffle Q/A 1
10. Which of the following hooks is most appropriate for tracking complex application state in React?
- useState
- useEffect
- useReducer