This is a basic HTML + JavaScript project that demonstrates how to use the DOM to create an interactive . Every time the user clicks the button, the number increases.
- Simple UI with a button and counter
- JavaScript DOM manipulation
- Beginner-friendly structure
- When the page loads, the counter is set to 0.
- Each click on the "Click Me" button triggers a JavaScript function.
- The function increments the number and updates the displayed count on the page.
- HTML5
- JavaScript (Vanilla JS)
This project demonstrates a simple two-card layout using HTML and CSS. The layout is meant to display two cards side-by-side on desktop screens.
- Two-card layout with borders and padding
- Float-based layout using classic CSS techniques
- Mobile-friendly with basic viewport setup
- Each
.cardis styled to take 50% width and floated left to display side-by-side. - The
.containerholds both cards. - The
<meta name="viewport">tag ensures the layout doesn't break on mobile devices, though it currently lacks full responsive behavior.
- Cards do not stack on small screens (mobile) — this can lead to layout issues.
- Uses
float: left, which is outdated and less flexible compared to Flexbox or Grid.
This is a simple HTML + JavaScript web page that checks the strength of a user's password input in real-time.
- Live password validation as user types
- Checks for:
- Minimum 8 characters
- At least one number
- At least one special character
- Displays strength message in red or green