title: Given campground array, write a function that returns a string and matching number
body: <p>I've been given a campgrounds array and I need to write a function, findMyCampsites() with parameters, (campgrounds, view, partySize). I need to filter out the ones that are unreserved, then return an array with campsite numbers for the matching campsites.</p>
  <p>Example: <code>findMyCampsites(campgrounds, 'ocean', 8) //-&gt; [1]</code></p>
  <p>And if the input is one that is not in the array it will return 'Sorry, no campsites with that view are available to host your party'.</p>
  <p>Example: <code>findMyCampsites(campgrounds, 'forest', 6) //-&gt; 'Sorry, no campsites with that view are available to host your party'</code></p>
  <p>Given array:</p>
  <pre><code>let campgrounds = [
    { number: 1, view: 'ocean', partySize: 8, isReserved: false },
    { number: 5, view: 'ocean', partySize: 4, isReserved: false },
    { number: 12, view: 'ocean', partySize: 4, isReserved: true },
    { number: 18, view: 'forest', partySize: 4, isReserved: false },
    { number: 23, view: 'forest', partySize: 4, isReserved: true }
  ];
  </code></pre>
  <p>What I have so far:</p>
  <pre><code>function findMyCampsites(campgrounds, view, partySize) {
    let total = 0;
    for (let i = 0; i &lt; campgrounds.length; i++) {
      if (campgrounds[i].view === view) {
        total++;
      }
      return total;
    }
  }
  </code></pre>
  <p>I know I need to return the campsite's number that is available and that can fit the party size and which have their desired view, but I don't know what to do after the for loop..</p>