Button UI is a basic Node.js + Express application that serves a simple UI page to test and understand different button properties and functionalities.
Runs on Node.js with Express server
Serves static frontend files from the public/ folder
Includes 3 different buttons to test UI behavior
Allows testing of button events and properties using JavaScript
Node.js
Express.js
HTML
CSS
JavaScript
button_ui/ ├── public/ │ ├── index.html │ ├── style.css │ └── script.js ├── server.js ├── package.json ├── package-lock.json └── .gitignore
- Install Node.js
Make sure Node.js is installed on your system.
Check version:
node -v npm -v
- Install dependencies
Open terminal inside the project folder and run:
npm install
- Run the application
Start the server using:
node server.js
- Open in browser
After running, open:
The Express server starts using server.js
It serves the frontend files from the public/ folder
The UI loads from public/index.html
Styling is applied from public/style.css
Button functionality and event handling is controlled by public/script.js