Skip to content

Instantly share code, notes, and snippets.

@owensd

owensd/extended.swift Secret

Created Apr 7, 2017
Embed
What would you like to do?
html()
.addChild(child: body()
.addChild(child: h1(["class": "welcome", "id": "title"]).addChild(child: "Welcome to Swiccup"))
.addChild(child: div(["id": "message", "class": "important"]).addChild(child: "This is only the beginning."))
.addChild(child: ol()
.addChild(child: li().addChild(child: "item #1"))
.addChild(child: li().addChild(child: "item #2"))
.addChild(child: li().addChild(child: "item #3"))
.addChild(child: li().addChild(child: "item #4"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment