Skip to content

Saswat-Iare25/HTML-mini_programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Enquiry Form (Mini Web Project)

This project is a simple enquiry form webpage built using basic HTML, CSS, and a bit of JavaScript. It is designed to show form handling, styling, and basic validation logic.

Project Structure

Miniprog.html # Main HTML file containing the enquiry form mini.css # External stylesheet for page styling

Preview

The page displays an Enquiry Form where users can enter details like:

  • Name
  • Email
  • Password
  • Mobile number
  • Upload Resume
  • Select Courses
  • Choose Track (Normal/Fast/Workshop)
  • Select Qualifications
  • Choose Occupation
  • Write Address

Each section is neatly formatted inside a centered table.


Styling (mini.css)

The mini.css file provides:

  • A dark navy blue background for the page
  • A centered heading with shadow effect
  • Stylish table layout with spacing and rounded borders
  • Properly formatted input fields, dropdowns, and buttons
  • Hover effects for buttons
  • Highlighted error message styling (#snameErr)

Functionality (JavaScript)

The page includes a basic JavaScript validation:

  • Checks if the SName (student name) field is empty.
  • Displays a red error message and alert if left blank.

How It Works

  1. Open the Miniprog.html file in your browser.
  2. Fill in the form fields.
  3. Click Submit Enquiry.
  4. If the name field is empty, an alert appears and the field is marked with an error message.
  5. The form can be cleared using the Clear Form button.

How to Run

  1. Clone or download this repository:
    git clone https://github.com/your-username/EnquiryForm.git
  2. Open the folder in your preferred editor (VS Code recommended).
  3. Ensure both Miniprog.html and mini.css are in the same directory.
  4. Open Miniprog.html in your browser to view the webpage.

Technologies Used

  • HTML5 โ€“ Structure and content
  • CSS3 โ€“ Styling and layout
  • JavaScript โ€“ Basic form validation

๐Ÿ“œ License

This project is open-source and available under the MIT License.

Author

Saswat
๐Ÿ’ฌ Beginner web developer exploring HTML, CSS, and JavaScript.
๐Ÿ“ง Contact: ([email protected])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published