title: Is there a way in html to choose the page with the best resolution?
body: <p>I created a website in html that looks good on a computer, but bad on a phone. I then created a separate page that looked good on phones, but bad on computers.
  Is there a way using html, css or javascript that I can have the website switch between the two html codes to best match the resolution of the user's device?</p>