Skip to content

Results for “frontend”

13 prompts

Add internationalisation to my [framework] app for [languages]. Show the library setup, translation file structure, how to handle plurals, dates and currencies, language switching, SEO for localised pages, and right-to-left support if needed.

ChatGPT
Coding & Development

Internationalisation (i18n) setup

Adds multi-language support to your app.

0

My [framework] app has these needs: [describe shared state, server data, forms]. Recommend a state management approach (e.g. built-in state, Context, Zustand, Redux Toolkit, React Query), explain why, and show the setup with one example feature.

ChatGPT
Coding & Development

State management setup

Chooses and sets up state management for a frontend app.

0

Review and rewrite this page's HTML for SEO and accessibility: semantic elements, heading order, meta title and description, Open Graph tags, canonical link, structured data for [type], and image alt text. HTML: [paste HTML]

ChatGPT
Coding & Development

SEO-friendly HTML structure

Semantic HTML and meta tags that help search engines.

0

Build validation for a [form type] form in [framework or vanilla JS]. Validate [fields] on blur and submit, show inline accessible error messages, disable submit while sending, and handle server-side errors gracefully.

ChatGPT
Coding & Development

Form validation on the frontend

Accessible form validation with helpful error messages.

0

Implement [infinite scroll / cursor pagination] for a list of [items] in [framework] calling [API]. Handle loading and error states, avoid duplicate requests, preserve scroll position, and include the backend query for cursor pagination.

ChatGPT
Coding & Development

Infinite scroll or pagination

Efficient list loading for large datasets.

0

Build a file upload feature in [stack]. Show a progress bar, validate file type and size on client and server, store files in [storage], generate safe file names, and return a URL. Explain security considerations.

ChatGPT
Coding & Development

File upload with progress

Secure file uploads with progress bars and validation.

0

Add a dark mode toggle to my site built with [stack]. Use CSS variables, respect prefers-color-scheme by default, remember the user's choice, avoid a flash of the wrong theme on load, and keep it accessible.

ChatGPT
Coding & Development

Dark mode toggle

A dark mode switch that respects system settings.

0

My web page has these performance metrics and details: [Lighthouse results / stack / page description]. Identify the biggest causes of slow loading and poor Core Web Vitals, and give prioritised fixes with code examples (images, fonts, JS bundles, caching, rendering).

ChatGPT
Coding & Development

Web app performance audit

Finds and fixes slow page loads and poor Core Web Vitals.

0

You are a Vue 3 developer. Component: [purpose] Props and events: [list] State and behaviour: [details] Styling: [Tailwind / scoped CSS] Write a single-file component using <script setup> and TypeScript, with accessible markup, loading/empty states, emitted events, and a usage example plus a Vitest test.

Claude
Coding & Development

Vue component

Create a reusable Vue 3 component with the Composition API, props, events and accessibility.

0

You are a front-end developer who cares about motion design. Elements to animate: [buttons, cards, modal, loader, list items] Style: [subtle, playful, premium] Write CSS (and minimal JS if needed) for each animation using transforms and opacity for performance, sensible durations and easing, and a prefers-reduced-moti…

Claude
Coding & Development

CSS animations and micro-interactions

Add smooth, accessible animations to buttons, cards, loaders and page elements.

0

[Attach a screenshot or design image] You are a front-end developer. Recreate this design as HTML and CSS. Requirements: - Semantic HTML5 and accessible markup (alt text, labels, contrast) - Responsive: mobile first, with breakpoints at [e.g. 640px, 1024px] - Styling with [plain CSS with variables / Tailwind] - Match…

Claude
Coding & Development

Turn a screenshot or design into HTML and CSS

Upload a mockup or screenshot and get responsive, semantic HTML and CSS that matches it closely.

0

You are a senior React developer. Component: [name and purpose] Props: [list with types] Behaviour: [interactions, states, loading/error/empty] Styling: [Tailwind / CSS modules / styled-components] Data: [static / fetched from API endpoint] Write a functional component in TypeScript that: - Is accessible (semantic HTM…

Claude
Coding & Development

React component with props and state

Generate an accessible, reusable React component with TypeScript types, state handling and styling.

0