Tiny Interview: Vue Counter App
For this tiny interview, you have two tasks to perform on this Vue application:
- Implement the feature for increasing and decreasing the count by 1.
- Implement the feature for persisting the count value in the browser’s local storage so that when the page is reloaded, the value of the count remains the same as before the reload.
Please see the instructions written directly in the pad to proceed:
💡 Remember to share your solution with the hashtag #CoderpadTinyInterviews on Twitter and LinkedIn.
Want some more challenge?
If you completed the original goal, why not try the following bonus exercise?
- Implement checks that prevents the counter value from being negative.
- Allow the counter value to be increased or decreased by custom values.
Tiny interview solution
Verify your solution with the official solution in this sandbox.
Want to conduct interviews on this platform?
Check out CoderPad : pick any interview question or create your own, then invite your candidate to a shared live-coding session on an IDE like this one. You even get 2 free interviews per month forever using this registration link!