Complete the code to export static metadata in a Next.js page.
export const metadata [1] { title: 'Home Page', description: 'Welcome to the home page' };
In Next.js, static metadata is exported using export const metadata = { ... }.
Complete the code to set the page title in static metadata.
export const metadata = {
[1]: 'About Us'
};header or name instead of titlepageTitle which is not recognizedThe title property sets the page title in Next.js static metadata.
Fix the error in the metadata export syntax.
export const metadata = [1] title: 'Blog' };
Metadata must be an object, not an array. Use curly braces {} to define the object.
Fill both blanks to define metadata with title and description.
export const metadata = {
[1]: 'Contact',
[2]: 'Get in touch with us'
};header or subtitle which are not valid metadata keysThe title and description properties define the page title and description in static metadata.
Fill all three blanks to export metadata with title, description, and keywords.
export const metadata = {
[1]: 'Services',
[2]: 'Our services overview',
[3]: ['web', 'design', 'development']
};tags instead of keywordsUse title, description, and keywords to define static metadata properties for SEO and page info.
