StaffCoder
Vue.js

Vue.js Frontend Development Exercises

Vue.js 3.2Node.js 24
1 module · 4 challengesSign up
Module 1 of 1 · 4 challenges

Components & Props

Build the small, reusable pieces real interfaces repeat on every screen: a priority tag, a book summary tile, a KPI tile, and an invoice line. Learn to declare props with the right types and defaults, derive labels, classes, and formatted values with computed properties, and keep components in sync as their props change.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Ticket Priority Tag

Sign up to unlock
33%1 of 3 solvedeasy
About this challenge

A helpdesk support queue shows a priority on every ticket, and every screen styles it its own way. The queue page, the ticket rows, the priority legend, the density toggle and the seed tickets are provided and wired, but the priority helpers and the `PriorityTag` script are missing, so tags render empty, the queue is not ordered, and the legend counts are wrong.

Solved in a browser IDE and graded by tests. Sign up to solve

Book Summary Card

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

A reading list shows one card per book, including a reading estimate the catalogue does not store - it only has title, author, page count and an optional cover. The shelf, the summary strip, the pages editor and the seed books are provided, but the reading helpers and the `BookSummaryCard` script are missing, so every card shows no estimate and books without artwork show a broken cover.

Solved in a browser IDE and graded by tests. Sign up to solve

Metric Tile

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

A store's KPI strip renders the same tile for every metric, including the change against the previous period. The dashboard, the period switcher, the movement summary, the channel panel and the seed KPIs are provided, but the metric helpers and the `MetricTile` script are missing, so tiles show no value, no change and no direction highlight.

Solved in a browser IDE and graded by tests. Sign up to solve

Invoice Line Item

STAR
Solving it completes the module
100%1 of 1 solvedeasy
About this challenge

An invoice editor needs an `InvoiceLine` row that both displays its props and derives money from them, with an expandable breakdown. The invoice page, the quantity stepper, the currency switcher, the totals footer and the seed lines are provided, but the money helpers and the `InvoiceLine` script are missing, so every figure is blank, the footer totals are wrong, and the breakdown never opens.

Solved in a browser IDE and graded by tests. Sign up to solve

About this path

Vue.js, built the way real teams build it. Learn to think in reactive components and ship interfaces that stay clean as they grow. You'll start with components and props, reactive and computed state, directives, and communication between components, then work through forms, composables and lifecycle hooks, async data with watchers, validating large forms, routing, and shared state with Pinia. From there you'll take on component design patterns, rendering large lists quickly, advanced reactivity, state architecture, async error recovery, and deferred loading, the patterns production apps are built on. Every exercise is a small piece of a real UI, so you learn not just how Vue works, but how to make the design decisions good frontend engineers make every day. Finish able to build, structure, and reason about Vue applications with confidence.

This path starts with components and props, the building blocks of every Vue interface. You should be comfortable with HTML, CSS and basic JavaScript before you start. No earlier Vue experience is needed. In the first module you build four small components found in real products, such as a ticket priority tag and an invoice line item.

Frequently asked questions

4

What will I practice in this path?

1 module: Components & Props.

How many Vue.js exercises are there, and how hard are they?

4 exercises, all easy.

What does this path run on?

Challenges run on Vue.js 3.2 and Node.js 24.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.