GreatFrontEnd Projects is now in BETA! For a limited time, get 30% off with the promo code BETA30. Check it out! 🚀

Pricing Section (Tiers)

Build a responsive three-tier pricing section with toggle for monthly / annual prices
+300 rep
Loading...
1/3

Project brief

In this challenge, you will develop a responsive pricing section with three distinct plans: Basic, Standard and Premium, each with its own set of features and call-to-action (CTA) buttons. The section will also feature a toggle which allows users to switch between monthly and annual pricing views.

Implementation requirements

  • Design fidelity: Aim to follow the design as closely as possible. All elements in the design should be present, using the specified text color, font size, font weight, spacing, dimensions, etc.
  • Interactivity:
    • Button states: Implement and style buttons to reflect different states - normal, hover, focus, and disabled.
    • Toggle: Implement a functional toggle that conditionally updates the displayed pricing information to either a monthly or annual pricing view without page reloads. The tier's price and also "Billed {period}" line under the price should update depending on the toggle state.
  • Responsive behavior:
    • Text size: Should be responsive; font size is larger for wider devices, smaller for narrow devices.
    • Responsive layout: The content should stack vertically on smaller screens and align horizontally as the screen width increases.
  • Placeholders: You may leave the redirection links empty for any unspecified buttons or links.
  • Cross-browser compatibility: Check that your solution works for major browsers including Chrome, Firefox, and Safari.
  • [Stretch goal] Performance optimization: Code for fast load times with efficient CSS and JavaScript techniques.
  • [Stretch goal] Accessibility compliance: Follow best practices for web accessibility, such as using semantic HTML and ARIA roles where necessary, using proper alt tags for images and ensuring that buttons and links can be navigated to and selected using keyboard controls.

Resources provided

Design files for desktop, tablet and mobile
High resolution image assets
README file
Starter code with content copy
Style guide for typography, colors and spacing

Support you can expect

Official guides & resources
Development guides written & curated by Sr engineers at Big tech, such as:
Learn from good code
We recommend well-rated submissions using the same stack for your reference
Ask any questions in community
Have any doubts or need help? Ask in the community and discuss with others.

FAQ

General