Often there are small knowledge/understanding questions that'll come up in an interview. Here are some that we've seen:
- Explain the difference between save and save! in Rails.
- What is a yield in Ruby? What is it useful for? Give an example of where would you put it?
- In HTML, what are the primary uses and differences between
<div>
and<span>
? - Name as many Ruby enumerables as you can and give a brief example of what’s unique about each.
- Explain the box model of CSS.
- Where and why should you use a class in HTML? What about an id? What’s the difference between those two? Why would you use one over the other?
- Explain what happens when you type a URL into your browser and hit enter (aka the request/response loop).