JS
jaya sankar

Default Component - Copy this React, Tailwind Component to your project

Create a simple UI with one input field that accepts only numbers. If the user types negative numbers, show "enter a positive value". If the user types an even number, show the next 3 even numbers. If the user types an odd number, show the next 3 odd numbers. as a beginner by using event listner

Prompt
Component Preview

About

DefaultComponent - A number-only input field that prompts for positive values and displays the next three even or odd numbers. Built wit. Start coding now!

Share

Last updated 1 month ago