Update index.html

This commit is contained in:
jaanvi 2024-12-27 07:56:45 +00:00
parent d1e7c65920
commit 5da495e0e8

View file

@ -11,7 +11,7 @@
<div class="container">
<form id="form1" class="multi-step-form">
<h3>PERSONAL DETAILS</h3>
<input type="text" id="fullName" placeholder="Full Name" required>
<input type="text" id="fullName" placeholder="Full Name" minlength="3">
<span class="error-message" id="fullName-error"></span>
<input type="email" id="email" placeholder="Email" required>
<span class="error-message" id="email-error"></span>
@ -38,60 +38,61 @@
</form>
<!--Perofessonal form-->
<form id="form2">
<h3>PROFESSIONAL DETAILS</h3>
<form id="form2">
<h3>Professional Details</h3>
<div class="dropdown">
<label for="education">Education</label>
<select id="education" name="education" required>
<option value="" disabled selected>Select</option>
<option value="High School">High School</option>
<option value="Bachelor's Degree">Bachelor's Degree</option>
<option value="Master's Degree">Master's Degree</option>
<option value="PhD">PhD</option>
</select>
<span class="error-message" id="education-error"></span>
</div>
<div class="dropdown">
<label for="education">Education</label>
<select id="education" name="education" required>
<option value="" disabled selected>Select Education</option>
<option value="High School">High School</option>
<option value="Bachelor's Degree">Bachelor's Degree</option>
<option value="Master's Degree">Master's Degree</option>
<option value="PhD">PhD</option>
</select>
<span class="error-message" id="education-error"></span>
</div>
<div class="checkbox-group">
<label>Skills</label>
<label><input type="checkbox" name="skills" value="programming"> Programming</label>
<label><input type="checkbox" name="skills" value="marketing"> Marketing</label>
<label><input type="checkbox" name="skills" value="design"> Design</label>
<div class="checkbox-group">
<label>Skills</label>
<label><input type="checkbox" name="skills" value="programming"> Programming</label>
<label><input type="checkbox" name="skills" value="marketing"> Marketing</label>
<label><input type="checkbox" name="skills" value="design"> Design</label>
<span class="error-message" id="skills-error"></span>
</div>
<!-- <label><input type="checkbox" name="skills" value="management"> Management</label> -->
<span class="error-message" id="skills-error"></span>
</div>
<label for="experience">Experience
<input type="number" id="experience" name="experience" min="0" max="50" placeholder=" years..." required></label>
<span class="error-message" id="experience-error"></span>
<label for="role">Position
<input type="text" id="currentrole" name="role" placeholder="Your current role" required></label>
<span class="error-message" id="currentRole-error"></span>
<div class="input-group">
<label for="experience">Experience</label>
<input type="number" id="experience" name="experience" min="0" max="50" placeholder="Enter years..." required>
<span class="error-message" id="experience-error"></span>
</div>
<div class="input-group">
<label for="currentRole">Current Role</label>
<input type="text" id="currentRole" name="currentRole" placeholder="Your current role" required>
<span class="error-message" id="currentRole-error"></span>
</div>
<div class="btn-box">
<button type="button" id="Back1">Previous</button>
<button type="button" id="Next2">Next</button>
</div>
</form>
<div class="btn-box">
<button type="button" id="Back1">Previous</button>
<button type="button" id="Next2">Next</button>
</div>
</form>
<!--Review-->
<form id="form3">
<h3>Review & Submit</h3>
<button type="button" id="exportData">Export as JSON</button>
<button type="button" id="clearForm">Clear Form</button>
<div id="reviewSection"></div>
<!-- <button type="button" class="edit-btn" id="editDetails">Edit</button> -->
<!-- <button type="button" class="submit-btn" id="submitForm">Submit</button> -->
<!-- <button type="button" id="clearForm">Clear Form</button> -->
<div class="btn-box">
<!-- <button type="button" class="export-btn" id="exportData">Export as JSON</button> -->
<button type="button" id="Back2">Previous</button>
<button type="submit" id="Submit" disabled>Submit</button>
<button type="button" id="Back2">Edit</button>
<button type="submit" id="Submit" >Submit</button>
<p class="success-message" id="successMessage" style="display:none;color:rgb(2, 65, 2);">Form submitted successfully!</p>
</div>
<p class="success-message" id="successMessage" style="display: none;">Form submitted successfully!</p>
<!-- <pre id="jsonPreview"></pre> -->
<pre id="jsonPreview"></pre>
</form>