/GameOn-landing-page

Landing page for a game tournament registration, with form validation

Primary LanguageJavaScript

GameOn Landing Page

This project was carried out as part of a training course on the OpenClassrooms platform.
This is a landing page for a game tournament registration.
No librairies used, only pure JS.
Demo link

Features

  • JS modal
  • Registration form with data validation

Scripts

  • webpack development server
npm run serve
  • build bundle
npm run build
  • lint code
npm run lint
  • lint fix code
npm run lintfix

Code description

  • This project is using webpack to bundle the js code
  • The Modal class is used to create the modal. We need to pass to Modal an id, a class for the content of the modal and parameters for the content.
  • The Form class is used to create and handle validation of the form. we need to pass it form inputs data.