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
3 changes: 3 additions & 0 deletions hello.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<script src="bob.js"></script>
<script src="elisabeth.js"></script>
<script src="robert.js"></script>
<script src="portia.js"></script>
<title>Hello Team</title>
</head>
<body>
Expand Down Expand Up @@ -31,12 +32,14 @@
updateText(elisabeth(), textContent);
updateText(bob(), textContent);
updateText(robert(), textContent);
updateText(portia(), textContent);
// Note: we need to add more function here for everyone to say hello.

// append the text content to the document
document.body.appendChild(textContent);

</script>
I love writing text
</body>
</html>

Expand Down
4 changes: 4 additions & 0 deletions portia.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
function portia()
{
return "Portia Plante says HI EVERYONE!";
}