Websites, apps & code / Coding & debugging

Fix a page that breaks on phones

It looks fine on a computer but on a phone the text is tiny, images overflow or buttons overlap.

1Fill in your details

Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).

2Pick a variationScreen

3Copy the prompt

My webpage looks wrong on phones. Please find the cause and fix it.

What goes wrong: On a phone the menu pushes the title to a second line and an image is wider than the screen
Relevant code:
.menu { display:flex; width:900px } img { width:800px }

Screen situation: Fix mainly for phones 360 to 414 px wide and make sure no sideways scrolling is needed.

Please:
1. First name the two or three most likely causes and which is most probable, with reasons.
2. Give the full corrected code, not fragments, with the changed lines marked.
3. Explain each change in plain words.
4. Show me how to check it with Chrome's device mode so I do not need a real phone.
5. If you need to see more code to be sure, ask me instead of guessing.
Do not change colours or wording I did not mention.

[Make it sound human]
- Explain in plain words; no pleasantry openers or empty summaries.
- Only necessary, short, practical code comments; the simplest working approach, no over-engineering.
- Interface text (buttons, hints, error messages) should sound like a person wrote it; no "seamless", "empower", "unlock".
[Quality] Code must run as is and handle common errors; tell me how to test it and confirm it works; ask first if a requirement is unclear; never put passwords or API keys in the code.

Paste it into ChatGPT, Gemini, Claude or Meta AI.

Test result

This one was not tested on its own. Uses in this category share the same structure, and we spot-tested several of them, for example: Explain what code does, Fix an error message

AI tools that suit this

  • Claude Suggested tool Free plan

    Strong at long documents, editing and code

  • ChatGPT Suggested tool Free plan

    The most widely used AI chat, for writing, questions and images

  • Cursor Suggested tool Free plan

    AI code editor

Recommendations only, not sponsored. Check each site for what the free plan includes.

This site is made by FullMark Tech

Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.

Ask on WhatsApp See FullMark Tech services