Skip to content

Instantly share code, notes, and snippets.

@FerPerales
Created September 3, 2012 19:26
Show Gist options
  • Save FerPerales/3612623 to your computer and use it in GitHub Desktop.
Save FerPerales/3612623 to your computer and use it in GitHub Desktop.
Zen code for practice #6
This zen:
html:5>h1+(fieldset>(p>label+input)*2)+(fieldset>(label+(p>input)*4)+(p>label+input)*2)+(fieldset>(p>label+input)*4+(label+select>option*2))
Generates this:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<h1></h1><fieldset>
<p><label for=""></label><input type="" /></p>
<p><label for=""></label><input type="" /></p>
</fieldset><fieldset>
<label for=""></label>
<p><input type="" /></p>
<p><input type="" /></p>
<p><input type="" /></p>
<p><input type="" /></p>
<p><label for=""></label><input type="" /></p>
<p><label for=""></label><input type="" /></p>
</fieldset><fieldset>
<p><label for=""></label><input type="" /></p>
<p><label for=""></label><input type="" /></p>
<p><label for=""></label><input type="" /></p>
<p><label for=""></label><input type="" /></p>
<label for=""></label>
<select name="" id="">
<option value=""></option>
<option value=""></option></select>
</fieldset>
</body>
</html>
@FerPerales
Copy link
Author

TODO: Add id when needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment