Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
final changes to code
  • Loading branch information
pcm20001 committed Feb 26, 2024
1 parent 7a34b7d commit ed6edc0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion week-06/index.html
Expand Up @@ -6,6 +6,7 @@
<title>Document</title>
</head>
<body>

<p>hello</p>
<script type="text/javascript" src="/index.js"></script>
</body>
</html>
6 changes: 6 additions & 0 deletions week-06/index.js
@@ -0,0 +1,6 @@
function Person(name) {
this.name = name;
this.introduceSelf = function () {
console.log(`Hi! I'm ${this.name}.`);
};
}

0 comments on commit ed6edc0

Please sign in to comment.