Advertisement
rasyid03

my-view2-beg-per7

Dec 9th, 2023
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <!--
  2. @license
  3. Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
  4. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
  5. The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
  6. The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
  7. Code distributed by Google as part of the polymer project is also
  8. subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  9. -->
  10.  
  11. <link rel="import" href="../bower_components/polymer/polymer-element.html">
  12. <link rel="import" href="shared-styles.html">
  13.  
  14. <dom-module id="my-view2">
  15. <template>
  16. <style include="shared-styles">
  17. :host {
  18. display: block;
  19.  
  20. padding: 10px;
  21. }
  22. </style>
  23.  
  24. <div class="card">
  25. <div class="circle">2</div>
  26. <h1>Login</h1>
  27. <label for="email"><b>Email</b></label>
  28. <input type="text" placeholder="Enter Email" name="email" id="email" required>
  29.  
  30. <label for="psw"><b>Password</b></label>
  31. <input type="password" placeholder="Enter Password" name="psw" id="psw" required>
  32.  
  33. <button type="submit" class="registerbtn">LOGIN</button>
  34. </div>
  35. </template>
  36.  
  37. <script>
  38. class MyView2 extends Polymer.Element {
  39. static get is() { return 'my-view2'; }
  40. }
  41.  
  42. window.customElements.define(MyView2.is, MyView2);
  43. </script>
  44. </dom-module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement