Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f242188

Browse files
committed
grammar changes to homework
1 parent 264fecd commit f242188

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

week4/7morestrings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
let myString = ["this is a test".];
2-
console.log(myString);
1+
let myString = ["this is a test"]
2+
console.log(myString)
33
var stringLength = myString.length;
44
console.log(stringLength);

week4/dummy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
var name = prompt("hello world");
1+
var name = prompt("What is your name?");
2+
alert ("Hello, " + name);
23

week4/dummyhtml.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
<html>
33
<head>
44
<script src ="10program.js"></script>
5+
<script src ="9xequals7.js"></script>
6+
<script src ="8sametype.js"></script>
7+
<script src ="7morestrings.js"></script>
8+
<script src ="6arrays.js"></script>
9+
<script src ="5roundingnumber.js"></script>
10+
<script src ="4variabley.js"></script>
11+
<script src ="3variablex.js"></script>
12+
<script src ="2Imawesome.js"></script>
13+
<script src ="1hworldlanguages.js"></script>
14+
<script src = "dummy.js"></script>
515
</head>
616
<body>
717
hello world

0 commit comments

Comments
 (0)