Pascal’s Triangle in React
❓ Why does this exist?
As for dependencies, it just uses React, TailwindCSS and I used Vite as my development environment. I also used a
useList hook from
The code isn’t exactly beautiful, as I made this under an hour I didn’t bother commenting or making the code look too clean. The user interface itself works, but there may be some CSS edgecases that haven’t been properly implemented (example: overflow handling). Maybe one day I’ll document the code but probably not.
? Getting Started
Clone the repository
git clone https://github.com/Armster15/react-pascal-triangle
cd react-pascal-triangle && npm install
Start the development server
npm run start