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
(function (document) { | |
var checkCount = 0, | |
formatFound = false; | |
function setHTMLClass(height, className) { | |
checkCount++; | |
if (height == 2) { | |
formatFound = true; | |
document.documentElement.className += " " + className; | |
} else { |
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
<ul> | |
<li> | |
<p>Café Latte <span>Café Espresso con leche caliente evaporada</span> </p> | |
<p class="precio">$25</p> | |
</li> | |
<li> | |
<p>Café Mocha <span>Espresso con crema batida</span> </p> | |
<p class="precio">$30</p> | |
</li> | |
<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
const regex = /^\w+([.-_+]?\w+)*@\w+([.-]?\w+)*(\.\w{2,10})+$/ |