import React from 'react';

const MainQuestion = function( props ) {
  const getQuestionText = function( trip ) {
    if ( trip.length < 1 ) {
      return 'Enter a location';
    }
    if ( trip.length === 1 ) {
      return 'Enter another location and I\'ll tell you the distance of the trip';
    }
    return 'Enter another location';
  };
  return <div className="question">{ getQuestionText( props.trip ) }</div>;
};

export default MainQuestion;

@@ -150,20 +150,25 @@
 return '
-Ente
+Search fo
 r a loca
@@ -217,36 +217,41 @@
 %7B%0A      return '
-Ente
+Search fo
 r another locati
@@ -321,12 +321,17 @@
 rn '
-Ente
+Search fo
 r an

Adjust the MainQuestion text to use "Search for"