Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="" method="">
- <a href="https://steamcommunity.com/id/davidespagocci/gamecards/" id=link>Cards Number</a>
- <textarea rows=3 columns=8 name=val id=val></textarea>
- <button type=button onclick="useValue()">Use it</button>
- </form>
- <script>
- function useValue() {
- document.getElementById('link').href +=
- encodeURIComponent(document.getElementById('val').value);
- }
- </script>
- <form action="" method="">
- <a href="https://steamcommunity.com/market/search?appid=753&q=Trading+Card+NOT+foil&category_753_Game%5B%5D=tag_app_" id=link2>Cards Value</a>
- <textarea rows=3 columns=8 name=val id=val2></textarea>
- <button type=button onclick="useValue()">Use it2</button>
- </form>
- <script>
- function useValue() {
- document.getElementById('link2').href +=
- encodeURIComponent(document.getElementById('val2').value);
- }
- </script>
- <form action="" method="">
- <a href="https://steamcommunity.com/market/search?appid=753&q=pack&category_753_Game%5B%5D=tag_app_" id=link3>Booster Pack Price</a>
- <textarea rows=3 columns=8 name=val id=val3></textarea>
- <button type=button onclick="useValue()">Use it3</button>
- </form>
- <script>
- function useValue() {
- document.getElementById('link3').href +=
- encodeURIComponent(document.getElementById('val3').value);
- }
- </script>
- <form action="" method="">
- <a href="https://steamcommunity.com//tradingcards/boostercreator/#" id=link4>Create BP</a>
- <textarea rows=3 columns=8 name=val id=val4></textarea>
- <button type=button onclick="useValue()">Use it4</button>
- </form>
- <script>
- function useValue() {
- document.getElementById('link4').href +=
- encodeURIComponent(document.getElementById('val4').value);
- }
- </script>
- <!DOCTYPE html>
- <html>
- <head>
- <script src=
- "https://cdnjs.cloudflare.com/ajax/libs/mathjs/10.6.4/math.js"
- integrity=
- "sha512-BbVEDjbqdN3Eow8+empLMrJlxXRj5nEitiCAK5A1pUr66+jLVejo3PmjIaucRnjlB0P9R3rBUs3g5jXc8ti+fQ=="
- crossorigin="anonymous"
- referrerpolicy="no-referrer"></script>
- <script src=
- "https://cdnjs.cloudflare.com/ajax/libs/mathjs/10.6.4/math.min.js"
- integrity=
- "sha512-iphNRh6dPbeuPGIrQbCdbBF/qcqadKWLa35YPVfMZMHBSI6PLJh1om2xCTWhpVpmUyb4IvVS9iYnnYMkleVXLA=="
- crossorigin="anonymous"
- referrerpolicy="no-referrer"></script>
- <!-- for styling -->
- <style>
- table {
- border: 1px solid black;
- margin-left: auto;
- margin-right: auto;
- }
- input[type="button"] {
- width: 100%;
- padding: 20px 40px;
- background-color: green;
- color: white;
- font-size: 24px;
- font-weight: bold;
- border: none;
- border-radius: 5px;
- }
- input[type="text"] {
- padding: 20px 30px;
- font-size: 24px;
- font-weight: bold;
- border: none;
- border-radius: 5px;
- border: 2px solid black;
- }
- </style>
- </head>
- <!-- create table -->
- <body>
- <table id="calcu">
- <tr>
- <td colspan="3"><input type="text" id="result"></td>
- <!-- clr() function will call clr to clear all value -->
- <td><input type="button" value="c" onclick="clr()" /> </td>
- </tr>
- <tr>
- <!-- create button and assign value to each button -->
- <!-- dis("1") will call function dis to display value -->
- <td><input type="button" value="1" onclick="dis('1')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="2" onclick="dis('2')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="3" onclick="dis('3')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="/" onclick="dis('/')"
- onkeydown="myFunction(event)"> </td>
- </tr>
- <tr>
- <td><input type="button" value="4" onclick="dis('4')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="5" onclick="dis('5')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="6" onclick="dis('6')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="*" onclick="dis('*')"
- onkeydown="myFunction(event)"> </td>
- </tr>
- <tr>
- <td><input type="button" value="7" onclick="dis('7')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="8" onclick="dis('8')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="9" onclick="dis('9')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="-" onclick="dis('-')"
- onkeydown="myFunction(event)"> </td>
- </tr>
- <tr>
- <td><input type="button" value="0" onclick="dis('0')"
- onkeydown="myFunction(event)"> </td>
- <td><input type="button" value="." onclick="dis('.')"
- onkeydown="myFunction(event)"> </td>
- <!-- solve function call function solve to evaluate value -->
- <td><input type="button" value="=" onclick="solve()"> </td>
- <td><input type="button" value="+" onclick="dis('+')"
- onkeydown="myFunction(event)"> </td>
- </tr>
- </table>
- <script>
- // Function that display value
- function dis(val) {
- document.getElementById("result").value += val
- }
- function myFunction(event) {
- if (event.key == '0' || event.key == '1'
- || event.key == '2' || event.key == '3'
- || event.key == '4' || event.key == '5'
- || event.key == '6' || event.key == '7'
- || event.key == '8' || event.key == '9'
- || event.key == '+' || event.key == '-'
- || event.key == '*' || event.key == '/')
- document.getElementById("result").value += event.key;
- }
- var cal = document.getElementById("calcu");
- cal.onkeyup = function (event) {
- if (event.keyCode === 13) {
- console.log("Enter");
- let x = document.getElementById("result").value
- console.log(x);
- solve();
- }
- }
- // Function that evaluates the digit and return result
- function solve() {
- let x = document.getElementById("result").value
- let y = math.evaluate(x)
- document.getElementById("result").value = y
- }
- // Function that clear the display
- function clr() {
- document.getElementById("result").value = ""
- }
- </script>
- </body>
- </html>
- 80 0.35 4.375 0.004375
- 80 0.36 4.500 0.004500
- 80 0.37 4.625 0.004625
- 80 0.38 4.750 0.004750
- 80 0.39 4.875 0.004875
- 80 0.40 5.000 0.005000
- 80 0.41 5.125 0.005125
- 80 0.42 5.250 0.005250
- 80 0.43 5.375 0.005375
- 80 0.44 5.500 0.005500
- 80 0.45 5.625 0.005625
- 80 0.46 5.750 0.005750
- 80 0.48 6.000 0.006000
- 80 0.49 6.125 0.006125
- 80 0.50 6.250 0.006250
- 80 0.51 6.375 0.006375
- 80 0.52 6.500 0.006500
- 80 0.53 6.625 0.006625
- 80 0.54 6.750 0.006750
- 80 0.55 6.875 0.006875
- 80 0.56 7.000 0.007000
- 80 0.57 7.125 0.007125
- 80 0.58 7.250 0.007250
- 80 0.59 7.375 0.007375
- 80 0.60 7.500 0.007500
- 60 0.30 5.00 0.005
- 60 0.31 5.17 0.0052
- 60 0.32 5.33 0.0053
- 60 0.33 5.50 0.0055
- 60 0.34 5.67 0.0057
- 60 0.35 5.83 0.0058
- 60 0.36 6.00 0.006
- 60 0.37 6.17 0.0062
- 60 0.38 6.33 0.0063
- 60 0.39 6.50 0.0065
- 60 0.40 6.67 0.0067
- 60 0.41 6.83 0.0068
- 60 0.42 7.00 0.007
- DROP GEMS BPBUY BPSELL CB CS
- 5 400 2.00 2.26 0.67 0.76
- 6 429 2.15 2.43 0.72 0.82
- 7 462 2.31 2.61 0.77 0.87
- 8 500 2.50 2.83 0.83 0.94
- 9 545 2.73 3.09 0.91 1.03
- 10 600 3.00 3.39 1.00 1.13
- 11 667 3.33 3.76 1.11 1.25
- 12 750 3.75 4.24 1.25 1.41
- 13 857 4.29 4.86 1.43 1.61
- 14 1000 5.00 5.65 1.67 1.89
- 15 1200 6.00 6.78 2.00 2.26
- 5 400 2.00 2.26 0.67 0.76
- 6 429 2.15 2.43 0.72 0.82
- 7 462 2.31 2.61 0.77 0.87
- 8 500 2.50 2.83 0.83 0.94
- 9 545 2.73 3.09 0.91 1.03
- 10 600 3.00 3.39 1.00 1.13
- 11 667 3.33 3.76 1.11 1.25
- 12 750 3.75 4.24 1.25 1.41
- 13 857 4.29 4.86 1.43 1.61
- 14 1000 6.00 6.78 2.00 2.26
- 15 1200 7.20 8.14 2.40 2.71
- 5 400 2.80 3.17 0.93 1.05
- 6 429 3.03 3.43 1.01 1.14
- 7 462 3.23 3.65 1.08 1.21
- 8 500 3.50 3.95 1.17 1.31
- 9 545 3.81 4.30 1.27 1.42
- 10 600 4.20 4.74 1.40 1.58
- 11 667 4.67 5.28 1.56 1.76
- 12 750 5.25 5.93 1.75 1.98
- 13 857 5.99 6.77 1.99 2.25
- 14 1000 7.00 7.91 2.33 2.63
- 15 1200 8.40 9.49 2.80 3.16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement