Add CDN to jQuery
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap" rel="stylesheet">
|
||||||
|
<script src="https://code.jquery.com/jquery-3.5.1.js"
|
||||||
|
integrity="sha256-QWo7LDvxbWT2tbbQ97B53yJnYU3WhH/C8ycbRAkjPDc=" crossorigin="anonymous"></script>
|
||||||
<link rel="icon" type="img/png" href="favicon.png">
|
<link rel="icon" type="img/png" href="favicon.png">
|
||||||
<title>Randomize App</title>
|
<title>Randomize App</title>
|
||||||
</head>
|
</head>
|
||||||
@@ -26,7 +28,9 @@
|
|||||||
</h2>
|
</h2>
|
||||||
<input id="input" autocomplete="off"><br>
|
<input id="input" autocomplete="off"><br>
|
||||||
<p id="inputError"></p>
|
<p id="inputError"></p>
|
||||||
|
<form>
|
||||||
<button type="submit" id="add">Add item</button>
|
<button type="submit" id="add">Add item</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box2">
|
<div class="box2">
|
||||||
@@ -40,13 +44,16 @@
|
|||||||
Result:
|
Result:
|
||||||
</h2>
|
</h2>
|
||||||
<h3 id="result"></h3>
|
<h3 id="result"></h3>
|
||||||
<button id="submit">Randomize</button>
|
<form>
|
||||||
|
<button type="submit" id="submit">Randomize</button>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button id="reset">Reset</button>
|
<button id="reset">Reset</button>
|
||||||
<script src="script.js"></script>
|
<script src="script.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user