You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
523 B
HTML
20 lines
523 B
HTML
1 month ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<input id="title" type="text" />
|
||
|
<button id="go">go</button>
|
||
|
<script src="epicpedia_2024.js"></script>
|
||
|
<script>
|
||
|
let title_elt = document.querySelector("#title");
|
||
|
let go_elt = document.querySelector("#go");
|
||
|
go_elt.addEventListener("click", e => {
|
||
|
let title = title_elt.value;
|
||
|
console.log("search for article named", title);
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|