# Build an image carousel with React.js or vanilla JavaScript

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/4233/design-carousel-react-javascript
Source observed: 2026-11-05T01:36:26.762Z
Last checked: 2026-11-05T01:36:26.762+00:00
Indexed: 2026-11-07T03:18:44.211+00:00

---

# Build an image carousel that displays a sequence of images (using React.js or vanilla JS).

We publish this as a coding interview question in our question database. The task is to build an image carousel that displays a sequence of images using either React.js or vanilla JavaScript.

## Interview details

- **Role:** [Frontend Engineer](https://www.aced.io/questions?role=frontend-engineer)
- **Company:** [Amazon](https://www.aced.io/questions?company=amazon)
- **Category:** [Coding](https://www.aced.io/questions?type=coding)
- **Interview:** 1 interview
- **Reported last asked:** 2 years ago

## Community answers

No answers have been contributed by the community yet. To answer, [log in or sign up](https://www.aced.io/signup?src=nav&returnPath=/questions/4233/design-carousel-react-javascript).

## Member access

We offer an upgrade for access to the video answer and broader preparation resources. Membership includes:

- 100+ expert answer videos
- Access to all courses
- Peer-to-peer practice
- Private Discord community
- Full question database

[Upgrade](https://www.aced.io/upgrade?src=questions) or [upgrade now](https://www.aced.io/upgrade?src=questions).

## Related courses

### [Behavioral Interviews: A Practical Guide for Engineers](https://www.aced.io/courses/eng-behavioral)

![Behavioral Interviews: A Practical Guide for Engineers](https://images.ctfassets.net/x78yjrjc11pq/47qcoHjzFZXE37GoacedkB/9d8e3f4910d8b06b21e76745cd9cbff3/AdobeStock_1142146335.jpeg?w=800&h=800&fm=webp&q=75)

We help engineers prepare for senior-plus behavioral interviews at FAANG and Tier-1 companies. The course is made with staff and principal engineers from Meta, Netflix, Google, and more, and covers avoiding downleveling, elevating past projects, and communicating naturally.

### [Software Engineering Interview Prep](https://www.aced.io/courses/software-engineering)

![Software Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/4VkuYewBHUFIVUS5oJDW5h/02e833439b1289f25f38f13f81cbdca3/adobe_stock_optimized.jpeg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for software engineering roles at Google, Amazon, Microsoft, Meta, Apple, and other top companies. The course includes mock interviews, frameworks, and advice from senior candidates, with practice in data structures, algorithms, system design, people management, behavioral interviews, and more.

## Submit an answer

Submitting an answer marks this question complete.

## Related preparation areas

We also provide courses and question collections covering Product Management, Forward Deployed Engineering, Engineering Management, Software Engineering, System Design, Data Science, Machine Learning, Data Engineering, AI Engineering, Investment Banking, Generative AI, Security Engineering, TPM, Solutions Architecture, UX/Product Design, and BizOps & Strategy. Our practice and coaching offerings include mock interviews, resume review, and salary negotiation.

- [All Questions](https://www.aced.io/questions)
- [Software Engineering courses](https://www.aced.io/courses/software-engineering)
- System Design courses
- [Practice](https://www.aced.io/practice?src=nav)
- [Coaching](https://www.aced.io/coaching?src=nav)

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4233%2Fdesign-carousel-react-javascript&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4233%2Fdesign-carousel-react-javascript). Opening a form does not execute a tool.