diff --git a/index.js b/index.js index 8cd024f..700e953 100644 --- a/index.js +++ b/index.js @@ -30,10 +30,24 @@ const logger = { app.get('/', (req, res) => { const theStrategy = strategies[ Math.floor(Math.random()*strategies.length) ]; - res.write('
'); - res.write(theStrategy.toLowerCase()); + const theTree = + ` + + + + ${theStrategy.toLowerCase()} + + + + +
+ ${theStrategy.toLowerCase()} +
+ + `; + + res.write(theTree); logger.log('\non '+moment().format("dddd, MMMM Do YYYY, h:mma").toLowerCase()+' a card was drawn'); - res.write('
'); res.end(); });