Notes for Codefellows Code 401 301 201 and 102
Specifically the section about working with Volumes. Review the sample request and response. Practice making requests using Postman and consider the possible properties of the response that you may want to include in your book application.
Reference: EJS Docs
Bookmark/Skim Skim: EJS Tutorial Skim: Source Code for the EJS Tutorial Review the code that goes along with the tutorial
<% %>
(e.g., use [? ?] instead of <% %>)
<%
‘Scriptlet’ tag, for control-flow, no output<%_
‘Whitespace Slurping’ Scriptlet tag, strips all whitespace before it<%=
Outputs the value into the template (HTML escaped)<%-
Outputs the unescaped value into the template<%#
Comment tag, no execution, no output<%%
Outputs a literal ‘<%’%>
Plain ending tag-%>
Trim-mode (‘newline slurp’) tag, trims following newline_%>
‘Whitespace Slurping’ ending tag, removes all whitespace after it