Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
I really hope this works
  • Loading branch information
veyselindi committed Aug 1, 2019
commit b73726d2653cf8287444c420631f832a69a3fc96
Binary file added .DS_Store
Binary file not shown.
Binary file added week4:JSweek2/.DS_Store
Binary file not shown.
7 changes: 7 additions & 0 deletions week4:JSweek2/1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var Eng = 'Hello World';
let Tur = 'Merhaba Dunya';

console.log(Eng);
console.log(Tur);

/* Console Log excercise */
Comment thread
veyselindi marked this conversation as resolved.
11 changes: 11 additions & 0 deletions week4:JSweek2/2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var Imawesome = 'I`m awesome';

console.log(Imawesome);

/*
console.log('I'm awesome');

this code did not have any value above,
and using ' caused problems. wrong format
Comment thread
veyselindi marked this conversation as resolved.
*/

4 changes: 4 additions & 0 deletions week4:JSweek2/3.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var x
console.log("the value of my variable x will be: five");
Comment thread
veyselindi marked this conversation as resolved.
Outdated
var x = (5);
Comment thread
veyselindi marked this conversation as resolved.
console.log(x);
6 changes: 6 additions & 0 deletions week4:JSweek2/4.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
let y = 'isJSreallyHard?';
console.log("the value of my string will be: isJSreallyHard?");
console.log(y);
y='ItLooksLikeThat';
console.log("the value of my string will be: ItLooksLikeThat");
console.log(y);
Comment thread
veyselindi marked this conversation as resolved.
5 changes: 5 additions & 0 deletions week4:JSweek2/5.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var z = '7.25';
Comment thread
veyselindi marked this conversation as resolved.
Outdated
console.log(z);
var a = Math.ceil(7.25);
Comment thread
veyselindi marked this conversation as resolved.
Outdated
console.log(a);
console.log(Math.max(z, a ));
Comment thread
veyselindi marked this conversation as resolved.
Outdated
7 changes: 7 additions & 0 deletions week4:JSweek2/6.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
let arr = [ ];
Comment thread
veyselindi marked this conversation as resolved.
Outdated
console.log("the value of my array will be: undefined");
console.log(arr[0]);
arr = ['parrot', 'fish', 'dog'];
console.log(arr[2]);
arr.push('baby pig');
console.log(arr[3]);
Comment thread
veyselindi marked this conversation as resolved.
Outdated
4 changes: 4 additions & 0 deletions week4:JSweek2/7.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
let myString = "this is a test";
console.log(myString);
'myString'.length;
Comment thread
veyselindi marked this conversation as resolved.
Outdated
console.log(myString.length);
7 changes: 7 additions & 0 deletions week4:JSweek2/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var Eng = 'Hello World';
let Tur = 'Merhaba Dunya';

console.log(Eng);
console.log(Tur);

/* Console Log excercise */
24 changes: 24 additions & 0 deletions week4:JSweek2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<header>
<h2>Class 23</h2>
</header>
<main id="main"></main>
<script src="1.js"></script>
<script src="2.js"></script>
<script src="3.js"></script>
<script src="4.js"></script>
<script src="5.js"></script>
<script src="6.js"></script>
<script src="7.js"></script>


</body>
</html>