view




//// // Creating objects for each post. let posts = [ { "medium": "show", "date": "500", "genre": "fantasy" "post": "document.getElementById("HOTDE9")" }, { "medium": "show", "date": "500", "genre": "fantasy" "post": "document.getElementById("HOTDE8")" }, { "medium": "book", "date": "500", "genre": "romance" "post": "document.getElementById("KINDREDNORTH")" } ] // Creating new lists based on our given lists. function medium(bee){ let type = posts.filter(type => types.medium === bee); document.getElementById("test").innerHTML = posts.genre; } function order(beetle){ } function genre(bug){ }