Create a Quick access Pin using HTML , CSS and JavaScript Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report Quick Access Pins are a useful feature in web applications that allow users to save and quickly access their favorite or frequently visited websites, tools, or pages. These pins provide a convenient and efficient way to navigate a website or web application. In this post, we will create a Quick Access PIN using HTML, CSS, and JavaScript. Prerequisite:HTMLCSSJavaScriptApproach:create a static HTML structure with predefined pinned items.Design a simple layout with the pinned items.Use HTML to create pins and provide links.Style the pins using the CSS for an attractive appearance.Use JavaScript for the navigation when a pin is clicked.Example: Below is the basic implementation of the above project JavaScript const pinContainer = document.getElementById('pin-container'); const pinnedItems = [ { title: 'Website', url: 'https://www.geeksforgeeks.org', icon: '????' }, { title: 'Email', url: 'mailto:example@example.com', icon: '✉️' }, { title: 'Notes', url: 'https://www.geeksforgeeks.org/lmns-gq', icon: '????' }, ]; function create(item) { const pin = document.createElement('div'); pin.classList.add('pin'); pin.innerHTML = `<div>${item.icon}</div><div>${item.title}</div>`; pin.addEventListener('click', () => { window.location.href = item.url; }); pinContainer.appendChild(pin); } pinnedItems.forEach(create); HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>The Quick Access Pin</title> <link rel="stylesheet" href="style.css"> </head> <body> <header> <h1>Quick Access Pin</h1> </header> <main> <div class="pin-container" id="pin-container"> </div> </main> <script src="script.js"></script> </body> </html> CSS body { font-family: Arial, sans-serif; background-color: #C0C0C0; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; } header { background-color: #800080; color: white; padding: 1rem; width: 100%; } main { display: flex; align-items: center; flex-direction: column; padding: 2rem; } .pin-container { display: flex; flex-wrap: wrap; gap: 20px; } .pin { width: 150px; height: 150px; background-color: #3498db; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 15px; cursor: pointer; transition: background-color 0.3s; } .pin:hover { background-color: #1e6a9d; } Output: Comment More infoAdvertise with us Next Article Create a Quick access Pin using HTML , CSS and JavaScript M maha123 Follow Improve Article Tags : JavaScript JavaScript-Projects Similar Reads Create a Single Page Application using HTML CSS & JavaScript In this article, we are going to design and build a cool and user-friendly single-page application (SPA) using just HTML, CSS, and JavaScript. A single-page application contains multiple pages which can be navigated or visited without loading the page every time. This makes things faster and more in 4 min read Create a Guestbook using HTML CSS and JavaScript This article will show how to create a GuestBook using HTML, CSS, and JavaScript that allows users to add their name, mobile number, room number, and address to the guestbook. We have written a code that generates a card with multiple input boxes and a submit button to store the guest's information 3 min read How to create a Landing page using HTML CSS and JavaScript ? A landing page, also referred to as a lead capture page, static page, or destination page, serves a specific purpose and typically appears as a result of online advertising or search engine optimization efforts. Unlike a homepage, a landing page is stripped of distractions and focuses on capturing v 7 min read Create a Bookmark Landing Page using HTML CSS and JavaScript In this article, we are going to implement a Bookmark Landing Page using HTML, CSS, and JavaScript. Users can effortlessly add, manage, and remove bookmarks, resulting in a tidy digital library for their favorite websites. Bookmarking the Landing Page refers to a web page or website where the users 4 min read How to create a revealing sidebar using HTML CSS and JavaScript? A revealing sidebar is a hidden UI element that becomes visible upon user interaction, such as clicking or swiping, providing navigation links. The content of the page will rotate and the navigation bar will reveal itself when the menu button is clicked. ApproachCreate an HTML file with headings and 3 min read Create a Trigonometry Toolbox using HTML CSS and JavaScript This article will demonstrate how we can create a Trigonometry Toolbox using HTML, CSS, and JavaScript. Here, we have to give an angle in degrees as input in the input box and it calculates the corresponding value of the given angle. The application is user-friendly users can easily find the trigono 3 min read How to Create a Portfolio Website using HTML CSS and JavaScript ? A portfolio website is a website that represents you online on the web pages. It contains different sections like Introduction to Yourself, About You, Your Services, Your Contact Details, and Your Portfolio. We are going to build all of the sections with an interactive and attractive web design that 15+ min read Create an Online Payment Project using HTML CSS & JavaScript In this article, We will create a responsive online payment page using HTML, CSS & Javascript.Here, we will learn about the project's structure before beginning to code each page individually. To ensure adequate understanding, we also gave the project's output after it was created.Prerequisites: 4 min read Create OTP Input Field using HTML CSS and JavaScript We will build an OTP (One-Time Password) input box, which is commonly used on many websites. This interactive and engaging UI element allows users to enter their OTP conveniently and efficiently. We will walk through the step-by-step process of creating this functionality using HTML, CSS, and JavaSc 3 min read Create a Toggle Profile Card Details using HTML CSS and JavaScript In this article, we will develop an interactive Toggle Profile Card Details application using HTML, CSS, and JavaScript Language. In this application, we have a Card Component with the user's details like their profile picture and Name. There is a toggle button, and when the button is clicked, the d 3 min read Like