react day07

react day07

Professional Development

20 Qs

quiz-placeholder

Similar activities

Frontend Assignment

Frontend Assignment

Professional Development

20 Qs

web development

web development

Professional Development

20 Qs

CSS basics

CSS basics

Professional Development

15 Qs

Dasar Manajemen dan Bisnis

Dasar Manajemen dan Bisnis

University - Professional Development

20 Qs

Hybrid Positioning+ Contest (Group-3)

Hybrid Positioning+ Contest (Group-3)

Professional Development

20 Qs

Node Day 05

Node Day 05

Professional Development

22 Qs

Basic HTML Tags

Basic HTML Tags

Professional Development

15 Qs

react day07

react day07

Assessment

Quiz

Other

Professional Development

Medium

Created by

Gnanavel Durairaj

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Next.js primarily used for?

Backend development

Server-side rendering and static site generation

mobile app development

Game development

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where should you place global CSS files in a Next.js project?

/styles/global.css

/pages/global.css

/public/global.css

/components/global.css

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a rendering mode in Next.js?

Server-Side Rendering (SSR)

Static Site Generation (SSG)

Client-Side Rendering (CSR)

Dynamic Rendering (DR)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used in Next.js to generate static content at build time?

getServerSideProps

getStaticProps

getInitialProps

fetchData

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a "slug" in Next.js dynamic routes?

A type of middleware

A way to define dynamic route segments

A function used in API routes

A way to import CSS

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a dynamic route in Next.js?

[slug].js inside /pages

slug.js inside /pages

@slug.js inside /pages

slug_route.js inside /pages

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What HTTP method is commonly used to fetch data from an API route in Next.js?

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?