input de tipo search
TIL que los elementos input
cuando reciben el valor de search
para atributo type
, nos proveen funcionalidades como autocomplete y una manera nativa de limpiar el input.
<form>
<div>
<input type="search" id="mySearch" name="q">
<button>Search</button>
</div>
</form>
Funciona similar al atributo text
, pero dependiendo del browser el estilo es diferente, en Chrome muestra una X que cuando se le da click limpia el input.
Referencia: MDN <input type="search">
String.prototype.repeat()
TIL el objeto String tiene un método repeat()
The repeat() method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
“You get in life what you have the courage to ask for.” ― Oprah Winfrey
Refrescando conceptos de DevOps
Encontré el canal de Youtube TechWorld with Nana y me ha ayudado a refrescar conceptos de DevOps, algunos de los que he visto en las ültimas semanas: