EraCode practice
Canonical text slug for Next.js metadata
Next.jsintermediateMulti-Part
Summary
Quick practice on text handling in Next.js: pick the right place to normalize a title into a clean, URL-safe slug and use it for metadata.
Problem preview
### Goal Fill the single TODO to convert a post title into a stable slug used for canonical metadata. - Output should be lowercase and URL-safe. - Collapse any run of non-alphanumeric characters into…
Attempt this challenge
Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.