such as the code:
// path to a trello JavaScript library.
<script src="path/to/trello.js"><script>
// the container of trello in my html.
<div id="trelloDiv" style="width:500px;height=500px;"></div>
<scrpit>
// create a trelloObj with domElement id and the apikey which specify my board.
var trelloObj = Trello.init("trelloDiv","trelloAPIKey");
// create a card with options.
var trelloCard=trelloObj.createCard("title",{ something here});
// add the new card to my board. then there is a new card in the target div.
trelloObj.addCard(trelloCard);
</script>
Thanks,
Emil