My First Route
Learn how to create a new route in Next.js using the App Router. Next.js App Router එක භාවිතා කරලා අලුත් route එකක් නිර්මාණය කරන විදිහ ඉගෙන ගමු.
Build real apps with the App Router, server components, and API routes.
26 activities
The first 5 activities are free
Unlock the other 21 activities to finish the course (Rs. 1,490).
Learn how to create a new route in Next.js using the App Router. Next.js App Router එක භාවිතා කරලා අලුත් route එකක් නිර්මාණය කරන විදිහ ඉගෙන ගමු.
Learn how to style a heading using Tailwind CSS utility classes in a Next.js component. Next.js component එකක් ඇතුළේ Tailwind CSS utility classes භාවිතයෙන් heading එකක් style කරන විදිහ ඉගෙන ගමු.
Learn how to create a reusable React component and display a greeting message in a Next.js application. Next.js application එකක නැවත නැවත භාවිතා කළ හැකි React component එකක් හදලා greeting message එකක් පෙන්වන විදිහ ඉගෙන ගමු.
Learn how to create one reusable button component and use it with different labels. එකම button component එකක් හදලා විවිධ නම් සහිත buttons කිහිපයක් නිර්මාණය කරන විදිහ ඉගෙන ගන්න.
Learn how to display a list of items using JavaScript arrays and the React map() method. JavaScript array එකක් සහ React map() method එක භාවිතයෙන් items ලැයිස්තුවක් පෙන්වන ආකාරය ඉගෙන ගන්න.
Learn how to respond to button clicks using event handlers in React. React වල event handlers භාවිතයෙන් button clicks වලට ප්රතිචාර දක්වන ආකාරය ඉගෙන ගන්න.
Create an interactive counter that increases its number whenever you click a button using React useState. React useState භාවිතයෙන් button එක click කරන සෑම වාරයකම අගය වැඩි වන interactive counter එකක් සාදන්න.
Build an interactive component that shows or hides a message when a button is clicked using React useState. React useState භාවිතයෙන් button එකක් click කළ විට message එකක් පෙන්වන හෝ සඟවන interactive component එකක් හදන්න.
Build an interactive component that shows or hides a message when a button is clicked using React useState. React useState භාවිතයෙන් button එකක් click කළ විට message එකක් පෙන්වන හෝ සඟවන interactive component එකක් හදන්න.
Build a controlled input field using React useState and show the entered text instantly on the page. React useState භාවිතයෙන් input field එකක් පාලනය කර එහි type කරන text එක වහාම වෙබ් පිටුවේ පෙන්වන්න.
Create a Todo List where users can type a task and add it to a list using React useState. React useState භාවිතයෙන් task එකක් type කර list එකකට එකතු කළ හැකි Todo List app එකක් සාදන්න.
Create a Todo List where users can type a task and add it to a list using React useState. React useState භාවිතයෙන් task එකක් type කර list එකකට එකතු කළ හැකි Todo List app එකක් සාදන්න.
Upgrade your Todo List by adding a Delete button to each task so users can remove items they no longer need. සෑම task එකකටම Delete button එකක් එකතු කර අවශ්ය නොවන tasks ඉවත් කළ හැකි ලෙස ඔයාගේ Todo List එක වැඩිදියුණු කරන්න.
Learn how to mark todo tasks as completed using checkboxes and React state. Checkbox සහ React state භාවිතයෙන් Todo tasks සම්පූර්ණ කළ බව සලකුණු කිරීමට ඉගෙන ගන්න.
Learn how to add new tasks to a Todo List using an input field, button, and React state. / Input field එකක්, button එකක් සහ React state භාවිතයෙන් Todo List එකකට අලුත් tasks එකතු කරන ආකාරය ඉගෙන ගන්න.
Learn how to edit and update existing todo tasks using React state. / React state භාවිතයෙන් දැනට තිබෙන Todo tasks edit කර update කරන ආකාරය ඉගෙන ගන්න.
Learn how to filter todo tasks by their completion status using React state and JavaScript's filter() method. / React state සහ JavaScript filter() method එක භාවිතයෙන් tasks වල සම්පූර්ණ කිරීමේ තත්ත්වය අනුව වෙන් කර පෙන්වන්න ඉගෙන ගන්න.
Learn how to search for todo items by name using a controlled input and JavaScript array methods. Controlled input එකක් සහ JavaScript array methods භාවිතයෙන් Todo List එකේ task නම අනුව සොයන ආකාරය ඉගෙන ගන්න.
Learn how to save todo tasks in browser storage and restore them after a page refresh. / Browser storage එකේ Todo tasks save කර page එක refresh කළ පසුවත් නැවත ලබා ගන්නා ආකාරය ඉගෙන ගන්න.
Track completed tasks and display a live progress percentage using React state and JavaScript array methods. / React state සහ JavaScript array methods භාවිතයෙන් සම්පූර්ණ කළ tasks ගණන සහ progress percentage එක පෙන්වන්න ඉගෙන ගන්න.
Learn how to build reusable React components and customize them using props. Understand how one component can create different buttons without repeating code. / නැවත නැවත භාවිත කළ හැකි React components නිර්මාණය කර props මඟින් ඒවා වෙනස් කරන ආකාරය ඉගෙන ගන්න. එකම component එකෙන් code නැවත ලිවීමකින් තොරව විවිධ buttons සාදන ආකාරය තේරුම් ගන්න.
Learn how to pass data from parent components to child components using props, destructuring, and default values. / Props, destructuring සහ default values භාවිතයෙන් parent component එකක සිට child component එකකට data ලබා දෙන ආකාරය ඉගෙන ගන්න.
Learn how to render dynamic lists of reusable React components using JavaScript map(), pass data through props, and use unique keys to help React update lists correctly.
Learn to display different UI elements based on conditions using if statements, ternary operators, and logical AND in React. Build a practical course access panel with loading, success, and error states.
Build an interactive toggle switch using React useState. Learn how state changes update the UI, handle click events, and display different content based on a boolean value.
Create a controlled React form that captures a student's name and email, validates the input, prevents invalid submissions, and displays a success message.