input: from typing import Optional
  from bs4 import BeautifulSoup
  import requests
  
  def web_scraper_home_content(url: str) -> Optional[dict]:
      """ Scrape the title and content of a given website's homepage.
      >>> web_scraper_home_content('https://www.example.com')
      {'title': 'Example Domain', 'content': 'This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.'}
      """
      try:
          r = requests.get(url)
          html = BeautifulSoup(r.text, "html.parser")
          
          # Find title
          title = html.find('title').text.strip()
          
          # Find content
          content = html.find('div', {'class': 'content'}).text.strip()
          
          return {'title': title, 'content': content}
      except:
          return None
output:         try:
              r = requests.get(url)
              html = BeautifulSoup(r.text, "html.parser")
              
              # Find title
              title = html.find('title').text.strip()
              
              # Find content
              content = html.find('div', {'class': 'content'}).text.strip()
              
              return {'title': title, 'content': content}
          except:
              return None