Giter VIP home page Giter VIP logo

dynamic-form-vuejs's Introduction

The project is implemented by Vuejs and CSS without Bootstrap

  • Business logic:

    • Given there are 5 types of questions: rating, age, email, password and comment.
    • Once any question is answered, on the right appears a "result widget" with all the given questions and answers.
  • On the mobile design:

    • "result widget" is not shown in the mobile view.
    • The age question is split into 3 lines.
  • Validation rules for the form:

    • The field "required" from the example json data must be taken into account.
    • Password must contain at least 1 lowercase letter and a number.
    • Email question must pass a simple validation.
  • On Submit, show either "success" or "not valid" somewhere on the page (on your choice).

  • Each question can have a sub-question which appears based on a value given to its parent question. for example: sub1 appears if parent question got value 1-2 sub2 appears when parent value 4-5 and nothing appears on value 3

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

dynamic-form-vuejs's People

Contributors

nassimtaghipour avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.