first draft of the basic html view
ResourceError should be a runtime error not an exception