1 parent 2b13090 commit 239dcacCopy full SHA for 239dcac
3 files changed
01-Basics/04-loop-doWhile/app.js
@@ -0,0 +1,13 @@
1
+function whileLoop(num){
2
+ while(num < 10){
3
+ console.log(num);
4
+ num++;
5
+ }
6
+}
7
+
8
+function doLoop(num){
9
+ do{
10
11
12
+ }while(num < 10);
13
01-Basics/04-loop-doWhile/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Learning JavaScript - Walker</title>
+ <link rel="stylesheet" href="style.css">
+</head>
+<body>
+ <h1>While - Do While</h1>
+ <script src="app.js"></script>
+</body>
+</html>
01-Basics/04-loop-doWhile/style.css
0 commit comments