WebFund 2013W Lecture 10: Difference between revisions

From Soma-notes
Created page with "==Questions== # Express gives you a static file server by default. (true/false) # In express, URLs are all automatically resolved by looking for the appropriately named file...."
 
Line 5: Line 5:
# In node, modules declare public functions by assigning them to which object?
# In node, modules declare public functions by assigning them to which object?
# Jade templates only allow you to access a restricted subset of HTML.  (true/false)
# Jade templates only allow you to access a restricted subset of HTML.  (true/false)
# In an HTML form, if I want to return a value called "country", which parameter do I set to "country": id, name, class, for, or type?
# In an HTML form, if I want to return a value called "country", which parameter do I set to "country": <tt>id</tt>, <tt>name</tt>, <tt>class</tt>, <tt>for</tt>, or <tt>type</tt>?

Revision as of 16:40, 7 February 2013

Questions

  1. Express gives you a static file server by default. (true/false)
  2. In express, URLs are all automatically resolved by looking for the appropriately named file. (true/false)
  3. In node, modules declare public functions by assigning them to which object?
  4. Jade templates only allow you to access a restricted subset of HTML. (true/false)
  5. In an HTML form, if I want to return a value called "country", which parameter do I set to "country": id, name, class, for, or type?