In the context of this exercise, we have multiple
return statements inside of
render(), but is this valid?
Yes, this is valid. Each return statement is nested inside of an
else code block, meaning that only one of the code blocks will ever run on a
render(), and so only one of the several
return statements will run. The
render() function has no limit to how many of these
return statements can be inside of it, but only one will ever run at a time.