This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html{ | |
box-sizing: border-box; | |
} | |
*, *::before, *::after{ | |
box-sizing: inherit; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-size: 18px; | |
font-family: 'Fira Sans', sans-serif; | |
line-height: 1.5em; | |
min-height: 100vh; | |
background-color: #e5e5e5; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let str = 'Lorem ipsuma is simply dummy loreman'; | |
let arr = str.split (' '); | |
for (let i = 0; i < arr.length; i++){ | |
if(arr[i].length >= 5) { | |
console.log(arr[i]); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = [1, 2, 3, 4]; | |
let arg = prompt("input your number", "0"); | |
if (arg != null) { | |
searchElem(arg); | |
} else { | |
console.log("Cancel was pressed"); | |
} | |
function searchElem(arg){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = ['html', 'css', 'javascript']; | |
let nameLengths = arr.map((name) => name.length); | |
console.log(nameLengths); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = ['html', 'css', 'javascript']; | |
let nameLengths = arr.map((name) => name.length); | |
console.log(nameLengths); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation 'androidx.legacy:legacy-support-v4:1.0.0' | |
def room_version = "2.3.0" | |
def lifecycle_version = "2.3.1" | |
def arch_version = "2.1.0" | |
def coroutines_version = "1.5.0" | |
implementation "androidx.room:room-runtime:$room_version" | |
kapt "androidx.room:room-compiler:$room_version" | |
implementation "androidx.room:room-ktx:$room_version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util. *; | |
public class MyClass { | |
public static void main(String args[]) { | |
class Customer { | |
int amountOfPurchases; | |
String name; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util. *; | |
public class MyClass { | |
public static void main(String args[]) { | |
class User { | |
int age; | |
String name; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Online Javascript Editor for free | |
// Write, Edit and Run your Javascript code using JS Online Compiler | |
const obj = { | |
name: 'Iacov', | |
age: function(yearOfBirth) { | |
const date = new Date().getFullYear(); | |
const res = date - yearOfBirth; | |
return console.log(`I'm ${res} years old`); |
OlderNewer