---
title: "Discussion on \"Onclick -- Move To The Top\" | Hashnode"
description: "Discussion on \"Onclick -- Move To The Top\". In this article, we will be looking at how to move the clicked item to the first index. Emphasis in this article is not on the UI but on the functionality.\nBefore we proceed further, here are the prerequisite things to do before we dive in fully to t..."
url: "https://hashnode.com/posts/onclick-move-to-the-top/64eefff31b53f8160b3bae0c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Onclick -- Move To The Top](https://amazing4.com/onclick-move-to-the-top?utm_source=hashnode&utm_medium=feed)

In this article, we will be looking at how to move the clicked item to the first index. Emphasis in this article is not on the UI but on the functionality. Before we proceed further, here are the prerequisite things to do before we dive in fully to t...

Aug 30, 2023 · 4 min read · amazing4.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Nwankwo Ernest Onyebuchi](https://hashnode.com/@Amazing4)

@Amazing4 · Nigeria

  
[View profile](https://hashnode.com/@Amazing4)

Nwankwo Ernest Onyebuchi is a full stack web developer that loves transforming web designs into functional working web app.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
