Vanilla Javascript Dialog Component
Requirements
- only use vanilla javascript, html and css to create confirmation dialog component.
- Confimation dialog component should be reusable.
- Component should be able to accept a message parameter, it should return the result (confirmed or not)
- As a consumer the main page should be able to get results and use the action accordingly.
- The component should be loosely coupled
- When the confirmation dialog show, it should cover the entire main page.
- Create git repo and Commit and push.