This is a fully set multi-step form that requires Node.js to send data to mydata.json
file. I encountered the most difficult project I have ever worked on until the date: 5/6/2023.
I used almost 85% of all JS knowledge I have learned, and it took me around a week of hard work. But, the result was worth it!
Ashray
@RayAsh37All comments
- @Bader-IdrisSubmitted over 1 year ago@RayAsh37Posted over 1 year ago
Hi, Sorry for the vague question but I wanted to know since ur points are above 150. Have you tried the job portal? Were you able to apply? or any experience you can share will be a lot helpful. Thank you :)
0 - @Xqu1shySubmitted over 1 year ago
Had a blast making this project. Any feedback would be nice. Thank you!
UPDATE:
form.addEventListener('submit', (e) => {
e.preventDefault();
validateInputs();
const successful = document.querySelectorAll('.success')
// to submit the form
if (successful.length === 4) {
form.submit(); // stop refreshing so I can change the DOM thanksPage.innerHTML = `<div class="wrapper form-section"> <div class="thanks-page"> <img src="./images/icon-complete.svg" alt=""> <h1>Thank you!</h1> <p>We've added your card details</p> <button>Continue</button> </div> </div>`
} })
How can i stop the form.submit() from refreshing? So that i can change the DOM
@RayAsh37Posted over 1 year agoHi, Sorry for the vague question but since you have points above 150 I wanted to ask. Were you able to apply to any jobs on their jobs portal? Like what was your experience? Did you get any callbacks?
0