Frontend Developer Coding Challenge Updated
Frontend Developer Coding Challenge Updated
Design and implement a dynamic, responsive pricing table component using Next.js and
Tailwind CSS. This exercise is intended to evaluate your skills in frontend component
architecture, styling precision, state management, and overall attention to detail.
Scope of Work
You are required to create a reusable pricing table component that includes:
Component Requirements
Each pricing card should contain the following elements:
• Plan name
type Plan = {
name: string
monthly: number
yearly: number
features: string[]
}
type FeatureConfig = {
label: string
availability: {
[planName: string]: boolean
}
}
Design & UI Expectations
• Implement a toggle switch for Monthly and Yearly pricing options
• Highlight the 'Pro' plan with a badge indicating it as the recommended choice
• Apply subtle hover effects and responsive design using Tailwind CSS
Bonus Considerations
• Integrate Headless UI for accessible toggle components
• Apply smooth animations to price changes using Tailwind transitions or Framer Motion
Evaluation Criteria
Submission Guidelines
Please submit the following: