Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

inital exercise #433

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions hello.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

<html lang ="en">
<head>
<meta charset ="UTF-8">

</meta>
<title>Document</title>
</head>
<body>
<p>Hello</p>
</body>
</html>
28 changes: 28 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<html>
<head>
<script>
alert("Hi!")
let doIt=()=>{
alert("done");
}
</script>
</head>
<body>
<!--Event
DOM
w3schools javascript,html-->
<p>This is body text</p>
<p>Hello World!</p>

<p>
Exercise 1:</p>
<p>Create a page with button and input. This should prompt the user for their baggage weight</p>
<p>When the user clicks submit,</p>
<p>If the weight is over the limit of 15kh,it should alert the user that the bag is overweight.</p>
<p>The prompt:<input type="text" id="bw",width="6"><button onclick ="doit()">The button text(submit maybe?)</button></p>




</body>
</html>
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy