{"id":7663,"date":"2024-05-22T15:35:02","date_gmt":"2024-05-22T15:35:02","guid":{"rendered":"https:\/\/foolishdeveloper.com\/?p=7663"},"modified":"2024-05-22T15:35:10","modified_gmt":"2024-05-22T15:35:10","slug":"ticket-management-system-using-html-css-js","status":"publish","type":"post","link":"https:\/\/foolishdeveloper.com\/ticket-management-system-using-html-css-js\/","title":{"rendered":"Ticket Management System Using HTML, CSS and JavaScript"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"7663\" class=\"elementor elementor-7663\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-31ae670 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"31ae670\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-aa078f7\" data-id=\"aa078f7\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4e407eb elementor-widget elementor-widget-heading\" data-id=\"4e407eb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Introduction :<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3953959 elementor-widget elementor-widget-text-editor\" data-id=\"3953959\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The Ticket Management System is a web application designed to facilitate the booking and management of tickets. The system allows users to input their details to book a ticket and provides functionality to view and manage the booking history. The application is built using HTML for the structure, CSS for styling, and JavaScript for dynamic behavior and interactivity.<\/p><p>It is a comprehensive web-based application designed to streamline the process of booking and managing tickets. This system serves as a practical tool for users who need to manage reservations efficiently, providing a user-friendly interface for both booking new tickets and viewing booking history. The application leverages the latest web technologies, ensuring a seamless and interactive experience.<\/p><p>The system is built using HTML for structuring the web content, CSS for enhancing the visual presentation, and JavaScript for implementing the interactive functionalities. The combination of these technologies results in a robust and responsive application that meets the needs of modern web users.<\/p><p>The core functionality of the Ticket Management System includes a form for inputting ticket details such as name, seat number, travel date, departure location, and destination. Users can submit this form to book a ticket, which is then stored and displayed in a dynamic history section. This history section allows users to review their past bookings, providing a comprehensive overview of all ticket transactions.<\/p><p>Moreover, the system includes features for managing the ticket history, such as viewing and deleting records. The view history functionality is designed to toggle the display of the ticket history section, making it easy for users to switch between booking new tickets and reviewing past bookings. The delete functionality allows users to remove specific tickets from the history, ensuring that the system remains organized and up-to-date.<\/p><p>The user interface is carefully crafted to be intuitive and visually appealing. The use of modern CSS techniques ensures that the application looks good on a variety of devices and screen sizes, enhancing the overall user experience. The interactive elements, powered by JavaScript, provide a dynamic and responsive feel, making the application both functional and engaging.<\/p><p>In summary, the Ticket Management System is an efficient, user-friendly web application designed to facilitate the booking and management of tickets. It integrates the essential aspects of web development\u2014structure, style, and interactivity\u2014into a cohesive and effective solution for managing ticket reservations.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-220b62a elementor-widget elementor-widget-heading\" data-id=\"220b62a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Explanation :<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-48133ca elementor-widget elementor-widget-text-editor\" data-id=\"48133ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"flex flex-grow flex-col max-w-full\"><div class=\"min-h-[20px] text-message flex flex-col items-start whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 juice:w-full juice:items-end overflow-x-auto gap-2\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"415c96a4-0d6f-4104-92b8-ab924bd893a4\"><div class=\"flex w-full flex-col gap-1 juice:empty:hidden juice:first:pt-[3px]\"><div class=\"markdown prose w-full break-words dark:prose-invert dark\"><p>The Ticket Management System is a thoughtfully designed web application that facilitates the seamless booking and management of tickets. This system is a perfect example of how web technologies can be integrated to create a user-friendly and efficient solution for handling reservations. The application&#8217;s primary components\u2014HTML, CSS, and JavaScript\u2014work together to deliver a cohesive and responsive user experience.<\/p><h4>Structure and Layout<\/h4><p>The HTML (HyperText Markup Language) forms the backbone of the Ticket Management System. It provides the structural framework that organizes the content on the web page. The key elements of the HTML structure include a form for ticket booking and a table for displaying ticket history.<\/p><p>The form consists of input fields where users can enter their name, seat number, travel date, and the locations they are traveling from and to. This form is crucial for collecting the necessary information to book a ticket. The HTML structure ensures that all elements are logically organized and easily accessible, enhancing the overall usability of the application.<\/p><p>The ticket history section, also defined in HTML, includes a table that displays all previously booked tickets. Each ticket entry in the table includes essential details such as the ticket ID, name, seat number, date, and travel locations. This organized display allows users to quickly review their past bookings and manage them effectively.<\/p><h4>Styling and Presentation<\/h4><p>CSS (Cascading Style Sheets) is employed to style the HTML elements, making the application visually appealing and easy to navigate. The use of CSS ensures that the web page looks modern and professional. The background image and color scheme are chosen to provide a pleasant visual experience without distracting users from the primary functionality.<\/p><p>The form elements and buttons are styled to be uniform and aesthetically pleasing, ensuring a consistent look and feel throughout the application. Hover effects and transitions on buttons improve interactivity and provide visual feedback to users, enhancing their engagement with the application.<\/p><p>The ticket history section is styled to be clean and readable. The use of borders, padding, and background colors in the table ensures that each ticket entry is easily distinguishable, allowing users to quickly scan through their booking history.<\/p><h4>Interactivity and Functionality<\/h4><p>JavaScript adds the dynamic and interactive features that make the Ticket Management System functional and engaging. Upon submitting the booking form, JavaScript captures the input data, creates a ticket object, and stores it in an array. This process ensures that all ticket information is collected and managed efficiently.<\/p><p>JavaScript also handles the display of the ticket history. When users choose to view their booking history, the script dynamically updates the table with the stored ticket data. This real-time update capability ensures that users always have access to the most current information without needing to refresh the page.<\/p><p>Another critical function managed by JavaScript is the deletion of tickets. Each ticket entry in the history table includes a delete button. When clicked, JavaScript removes the corresponding ticket from the array and updates the display. This functionality ensures that users can manage their bookings effectively, keeping the history section organized and relevant.<\/p><h4>User Experience<\/h4><p>The combination of HTML, CSS, and JavaScript in the Ticket Management System is designed to create an intuitive and seamless user experience. The straightforward layout and clear form fields ensure that users can easily book tickets without confusion. The visual styling provided by CSS makes the application look professional and appealing, encouraging users to engage with the system.<\/p><p>The dynamic functionalities powered by JavaScript ensure that the application responds quickly to user actions, providing immediate feedback and a sense of control. Users can book tickets, view their history, and manage their bookings without encountering delays or complicated procedures.<\/p><p>The JavaScript code for the Ticket Management System is designed to handle the dynamic aspects of ticket booking and management, including form submission, data storage, and interaction with the ticket history.<\/p><h4>Initial Setup and Event Handling<\/h4><p>The script begins by ensuring that all code is executed only after the DOM is fully loaded. This is accomplished using the <code>DOMContentLoaded<\/code> event listener. This event listener guarantees that the JavaScript functions have access to all HTML elements, preventing errors caused by trying to manipulate elements that have not yet been created.<\/p><h4>Variable Initialization<\/h4><p>Several key variables are initialized to reference important elements in the HTML document:<\/p><ul><li><code>ticketForm<\/code>: This variable holds the form element where users input their ticket details.<\/li><li><code>ticketHistory<\/code>: This variable references the section of the document that displays the ticket history.<\/li><li><code>historyTableBody<\/code>: This variable points to the <code>tbody<\/code> element within the ticket history table, where ticket data will be dynamically inserted.<\/li><li><code>viewHistoryBtn<\/code>: This variable holds the button element that users click to toggle the visibility of the ticket history section.<\/li><li><code>tickets<\/code>: An array that stores ticket objects. Each object represents a booked ticket with details such as ID, name, seat number, date, departure location, and destination.<\/li><\/ul><h4>Form Submission Handling<\/h4><p>When the form is submitted, the JavaScript code captures the input data, prevents the default form submission behavior, and creates a new ticket object. The object includes a unique ID (generated using the current timestamp) and all the details provided by the user. This ticket object is then added to the <code>tickets<\/code> array.<\/p><h4>Displaying Tickets<\/h4><p>After a new ticket is added to the array, the <code>displayTickets<\/code> function is called. This function updates the ticket history table by clearing any existing rows and repopulating it with the current data from the <code>tickets<\/code> array. Each ticket is displayed in a new row within the table, and a delete button is added to each row to allow for ticket removal.<\/p><h4>Viewing and Hiding Ticket History<\/h4><p>The <code>viewHistoryBtn<\/code> button toggles the visibility of the ticket history section. When the button is clicked, the JavaScript code checks the current display state of the ticket history section and toggles it between &#8216;block&#8217; (visible) and &#8216;none&#8217; (hidden). This allows users to easily switch between viewing their ticket history and booking new tickets.<\/p><h4>Deleting Tickets<\/h4><p>Each row in the ticket history table includes a delete button. When a delete button is clicked, an event listener captures the event and identifies the corresponding ticket ID. The JavaScript code then filters the <code>tickets<\/code> array to remove the ticket with the matching ID and calls <code>displayTickets<\/code> again to refresh the table, removing the deleted ticket from the display.<\/p><\/div><\/div><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b3f9e9 elementor-widget elementor-widget-heading\" data-id=\"8b3f9e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">SOURCE CODE :<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-661d2bc elementor-widget elementor-widget-heading\" data-id=\"661d2bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">HTML (index.html)<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-260fb19 elementor-widget elementor-widget-code-highlight\" data-id=\"260fb19\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia  word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-html \">\n\t\t\t\t<code readonly=\"true\" class=\"language-html\">\n\t\t\t\t\t<xmp><!DOCTYPE html>\r\n<html lang=\"en\">\r\n\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n    <title>Ticket Management<\/title>\r\n    <link rel=\"stylesheet\" href=\"style.css\">\r\n<\/head>\r\n\r\n<body>\r\n    <div class=\"background-img\">\r\n        <div class=\"ticket-section\">\r\n            <form id=\"ticket-form\">\r\n                <h2>Ticket Management System<\/h2>\r\n                <input type=\"text\" id=\"name\" placeholder=\"Name\" required><br>\r\n                <input type=\"text\" id=\"seat\" placeholder=\"Seat No\" required><br>\r\n                <input type=\"date\" id=\"date\" required><br>\r\n                <input type=\"text\" id=\"from\" placeholder=\"From Location\" required><br>\r\n                <input type=\"text\" id=\"to\" placeholder=\"To Location\" required><br>\r\n                <input type=\"submit\" value=\"Book Ticket\">\r\n            <\/form>\r\n            <button id=\"view-history-btn\">View History<\/button>\r\n        <\/div>\r\n        <\/div>\r\n        <div id=\"ticket-history\" style=\"display: none;\">\r\n            <h3>Ticket History<\/h3>\r\n            <table id=\"history-table\">\r\n                <thead>\r\n                    <tr>\r\n                        <th>Ticket ID<\/th>\r\n                        <th>Name<\/th>\r\n                        <th>Seat No<\/th>\r\n                        <th>Date<\/th>\r\n                        <th>From Location<\/th>\r\n                        <th>To Location<\/th>\r\n                        <th>Action<\/th>\r\n                    <\/tr>\r\n                <\/thead>\r\n                <tbody id=\"history-table-body\">\r\n                    <!-- Ticket history rows will be dynamically added here -->\r\n                <\/tbody>\r\n            <\/table>\r\n        <\/div>\r\n    <script src=\"index.js\"><\/script>\r\n<\/body>\r\n\r\n<\/html><\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c6ff1ff elementor-widget elementor-widget-heading\" data-id=\"c6ff1ff\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">CSS (style.css)<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5533ff3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5533ff3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-48050c2\" data-id=\"48050c2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6e726b6 elementor-widget elementor-widget-code-highlight\" data-id=\"6e726b6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia  word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-css \">\n\t\t\t\t<code readonly=\"true\" class=\"language-css\">\n\t\t\t\t\t<xmp>body {\r\n    font-family: Arial, sans-serif;\r\n    background-color: #f1f1f1;\r\n    padding: 20px;\r\n    background-image: url('tkt.jpg');\r\n    background-size: cover;\r\n    background-position: center;\r\n    height: 100vh;\r\n}\r\n\r\n.background-img {\r\n    background-color: rgba(255, 255, 255, 0.8);\r\n    padding: 20px;\r\n    border-radius: 10px;\r\n    max-width: 400px;\r\n    margin: 50px auto;\r\n}\r\n\r\nh2 {\r\n    text-align: center;\r\n    color: #333;\r\n}\r\n\r\n.ticket-section {\r\n    max-width: 400px;\r\n    margin: 0 auto;\r\n}\r\n\r\ninput[type=\"text\"], input[type=\"date\"], input[type=\"submit\"] {\r\n    width: calc(100% - 20px);\r\n    padding: 10px;\r\n    margin: 10px 0;\r\n    border: 1px solid #ccc;\r\n    border-radius: 5px;\r\n}\r\n\r\ninput[type=\"submit\"] {\r\n    background-color: #4CAF50;\r\n    color: white;\r\n    border: none;\r\n    border-radius: 5px;\r\n    cursor: pointer;\r\n    transition: background-color 0.3s;\r\n}\r\n\r\ninput[type=\"submit\"]:hover {\r\n    background-color: #45a049;\r\n}\r\n\r\n#ticket-history {\r\n    margin-top: 20px;\r\n    background-color: #fff;\r\n    padding: 20px;\r\n    border-radius: 10px;\r\n    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\r\n    display: none;\r\n}\r\n#view-history-btn{\r\n    background-color:rgb(24, 24, 92);\r\n    color: white;\r\n    cursor: pointer;\r\n    transition: background-color 0.3s;\r\n    width: calc(100% - 20px);\r\n    padding: 10px;\r\n    margin: 10px 0;\r\n    border: 1px solid #ccc;\r\n    border-radius: 5px;\r\n\r\n}\r\n\r\n#history-table {\r\n    width: 100%;\r\n    border-collapse: collapse;\r\n}\r\n\r\n#history-table th, #history-table td {\r\n    padding: 8px;\r\n    border-bottom: 1px solid #ddd;\r\n}\r\n\r\n#history-table th {\r\n    background-color: #f2f2f2;\r\n    text-align: left;\r\n}\r\n\r\n#history-table td {\r\n    text-align: center;\r\n}\r\n\r\n.delete-btn {\r\n    background-color: #dc3545;\r\n    color: white;\r\n    border: none;\r\n    border-radius: 5px;\r\n    padding: 5px 10px;\r\n    cursor: pointer;\r\n}<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8e3079c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8e3079c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b70f316\" data-id=\"b70f316\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-abd3282 elementor-widget elementor-widget-heading\" data-id=\"abd3282\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">JavaScript (index.js)<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ec46e09 elementor-widget elementor-widget-code-highlight\" data-id=\"ec46e09\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia  word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>document.getElementById(\"ticket-form\").addEventListener(\"submit\", function(event) {\r\n    event.preventDefault();\r\n\r\n    \/\/ Gather user input\r\n    var name = document.getElementById(\"name\").value;\r\n    var seat = document.getElementById(\"seat\").value;\r\n    var date = document.getElementById(\"date\").value;\r\n    var from = document.getElementById(\"from\").value;\r\n    var to = document.getElementById(\"to\").value;\r\n\r\n    \/\/ Generate ticket ID (simple demonstration)\r\n    var ticketId = \"T\" + Math.floor(Math.random() * 10000);\r\n\r\n    \/\/ Add ticket details to history table\r\n    var tableBody = document.getElementById(\"history-table-body\");\r\n    var newRow = tableBody.insertRow();\r\n    newRow.innerHTML = \"<td>\" + ticketId + \"<\/td><td>\" + name + \"<\/td><td>\" + seat + \"<\/td><td>\" + date + \"<\/td><td>\" + from + \"<\/td><td>\" + to + \"<\/td><td>Booked<\/td><td><button class='delete-btn' data-ticket-id='\" + ticketId + \"'>Delete<\/button><\/td>\";\r\n\r\n    \/\/ Display alert for successful booking and generated ticket ID\r\n    alert(\"Ticket with ID \" + ticketId + \" has been booked successfully.\");\r\n    document.getElementById(\"ticket-form\").reset();\r\n});\r\n\r\ndocument.getElementById(\"view-history-btn\").addEventListener(\"click\", function() {\r\n    document.getElementById(\"ticket-history\").style.display = \"block\";\r\n});\r\n\r\ndocument.getElementById(\"ticket-history\").addEventListener(\"click\", function(event) {\r\n    if (event.target.classList.contains('delete-btn')) {\r\n        var ticketIdToDelete = event.target.getAttribute('data-ticket-id');\r\n        \/\/ Delete ticket logic (for demonstration, we'll remove the row from table)\r\n        event.target.closest('tr').remove();\r\n        alert(\"Ticket with ID \" + ticketIdToDelete + \" has been deleted.\");\r\n    }\r\n});<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8138ad1 elementor-widget elementor-widget-heading\" data-id=\"8138ad1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">OUTPUT :<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e1320e6 elementor-widget elementor-widget-image\" data-id=\"e1320e6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14-1024x495.png\" class=\"attachment-large size-large wp-image-7665\" alt=\"output\" srcset=\"https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14-1024x495.png 1024w, https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14-300x145.png 300w, https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14-768x371.png 768w, https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14-1536x742.png 1536w, https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14-150x73.png 150w, https:\/\/foolishdeveloper.com\/wp-content\/uploads\/2024\/05\/op-14.png 1893w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Introduction : The Ticket Management System is a web application designed to facilitate the booking and management of tickets. The system allows users to input their details to book a ticket and provides functionality to view and manage the booking history. The application is built using HTML for the structure, CSS for styling, and JavaScript [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":7666,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[41,1],"tags":[573],"class_list":["post-7663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript_app","category-uncategorized","tag-ticket-management-system","entry","has-media"],"_links":{"self":[{"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/posts\/7663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/comments?post=7663"}],"version-history":[{"count":17,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/posts\/7663\/revisions"}],"predecessor-version":[{"id":7681,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/posts\/7663\/revisions\/7681"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/media\/7666"}],"wp:attachment":[{"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/media?parent=7663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/categories?post=7663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foolishdeveloper.com\/wp-json\/wp\/v2\/tags?post=7663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}