Skip to content
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
2 changes: 2 additions & 0 deletions hello.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<head>
<script src="bob.js"></script>
<script src="elisabeth.js"></script>
<script type="text/javascript" src="linjun.js"></script>
<title>Hello Team</title>
</head>
<body>
Expand Down Expand Up @@ -29,6 +30,7 @@
// one by one, call all of the functions that add to the text content
updateText(elisabeth(), textContent);
updateText(bob(), textContent);
updateText(linjun(), textContent);
// Note: we need to add more function here for everyone to say hello.

// append the text content to the document
Expand Down
3 changes: 3 additions & 0 deletions linjun.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function linjun() {
return "Linjun(Aimee) says hello."
}