View on GitHub

reading-notes

Observations and questions from reading assignments.

Home

Reading Assignment - 03

Mustache

Mustache is a template syntax used in a wide array of projects. It is commonly referred to as “logic-less” since there are no if/else statements or for loops required. The syntax uses tags that can pass values to be displayed in HTML.

 Mustache.render("Hello, , {name: "Leaundrae});
 //returns: Hello, Sherlynn

The values we input are placeholders that Mustache uses to find the associated value. The placeholder in the example above is name that references the value “Leaundrae”.

Flexbox

Sources:

Sherylynn Tan

Chris Coyier