Skip to content
Youths Forum Youths Forum Youths Forum

Tech Blogs & Programming Tutorials

Youths Forum Youths Forum Youths Forum

Tech Blogs & Programming Tutorials

  • Blog
  • News
  • Programming
    • PHP
    • JavaScript
    • JQuery
    • CSS
    • HTML
    • API
  • Stock Market Live
  • Automobiles
    • Cars
  • Gadgets
    • Phones
    • Android Phones

Categories

  • Automobiles (12)
    • Cars (7)
  • Blog (103)
    • Poems (2)
    • Space (2)
  • Command (2)
  • Education (2)
  • Entertainment (4)
  • Gadgets (9)
    • Phones (8)
      • Android Phones (4)
  • HTML Templates (11)
  • IT Training Institutes (1)
  • Lifestyle (4)
  • News (50)
  • Others (23)
  • Programming (296)
    • API (16)
    • CSS (83)
    • Database (4)
    • Hosting (1)
    • HTML (37)
    • JavaScript (117)
      • JQuery (27)
      • ReactJS (7)
    • PHP (116)
  • Python (3)
  • recipes (1)
  • SEE Result (1)
  • Server (3)
  • Blog
  • News
  • Programming
    • PHP
    • JavaScript
    • JQuery
    • CSS
    • HTML
    • API
  • Stock Market Live
  • Automobiles
    • Cars
  • Gadgets
    • Phones
    • Android Phones
Close

Search

HTMLJavaScript

Create Sticky Notes Application using HTML, CSS and JavaScript in 5 minutes

By Admin
May 2, 2024 2 Min Read
0

Sticky notes, those colorful squares of paper often found adorning office walls and computer monitors, have become indispensable tools for organizing tasks, jotting down quick ideas, and setting reminders.

In the digital age, the traditional paper sticky notes have evolved into its electronic counterpart, offering users a convenient way to manage their notes and tasks right from their computers or mobile devices.

Follow this video for complete guidance for creating sticky notes using HTML, CSS and javascript

In this tutorial, we’ll be creating a simple web application for managing digital sticky notes using HTML, CSS, and JavaScript.

By the end of this tutorial, you’ll have built a fully functional sticky note application where you can create, move, and delete notes, simulating the experience of using physical sticky notes but in a digital format.

You may also like : Waving Hand Animation using CSS

Full Source Code for Sticky Notes

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href='https://fonts.googleapis.com/css?family=Gloria+Hallelujah' rel='stylesheet' type='text/css'>
  <title>Sticky Note Using HTML, CSS and JavaScript</title>
  <style type="text/css">
    body {
      background-color:#EAF2E3;
    }

    .button {
      float: right;
      margin: 0px 50px 0 0;
      background-color: #E75448;
      padding: 10px 15px;
      color: white;
      font-family: helvetica, arial, sans-serif;
      border-radius: 4px;
      font-weight: 500;
    }

    a.button {
      text-decoration: none;
    }

    .invisible {
      visbility hidden
    }

    /* BOARD */
    #board {
      padding: 100px 30px 30px;
      margin-top: 40px;
      overflow-y: visible;
      @extend .noflick;
    }

    /* NOTE */
    .text p {
      font-family: Comic Sans, helvetica, arial, sans-serif;
    }

    .note {
      float: left;
      display: block;
      position: relative;
      padding: 1em;
      width: 300px;
      min-height: 300px;
      margin: 0 30px 30px 0;
      background: linear-gradient(top, rgba(0,0,0,.05), rgba(0,0,0,.25));
      background-color: #FFFD75;
      box-shadow: 5px 5px 10px -2px rgba(33,33,33,.3);
      transform: rotate(2deg);
      transform: skew(-1deg,1deg);
      transition: transform .15s;
      z-index: 1;

    }
    .note:hover {
      cursor: move;
    }


      textarea {
        background-color: transparent;
        border: none;
        resize: vertical;
        font-family: "Gloria Hallelujah", cursive;
        width: 100%;
        height: 100%;
        padding: 5px;
        font-size: 12pt;
    }

    textarea:focus {
          outline: none;
          border: none;
          box-shadow: 0 0 5px 1px rgba(0,0,0,.2) inset;
    }
  </style>
</head>
<body>
  <a href="javascript:;" class="button add_new">Add New Note</a>
  <div id="board">
    <div class="note draggable">
        <div class="text">
          <textarea class="cnt" placeholder="Enter note description here"></textarea>
      </div>
      </div>
  </div>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js"></script>
  <script type="text/javascript">
    $( function() {
      $( ".draggable" ).draggable();
      $(".add_new").click(function() {
         $sticky = $("<div class='note draggable'><div class='text'><textarea class='cnt' placeholder='Enter note description here'></textarea></div></div>");
        $("#board").append($sticky);
         $( ".draggable" ).draggable();
      });
    });
  </script>
</body>
</html>
Author

Admin

Follow Me
Other Articles
Previous

Federation of Computer Association host Round-Table Discussion on 2nd May

Next

Design a Beautiful Looking 3 Column Blog Page

No Comment! Be the first one.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How to Write a Strong Scholarship Application: The Ultimate Step-by-Step Guide
  • How to Prepare for Exams Without Stress: The Ultimate Science-Backed Guide
  • Chiranjibi Adhikari Appointed Acting President of CAN Federation
  • How to Design a Student Marksheet Using HTML and CSS
  • Real-time Speech to Text Typing Tool using JavaScript

Tags

adsense ai animate animation animation using HTML and CSS API blog calculator chatgpt Cryptocurrency CSS css animation design Email Facebook featured filemanager file manager free template google htaccess HTML image Instagram interview javascript JQuery jquery ui NADA AutoShow NADA Auto Show 2024 password PHP Progressive Web App PWA QR random react reactjs Rotate travel Twitter vpn youthforum youthsforum youtube

About Us

At Youths Forum, we are passionate about sharing knowledge that empowers students, educators, professionals, and technology enthusiasts.

Our Mission

Our mission is simple: to make technology and education accessible, understandable, and beneficial for everyone. We strive to create content that helps our readers learn new skills and stay updated with industry developments.

RSS RSS

  • How to Write a Strong Scholarship Application: The Ultimate Step-by-Step Guide Admin
  • How to Prepare for Exams Without Stress: The Ultimate Science-Backed Guide Admin
  • Chiranjibi Adhikari Appointed Acting President of CAN Federation Admin
  • How to Design a Student Marksheet Using HTML and CSS Admin

Quick Links

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Disclaimer
Copyright 2026 — Youths Forum. All rights reserved. Blogsy WordPress Theme