function getRating(watchList){
// Only change code below this line
var averageRating=watchList.filter(film => film.Director==="Christoper Nolan")
// Only change code above this line
return averageRating;
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
this much code is enough to filter out only movies directed by Christopher Nolan. I would check for typos then restart the browser. Sometimes it’s the browser and not your code. Good luck!