Skip to content

Commit

Permalink
1st commit Ex5
Browse files Browse the repository at this point in the history
  • Loading branch information
HieuT23511 committed Mar 20, 2023
1 parent 45dcd9d commit cca1007
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Ex5.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Exercise 5</title>
</head>
<body>
<script>
let str1 = prompt('Nhập vào chuỗi thứ nhất:');
let str2 = prompt('Nhập vào chuỗi thứ hai:');

if (str1 === str2) {
document.write(`Chuỗi '${str1}' giống chuỗi '${str2}'`);
} else {
document.write(`Chuỗi '${str1}' không giống chuỗi '${str2}'`);
}
</script>
</body>
</html>

0 comments on commit cca1007

Please sign in to comment.