This is a simple web application that generates random programming jokes using the JokeAPI. Users can enter their name and receive a two-part programming joke. The site is built with Node.js, Express, EJS, and styled with CSS.
- Enter your name and get a random programming joke.
- Clean, responsive design.
- Error handling for empty name input.
-
Clone the repository or download the source code.
-
Install dependencies:
npm install
Start the server using nodemon for automatic restarts on code changes:
nodemon index.jsOr, to run without nodemon:
node index.jsThe server will start on http://localhost:3000.
- Open your browser and go to http://localhost:3000.
- Enter your name in the input field.
- Click "Generate A Joke" to receive a programming joke.
Jokes Website/
├── index.js
├── package.json
├── public/
│ └── styles/
│ └── main.css
└── views/
└── index.ejs
This project is for educational purposes.