LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

Live: Poznaj podstawy JavaScript w godzinę

CSS
html {
  background-color: lightblue;
  color: white;
  font-family: Arial;
}
JS
// var name = "Joanna";
// var cityILiveIn = "Poznań";
// var year = 2018;
// name = "Ela"
// console.log("Mam na imię " + name);
// console.log(typeof(year));

// let month = "January";
// console.log(month);
// month = "February";
// console.log(month);

// const myBirthCity = "Kowary";
// console.log(myBirthCity);

// let myHobby;
// console.log(myHobby);
// myHobby = "climbing";
// console.log(myHobby);

let fruits = ["apple", "banana", "pear", "plum"];
// console.log(fruits);
// console.log(fruits[3]);
// console.log(fruits.length);
// console.log(fruits[fruits.length-1]);
// console.log(fruits.indexOf("banana"));

// let isWeatherGood = true;
// console.log(isWeatherGood);

// if (isWeatherGood === true) {
//   console.log("Weather is good!");
// }

// let number1 = 5;
// let number2 = 5;
// console.log(number1 + number2);

// if (number1 > number2) {
//   console.log("number1 is bigger than number2");
// } else if (number1 === number2) {
//   console.log("numbers are equal");
// } else {
//   console.log("number2 is bigger than number1");
// }

// for (let i = 1; i <= 5; i++) {
//   console.log("cześć");
// }

// let myNumber = 0;

// for (let i = 1; i <= 10; i++) {
//   myNumber = myNumber + 1;
//   console.log("myNumber equals to:", myNumber);
// }

// for (let i = 0; i < fruits.length; i++) {
//   console.log(fruits[i]);
// }
Term
Sat, 04/14/2018 - 20:42

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv