input: Write a function named create_web_scraper that can extract hotel reviews from TripAdvisor. The function should accept a URL as input and return a list of dictionaries, where each dictionary contains the title and text of a review. If the request to the URL fails, the function should return None.
  
  assert create_web_scraper('https://www.tripadvisor.com/Hotel_Review-g60763-d122005-Reviews-The_Algonquin_Hotel_Times_Square_Autograph_Collection-New_York_City_New_York.html')==[{'title': 'Lovely hotel', 'text': 'Stayed for two nights in October. The hotel is perfectly located for both central park and mid town shopping and very well presented making for an enjoyable stay.'}, {'title': 'Nice hotel', 'text': 'Nice room, very clean, nice food served quickly. Will be going back 🤩'}, ...]
output: 
  import requests
  from bs4 import BeautifulSoup
  
  def create_web_scraper(url):
      try:
          response = requests.get(url)
          response.raise_for_status()
      except requests.RequestException:
          return None
  
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = []
  
      for review in soup.find_all('div', class_='review-container'):
          title = review.find('span', class_='noQuotes').text.strip()
          text = review.find('p', class_='partial_entry').text.strip()
          reviews.append({'title': title, 'text': text})
  
      return reviews
  