Advertisement
muditjain

beam input

Mar 28th, 2023 (edited)
587
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.    <head>
  4.       <link rel="stylesheet" href="bstyle.css" />
  5.       <link rel="stylesheet" href="style.css" />
  6.      
  7.    </head>
  8.    <body>
  9.     <nav class="navbar">
  10.        <div class="navbar__container">
  11.            <a href="/" id="navbar__logo">NEXT</a>
  12.            <div class="navbar__toggle" id="mobile-menu">
  13.                <span class="bar"></span>
  14.                <span class="bar"></span>
  15.                <span class="bar"></span>
  16.            </div>
  17.        </div>
  18.        <ul class="navbar__menu">
  19.            <li class="navbar__item">
  20.                <a href="/" class="navbar__links">Home</a>
  21.            </li>
  22.            <li class="navbar__item">
  23.                <a href="/tech.html" class="navbar__links">Tech </a>
  24.            </li>
  25.            <li class="navbar__item">
  26.                <a href="/tech.html" class="navbar__links">Product</a>
  27.            </li>
  28.            <li class="navbar__btn">
  29.                <a href="/" class="button">Sign</a>
  30.            </li>
  31.        </ul>
  32.     </nav>
  33.     <h1>CHOOSE YOUR BEAM TYPE</h1>
  34.     <form name = "calculator">
  35.         <h2>ENTER VALUES</h2>
  36.         <h3>
  37.         Length of Beam (L): <input type = "text" id="length" placeholder="(in meter)"><br><br>
  38.         Modulus of Elasticity (E): <input type = "text" id="elasticity"><br><br>
  39.         Moment of Inertia (I): <input type = "text" id="inertia"><br><br>
  40.         Left end:
  41.             <input type="radio" id="lfixed" name="lend" value="fixed">
  42.             <label for="html">Fixed</label>
  43.             <input type="radio" id="lpinned" name="lend" value="pinned">
  44.             <label for="css">Pinned</label>
  45.         <br><br>
  46.         Right end:
  47.             <input type="radio" id="rfixed" name="rend" value="fixed">
  48.             <label for="html">Fixed</label>
  49.             <input type="radio" id="rpinned" name="rend" value="pinned">
  50.             <label for="css">Pinned</label>
  51.         <br><br>
  52.         Type of weight:
  53.             <input type="radio" id="pointed" name="typ_wt" value="pointed">
  54.             <label for="html">Pointed</label>
  55.             <input type="radio" id="uniform" name="typ_wt" value="uniform">
  56.             <label for="css">Uniform</label>
  57.         <br><br>
  58.        
  59.         Position of weight (a): <input type = "text" id="pos_a" placeholder="enter only if weight is pointed"><br><br>
  60.         Weight: <input type = "text" placeholder="in Newtons" id="weight" ><br><br>
  61.         Position of calculation (x): <input type = "text" placeholder="from left end" id="pos_x"><br><br>
  62.        
  63.         <button onclick="fun()">Calculate</button>
  64.         </h3>
  65.         <!-- <p>Shear = <input type="text" id="answer"></p>  -->
  66.         <!-- <p>Max deflection = <input id="answer"></p>       -->
  67.     </form>
  68.       <!-- </div> -->
  69.      
  70.       <script src = "calc.js"></script>
  71.    </body>
  72. </html>
  73.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement