It includes the HTTP verbs and determines what the server will do (i.e. what verb and path, like POST '/')
You can use a hash like :locals {:number => number}
We can use <% = ruby thing you want to show %> or <% ruby logic you want to do but not display %>
hash. we call it params
Params are a hash that carries the data that comes from user input.
Looks good. For 2.) You can also pass a variable through to a view as an instance variable - @Number