var member = {
name: 'Julia',
age: 28,
hobbies: ['swimming','music'],
address: { name: 'Chapultepec', number: 275, city: 'Mexico City' },
childs: false
}
var member = {
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
<head> | |
</head> | |
<body> | |
<nav class="fixed-nav-bar"> | |
<ul> | |
<li><a href="#top">Top</a></li> | |
<li><a href="#portfolio">Portfolio</a></li> | |
<li><a href="#aboutme">About me</a></li> | |
<li><a href="#contact">Contact</a></li> | |
<li>JLu</li> |
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
1. Declara un array de objetos `animal` que tenga 5 propiedades (nombre, especie, número de extremidades, edad y nacionalidad) cada uno. | |
2. Después de creado el array, haz una función que añada a cada objeto del array una propiedad `gènero`. |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
*LButton:: | |
If (A_PriorHotkey=A_ThisHotkey && A_TimeSincePriorHotkey < 10) ;hyperclick | |
Return | |
sendinput {Blind}{LButton down} | |
KeyWait, LButton |
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 { | |
/* ignore this */ | |
font-family: helvetica, arial, sans-serif; | |
margin: 0; | |
} | |
html, body { | |
height:100%; | |
} |
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
const IMAGES = document.querySelectorAll("img"); | |
const SIZES = { | |
showcase: "100vw", | |
reason: "(max-width: 799px) 100vw, 372px", | |
feature: "(max-width: 799px) 100vw, 558px", | |
story: "(max-width: 799px) 100vw, 670px" | |
}; | |
function makeSrcset(imgSrc) { | |
let markup = []; |
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
# Created by https://www.toptal.com/developers/gitignore/api/java,intellij+all | |
# Edit at https://www.toptal.com/developers/gitignore?templates=java,intellij+all | |
### Intellij+all ### | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider | |
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
# User-specific stuff | |
.idea/**/workspace.xml | |
.idea/**/tasks.xml |