For 1e) you were supposed to provide the parameter URL encoded, not the whole URL. So the answer is in an incorrect format.
2c) does not work, because you use the onerror handler instead of onload. onerror is only used if the iframe cannot load the content, which it can, as example.com can be framed.