{"id":3431,"date":"2024-07-31T07:03:02","date_gmt":"2024-07-30T23:03:02","guid":{"rendered":"https:\/\/five.co\/?p=3431"},"modified":"2024-07-31T07:23:46","modified_gmt":"2024-07-30T23:23:46","slug":"build-a-web-app-with-javascript","status":"publish","type":"post","link":"https:\/\/preview-php85.dzine.org\/five\/blog\/build-a-web-app-with-javascript\/","title":{"rendered":"Build a Web App with JavaScript In 3 Steps"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to Build a Web App with JavaScript<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, we&#8217;ll walk through the process of creating a basic to-do list web application using HTML, CSS, and vanilla JavaScript. This project is perfect for beginners looking to understand the fundamentals of web development without the complexity of frameworks or libraries.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Project Overview<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Our to-do list app will allow users to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add new tasks<\/li>\n\n\n\n<li>View existing tasks<\/li>\n\n\n\n<li>Delete tasks<\/li>\n\n\n\n<li>Persist tasks between sessions using local storage<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<div class=\"root-eb-toc-7676y wp-block-essential-blocks-table-of-contents\"><div class=\"eb-parent-wrapper eb-parent-eb-toc-7676y \"><div class=\"eb-toc-container eb-toc-7676y  eb-toc-is-not-sticky eb-toc-not-collapsible eb-toc-initially-not-collapsed eb-toc-scrollToTop style-1 list-style-none\" data-scroll-top=\"false\" data-scroll-top-icon=\"fas fa-angle-up\" data-collapsible=\"false\" data-sticky-hide-mobile=\"false\" data-sticky=\"false\" data-scroll-target=\"scroll_to_toc\" data-copy-link=\"false\" data-editor-type=\"\" data-hide-desktop=\"false\" data-hide-tab=\"false\" data-hide-mobile=\"false\" data-itemcollapsed=\"false\" data-highlight-scroll=\"false\"><div class=\"eb-toc-header\"><h2 class=\"eb-toc-title\">Table of Contents<\/h2><\/div><div class=\"eb-toc-wrapper \" data-headers=\"[{&quot;level&quot;:2,&quot;content&quot;:&quot;How to Build a Web App with JavaScript&quot;,&quot;text&quot;:&quot;How to Build a Web App with JavaScript&quot;,&quot;link&quot;:&quot;how-to-build-a-web-app-with-javascript&quot;},{&quot;level&quot;:2,&quot;content&quot;:&quot;Project Overview&quot;,&quot;text&quot;:&quot;Project Overview&quot;,&quot;link&quot;:&quot;project-overview&quot;},{&quot;level&quot;:2,&quot;content&quot;:&quot;Step 1: Setting Up the HTML Structure&quot;,&quot;text&quot;:&quot;Step 1: Setting Up the HTML Structure&quot;,&quot;link&quot;:&quot;step-1-setting-up-the-html-structure&quot;},{&quot;level&quot;:1,&quot;content&quot;:&quot;To-Do List&quot;,&quot;text&quot;:&quot;To-Do List&quot;,&quot;link&quot;:&quot;to-do-list&quot;},{&quot;level&quot;:2,&quot;content&quot;:&quot;Step 2: Styling with CSS&quot;,&quot;text&quot;:&quot;Step 2: Styling with CSS&quot;,&quot;link&quot;:&quot;step-2-styling-with-css&quot;},{&quot;level&quot;:2,&quot;content&quot;:&quot;Step 3: Adding Functionality with JavaScript&quot;,&quot;text&quot;:&quot;Step 3: Adding Functionality with JavaScript&quot;,&quot;link&quot;:&quot;step-3-adding-functionality-with-javascript&quot;},{&quot;level&quot;:2,&quot;content&quot;:&quot;Key Concepts&quot;,&quot;text&quot;:&quot;Key Concepts&quot;,&quot;link&quot;:&quot;key-concepts&quot;},{&quot;level&quot;:3,&quot;content&quot;:&quot;How to Develop a Web App in Minutes&quot;,&quot;text&quot;:&quot;How to Develop a Web App in Minutes&quot;,&quot;link&quot;:&quot;how-to-develop-a-web-app-in-minutes&quot;},{&quot;level&quot;:4,&quot;content&quot;:&quot;1: Access Five&quot;,&quot;text&quot;:&quot;1: Access Five&quot;,&quot;link&quot;:&quot;1-access-five&quot;},{&quot;level&quot;:4,&quot;content&quot;:&quot;2: Start Developing&quot;,&quot;text&quot;:&quot;2: Start Developing&quot;,&quot;link&quot;:&quot;2-start-developing&quot;},{&quot;level&quot;:4,&quot;content&quot;:&quot;3: Where to Find Help&quot;,&quot;text&quot;:&quot;3: Where to Find Help&quot;,&quot;link&quot;:&quot;3-where-to-find-help&quot;},{&quot;level&quot;:2,&quot;content&quot;:&quot;30-Minute Code Along Tutorial: Develop a Full-Stack Web App&quot;,&quot;text&quot;:&quot;30-Minute Code Along Tutorial: Develop a Full-Stack Web App&quot;,&quot;link&quot;:&quot;30-minute-code-along-tutorial-develop-a-full-stack-web-app&quot;}]\" data-visible=\"[true,true,true,true,true,true]\" data-delete-headers=\"[{&quot;label&quot;:&quot;How to Build a Web App with JavaScript&quot;,&quot;value&quot;:&quot;how-to-build-a-web-app-with-javascript&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Project Overview&quot;,&quot;value&quot;:&quot;project-overview&quot;,&quot;isDelete&quot;:true},{&quot;label&quot;:&quot;Step 1: Setting Up the HTML Structure&quot;,&quot;value&quot;:&quot;step-1-setting-up-the-html-structure&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;To-Do List&quot;,&quot;value&quot;:&quot;to-do-list&quot;,&quot;isDelete&quot;:true},{&quot;label&quot;:&quot;Step 2: Styling with CSS&quot;,&quot;value&quot;:&quot;step-2-styling-with-css&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Step 3: Adding Functionality with JavaScript&quot;,&quot;value&quot;:&quot;step-3-adding-functionality-with-javascript&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;Key Concepts&quot;,&quot;value&quot;:&quot;key-concepts&quot;,&quot;isDelete&quot;:false},{&quot;label&quot;:&quot;How to Develop a Web App in Minutes&quot;,&quot;value&quot;:&quot;how-to-develop-a-web-app-in-minutes&quot;,&quot;isDelete&quot;:true},{&quot;label&quot;:&quot;1: Access Five&quot;,&quot;value&quot;:&quot;1-access-five&quot;,&quot;isDelete&quot;:true},{&quot;label&quot;:&quot;2: Start Developing&quot;,&quot;value&quot;:&quot;2-start-developing&quot;,&quot;isDelete&quot;:true},{&quot;label&quot;:&quot;3: Where to Find Help&quot;,&quot;value&quot;:&quot;3-where-to-find-help&quot;,&quot;isDelete&quot;:true},{&quot;label&quot;:&quot;30-Minute Code Along Tutorial: Develop a Full-Stack Web App&quot;,&quot;value&quot;:&quot;30-minute-code-along-tutorial-develop-a-full-stack-web-app&quot;,&quot;isDelete&quot;:true}]\" data-smooth=\"true\" data-top-offset=\"\"><div class=\"eb-toc__list-wrap\"><ul class=\"eb-toc__list\"><li><a href=\"#how-to-build-a-web-app-with-javascript\">How to Build a Web App with JavaScript<\/a><li><a href=\"#step-1-setting-up-the-html-structure\">Step 1: Setting Up the HTML Structure<\/a><li><a href=\"#step-2-styling-with-css\">Step 2: Styling with CSS<\/a><li><a href=\"#step-3-adding-functionality-with-javascript\">Step 3: Adding Functionality with JavaScript<\/a><li><a href=\"#key-concepts\">Key Concepts<\/a><\/ul><\/div><\/div><\/div><\/div><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Setting Up the HTML Structure<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;ll start by creating the HTML file that forms the backbone of our application. This file defines the structure of our web page.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#abb2bf;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282c34\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"<!DOCTYPE html&gt;\n<html lang=&quot;en&quot;&gt;\n<head&gt;\n    <meta charset=&quot;UTF-8&quot;&gt;\n    <meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\n    <title&gt;To-Do List App<\/title&gt;\n    <link rel=&quot;stylesheet&quot; href=&quot;styles.css&quot;&gt;\n<\/head&gt;\n<body&gt;\n    <div class=&quot;container&quot;&gt;\n        <h1&gt;To-Do List<\/h1&gt;\n        <form id=&quot;todo-form&quot;&gt;\n            <input type=&quot;text&quot; id=&quot;todo-input&quot; placeholder=&quot;Add a new task&quot; required&gt;\n            <button type=&quot;submit&quot;&gt;Add<\/button&gt;\n        <\/form&gt;\n        <ul id=&quot;todo-list&quot;&gt;<\/ul&gt;\n    <\/div&gt;\n    <script src=&quot;script.js&quot;&gt;<\/script&gt;\n<\/body&gt;\n<\/html&gt;\" style=\"color:#abb2bf;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki one-dark-pro\" style=\"background-color: #282c34\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ABB2BF\">&lt;!<\/span><span style=\"color: #E06C75\">DOCTYPE<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">html<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">&lt;<\/span><span style=\"color: #E06C75\">html<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">lang<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;en&quot;<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">&lt;<\/span><span style=\"color: #E06C75\">head<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;<\/span><span style=\"color: #E06C75\">meta<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">charset<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;UTF-8&quot;<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;<\/span><span style=\"color: #E06C75\">meta<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">name<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;viewport&quot;<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">content<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;width=device-width, initial-scale=1.0&quot;<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;<\/span><span style=\"color: #E06C75\">title<\/span><span style=\"color: #ABB2BF\">&gt;To-Do List App&lt;\/<\/span><span style=\"color: #E06C75\">title<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;<\/span><span style=\"color: #E06C75\">link<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">rel<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;stylesheet&quot;<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">href<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;styles.css&quot;<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">&lt;\/<\/span><span style=\"color: #E06C75\">head<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">&lt;<\/span><span style=\"color: #E06C75\">body<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;<\/span><span style=\"color: #E06C75\">div<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">class<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;container&quot;<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        &lt;<\/span><span style=\"color: #E06C75\">h1<\/span><span style=\"color: #ABB2BF\">&gt;To-Do List&lt;\/<\/span><span style=\"color: #E06C75\">h1<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        &lt;<\/span><span style=\"color: #E06C75\">form<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">id<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;todo-form&quot;<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            &lt;<\/span><span style=\"color: #E06C75\">input<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">type<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;text&quot;<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">id<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;todo-input&quot;<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">placeholder<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;Add a new task&quot;<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">required<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            &lt;<\/span><span style=\"color: #E06C75\">button<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">type<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;submit&quot;<\/span><span style=\"color: #ABB2BF\">&gt;Add&lt;\/<\/span><span style=\"color: #E06C75\">button<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        &lt;\/<\/span><span style=\"color: #E06C75\">form<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        &lt;<\/span><span style=\"color: #E06C75\">ul<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">id<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;todo-list&quot;<\/span><span style=\"color: #ABB2BF\">&gt;&lt;\/<\/span><span style=\"color: #E06C75\">ul<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;\/<\/span><span style=\"color: #E06C75\">div<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    &lt;<\/span><span style=\"color: #E06C75\">script<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">src<\/span><span style=\"color: #ABB2BF\">=<\/span><span style=\"color: #98C379\">&quot;script.js&quot;<\/span><span style=\"color: #ABB2BF\">&gt;&lt;\/<\/span><span style=\"color: #E06C75\">script<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">&lt;\/<\/span><span style=\"color: #E06C75\">body<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">&lt;\/<\/span><span style=\"color: #E06C75\">html<\/span><span style=\"color: #ABB2BF\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">This HTML creates a container with a heading, a form for adding new tasks, and an unordered list that will display our tasks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Styling with CSS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, we&#8217;ll add some CSS to make our app visually appealing and responsive.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#abb2bf;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282c34\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"body {\n    font-family: Arial, sans-serif;\n    line-height: 1.6;\n    margin: 0;\n    padding: 0;\n    background-color: #f4f4f4;\n}\n\n.container {\n    max-width: 500px;\n    margin: 30px auto;\n    padding: 20px;\n    background-color: #fff;\n    border-radius: 5px;\n    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n}\n\nh1 {\n    text-align: center;\n    color: #333;\n}\n\n#todo-form {\n    display: flex;\n    margin-bottom: 20px;\n}\n\n#todo-input {\n    flex-grow: 1;\n    padding: 10px;\n    font-size: 16px;\n    border: 1px solid #ddd;\n    border-radius: 4px 0 0 4px;\n}\n\nbutton {\n    padding: 10px 20px;\n    background-color: #4CAF50;\n    color: white;\n    border: none;\n    border-radius: 0 4px 4px 0;\n    cursor: pointer;\n    font-size: 16px;\n}\n\nbutton:hover {\n    background-color: #45a049;\n}\n\n#todo-list {\n    list-style-type: none;\n    padding: 0;\n}\n\n#todo-list li {\n    background-color: #f9f9f9;\n    padding: 10px;\n    margin-bottom: 10px;\n    border-radius: 4px;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n}\n\n.delete-btn {\n    background-color: #f44336;\n    color: white;\n    border: none;\n    padding: 5px 10px;\n    border-radius: 3px;\n    cursor: pointer;\n}\n\n.delete-btn:hover {\n    background-color: #d32f2f;\n}\" style=\"color:#abb2bf;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki one-dark-pro\" style=\"background-color: #282c34\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E06C75\">body<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    font-family: <\/span><span style=\"color: #D19A66\">Arial<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #D19A66\">sans-serif<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    line-height: <\/span><span style=\"color: #D19A66\">1.6<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    margin: <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#f4f4f4<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D19A66\">.container<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    max-width: <\/span><span style=\"color: #D19A66\">500<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    margin: <\/span><span style=\"color: #D19A66\">30<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">auto<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">20<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#fff<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border-radius: <\/span><span style=\"color: #D19A66\">5<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    box-shadow: <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">10<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">rgba<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #D19A66\">0.1<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #E06C75\">h1<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    text-align: <\/span><span style=\"color: #D19A66\">center<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    color: <\/span><span style=\"color: #D19A66\">#333<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #61AFEF\">#todo-form<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    display: <\/span><span style=\"color: #D19A66\">flex<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    margin-bottom: <\/span><span style=\"color: #D19A66\">20<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #61AFEF\">#todo-input<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    flex-grow: <\/span><span style=\"color: #D19A66\">1<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">10<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    font-size: <\/span><span style=\"color: #D19A66\">16<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border: <\/span><span style=\"color: #D19A66\">1<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">solid<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">#ddd<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border-radius: <\/span><span style=\"color: #D19A66\">4<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">4<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #E06C75\">button<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">10<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">20<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#4CAF50<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    color: <\/span><span style=\"color: #D19A66\">white<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border: <\/span><span style=\"color: #D19A66\">none<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border-radius: <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">4<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">4<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    cursor: <\/span><span style=\"color: #D19A66\">pointer<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    font-size: <\/span><span style=\"color: #D19A66\">16<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #E06C75\">button<\/span><span style=\"color: #56B6C2\">:hover<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#45a049<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #61AFEF\">#todo-list<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    list-style-type: <\/span><span style=\"color: #D19A66\">none<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">0<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #61AFEF\">#todo-list<\/span><span style=\"color: #C678DD\"> <\/span><span style=\"color: #E06C75\">li<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#f9f9f9<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">10<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    margin-bottom: <\/span><span style=\"color: #D19A66\">10<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border-radius: <\/span><span style=\"color: #D19A66\">4<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    display: <\/span><span style=\"color: #D19A66\">flex<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    justify-content: <\/span><span style=\"color: #D19A66\">space-between<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    align-items: <\/span><span style=\"color: #D19A66\">center<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D19A66\">.delete-btn<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#f44336<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    color: <\/span><span style=\"color: #D19A66\">white<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border: <\/span><span style=\"color: #D19A66\">none<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    padding: <\/span><span style=\"color: #D19A66\">5<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #D19A66\">10<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    border-radius: <\/span><span style=\"color: #D19A66\">3<\/span><span style=\"color: #E06C75\">px<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    cursor: <\/span><span style=\"color: #D19A66\">pointer<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D19A66\">.delete-btn<\/span><span style=\"color: #56B6C2\">:hover<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    background-color: <\/span><span style=\"color: #D19A66\">#d32f2f<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Our CSS file styles the container, form elements, and list items. It uses flexbox for layout and adds hover effects to buttons for better user interaction.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Today, building web apps is easier than ever, thanks to modern application builder platforms. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, many of these platforms lack flexibility, restricting your ability to add custom code like JavaScript or make unique modifications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s where Five stands out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Five is a rapid web application builder that allows you to go from prototype to deployment faster than ever before. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While using Five isn&#8217;t completely effortless, it significantly reduces the complexity compared to spending over 60 hours learning various coding frameworks and languages. With Five, you can create sophisticated web applications without the usual constraints of application builders.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With Five, you can<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u00a0<strong>Set up your database in minutes<\/strong>, and<br>2. Create a\u00a0<strong>login-protected, user-friendly interface<\/strong>\u00a0that works well on the web and on any device, such as desktop, tablet, or mobile.<br>3. Five also offers the flexibility to <strong>create custom logic with code (including <a href=\"https:\/\/preview-php85.dzine.org\/five\/blog\/javascript-typescript-functions-inside-five\/\">JavaScript<\/a>), <\/strong>generate\u00a0<a href=\"https:\/\/preview-php85.dzine.org\/five\/blog\/generate-mysql-pdf-report\/\">PDF documents<\/a>, and visualize your data through custom charts and dashboards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/preview-php85.dzine.org\/five\/get-started\/\">Get free access to Five here<\/a>\u00a0<strong>and<\/strong>\u00a0<strong>start building your web application.<\/strong><\/p>\n\n\n\n<div style=\"background-color: #001524;\"><hr style=\"height: 5px;\" \/>\n<pre style=\"text-align: center; overflow: hidden; white-space: pre-line;\"><span style=\"color: #f1ebda; background-color: #4588d8; font-size: calc(18px + 0.390625vw);\"><strong>Build a Web Application<\/strong><br \/><span style=\"font-size: 14pt;\">Rapidly build and deploy your application today<\/span><\/span><\/pre>\n<p style=\"text-align: center;\"><a href=\"https:\/\/preview-php85.dzine.org\/five\/get-started\" target=\"_blank\" rel=\"noopener\"><button style=\"background-color: #f8b92b; border: none; color: black; padding: 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 18px; cursor: pointer; margin: 4px 2px; border-radius: 5px;\"><strong>Get Instant Access<\/strong><\/button><br \/><\/a><\/p>\n<hr style=\"height: 5px;\" \/><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s add JavaScript to our existing todo list. <strong>Although keep in mind this process would be alot easier in Five.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Adding Functionality with JavaScript<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The JavaScript file is where we add interactivity to our app. Here&#8217;s a breakdown of its main functions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Event Listeners<\/strong>: We set up listeners for the form submission and the DOMContentLoaded event.<\/li>\n\n\n\n<li><strong>Task Management<\/strong>: Functions to add, display, and delete tasks.<\/li>\n\n\n\n<li><strong>Local Storage<\/strong>: Methods to save and load tasks using the browser&#8217;s local storage.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#abb2bf;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282c34\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"document.addEventListener('DOMContentLoaded', () =&gt; {\n    const form = document.getElementById('todo-form');\n    const input = document.getElementById('todo-input');\n    const todoList = document.getElementById('todo-list');\n    \n    \/\/ Load todos from localStorage\n    let todos = JSON.parse(localStorage.getItem('todos')) || [];\n    \n    const saveTodos = () =&gt; {\n        localStorage.setItem('todos', JSON.stringify(todos));\n    };\n    \n    const renderTodos = () =&gt; {\n        todoList.innerHTML = '';\n        todos.forEach((todo, index) =&gt; {\n            const li = document.createElement('li');\n            li.textContent = todo;\n            \n            const deleteBtn = document.createElement('button');\n            deleteBtn.textContent = 'Delete';\n            deleteBtn.classList.add('delete-btn');\n            deleteBtn.addEventListener('click', () =&gt; {\n                todos.splice(index, 1);\n                saveTodos();\n                renderTodos();\n            });\n            \n            li.appendChild(deleteBtn);\n            todoList.appendChild(li);\n        });\n    };\n    \n    form.addEventListener('submit', (e) =&gt; {\n        e.preventDefault();\n        const todo = input.value.trim();\n        if (todo) {\n            todos.push(todo);\n            saveTodos();\n            renderTodos();\n            input.value = '';\n        }\n    });\n    \n    renderTodos();\n});\" style=\"color:#abb2bf;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki one-dark-pro\" style=\"background-color: #282c34\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #E5C07B\">document<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">addEventListener<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;DOMContentLoaded&#39;<\/span><span style=\"color: #ABB2BF\">, () <\/span><span style=\"color: #C678DD\">=&gt;<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">form<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">document<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">getElementById<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;todo-form&#39;<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">input<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">document<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">getElementById<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;todo-input&#39;<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">todoList<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">document<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">getElementById<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;todo-list&#39;<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #7F848E; font-style: italic\">\/\/ Load todos from localStorage<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #C678DD\">let<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E06C75\">todos<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">JSON<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">parse<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #E5C07B\">localStorage<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">getItem<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;todos&#39;<\/span><span style=\"color: #ABB2BF\">)) <\/span><span style=\"color: #56B6C2\">||<\/span><span style=\"color: #ABB2BF\"> [];<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #61AFEF\">saveTodos<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> () <\/span><span style=\"color: #C678DD\">=&gt;<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        <\/span><span style=\"color: #E5C07B\">localStorage<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">setItem<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;todos&#39;<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #E5C07B\">JSON<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">stringify<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #E06C75\">todos<\/span><span style=\"color: #ABB2BF\">));<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    };<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #61AFEF\">renderTodos<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> () <\/span><span style=\"color: #C678DD\">=&gt;<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        <\/span><span style=\"color: #E5C07B\">todoList<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #E06C75\">innerHTML<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #98C379\">&#39;&#39;<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        <\/span><span style=\"color: #E5C07B\">todos<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">forEach<\/span><span style=\"color: #ABB2BF\">((<\/span><span style=\"color: #E06C75; font-style: italic\">todo<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #E06C75; font-style: italic\">index<\/span><span style=\"color: #ABB2BF\">) <\/span><span style=\"color: #C678DD\">=&gt;<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">li<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">document<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">createElement<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;li&#39;<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">li<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #E06C75\">textContent<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E06C75\">todo<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">deleteBtn<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">document<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">createElement<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;button&#39;<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">deleteBtn<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #E06C75\">textContent<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #98C379\">&#39;Delete&#39;<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">deleteBtn<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #E5C07B\">classList<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">add<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;delete-btn&#39;<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">deleteBtn<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">addEventListener<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;click&#39;<\/span><span style=\"color: #ABB2BF\">, () <\/span><span style=\"color: #C678DD\">=&gt;<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">                <\/span><span style=\"color: #E5C07B\">todos<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">splice<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #E06C75\">index<\/span><span style=\"color: #ABB2BF\">, <\/span><span style=\"color: #D19A66\">1<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">                <\/span><span style=\"color: #61AFEF\">saveTodos<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">                <\/span><span style=\"color: #61AFEF\">renderTodos<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            });<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">li<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">appendChild<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #E06C75\">deleteBtn<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">todoList<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">appendChild<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #E06C75\">li<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        });<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    };<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #E5C07B\">form<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">addEventListener<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #98C379\">&#39;submit&#39;<\/span><span style=\"color: #ABB2BF\">, (<\/span><span style=\"color: #E06C75; font-style: italic\">e<\/span><span style=\"color: #ABB2BF\">) <\/span><span style=\"color: #C678DD\">=&gt;<\/span><span style=\"color: #ABB2BF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        <\/span><span style=\"color: #E5C07B\">e<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">preventDefault<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        <\/span><span style=\"color: #C678DD\">const<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">todo<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #E5C07B\">input<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #E5C07B\">value<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">trim<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        <\/span><span style=\"color: #C678DD\">if<\/span><span style=\"color: #ABB2BF\"> (<\/span><span style=\"color: #E06C75\">todo<\/span><span style=\"color: #ABB2BF\">) {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">todos<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #61AFEF\">push<\/span><span style=\"color: #ABB2BF\">(<\/span><span style=\"color: #E06C75\">todo<\/span><span style=\"color: #ABB2BF\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #61AFEF\">saveTodos<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #61AFEF\">renderTodos<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">            <\/span><span style=\"color: #E5C07B\">input<\/span><span style=\"color: #ABB2BF\">.<\/span><span style=\"color: #E06C75\">value<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #56B6C2\">=<\/span><span style=\"color: #ABB2BF\"> <\/span><span style=\"color: #98C379\">&#39;&#39;<\/span><span style=\"color: #ABB2BF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">        }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    });<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">    <\/span><span style=\"color: #61AFEF\">renderTodos<\/span><span style=\"color: #ABB2BF\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ABB2BF\">});<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Key Concepts<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>DOM Manipulation<\/strong>: We use methods like <code>getElementById()<\/code> and <code>createElement()<\/code> to interact with the HTML elements.<\/li>\n\n\n\n<li><strong>Event Handling<\/strong>: The app responds to user actions like form submissions and button clicks.<\/li>\n\n\n\n<li><strong>Local Storage<\/strong>: We use <code>localStorage<\/code> to persist data in the browser, allowing tasks to be saved between sessions.<\/li>\n\n\n\n<li><strong>Array Methods<\/strong>: We use array methods like <code>push()<\/code> and <code>splice()<\/code> to manage our list of tasks.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Building this to-do list app provides a solid foundation in web development basics. It demonstrates how HTML, CSS, and JavaScript work together to create interactive web applications. From here, you can expand the app with features like task editing, due dates, or even connecting it to a backend server for multi-device synchronization.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">How to Develop a Web App in Minutes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s explain how to build a web app in minutes. As explained there&#8217;s a simpler way. With Five, an intuitive application builder, you can replace traditional, coder-heavy database administration tools with a user-friendly interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Five allows users to create databases from scratch and offers a range of application development features, including form creation, chart generation, and report building. Essentially, Five serves as a comprehensive web-based development environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re new to Five, it might seem a bit overwhelming at first. Let&#8217;s break down the core concepts to make your first experience successful and enjoyable!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">1: Access Five<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">First, sign up for free access to Five and start building web apps directly in your browser. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img width=\"1024\" height=\"649\" src=\"https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Landing-Page-1024x649-4.png\" alt=\"Build a JavaScript Web App Faster\" class=\"wp-image-3435\" srcset=\"https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Landing-Page-1024x649-4.png 1024w, https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Landing-Page-1024x649-4-300x190.png 300w, https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Landing-Page-1024x649-4-768x487.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">2: Start Developing<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">With Five up and running, you\u2019re ready to dive into your first app development project! The best place to start is by following our YouTube tutorial on developing a membership application. This seven-step guide will walk you through building an app with Five, from database modeling to previewing your finished application locally.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Creating A Membership App | Step 1: Database Tables | Five.Co\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/jcRAhyw9rmI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1 of the tutorial explains how to create a database table in Five. If your main goal is developing a web app, this four-and-a-half-minute video is highly recommended.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The video also demonstrates how to assign different SQL data types to your table fields and visually inspect your database schema using Five\u2019s database modeler. Additionally, it covers how Five automatically adds primary keys to all your tables.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">3: Where to Find Help<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Every new tool has a learning curve, and Five is no different. For those familiar with SQL, Five is intuitive, relying heavily on standard SQL concepts like relationships, primary and foreign keys, data views, and queries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For newcomers to relational databases or those creating their first database, the learning curve might be steeper. Where can you find help if you get stuck?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In addition to our <a href=\"https:\/\/five.org\/\" rel=\"nofollow noopener\" target=\"_blank\">user community <\/a>and YouTube channel, Five offers extensive in-product help. To access help and documentation, click the Help icon in the top right corner. While it might not answer every question, the help is comprehensive and covers many commonly asked questions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moreover, many of Five\u2019s fields have help text accessible by hovering over the field and clicking &#8220;View help.&#8221; Check out the image below to see where the Help buttons are located in Five.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img width=\"1024\" height=\"372\" src=\"https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Finding-Help-1024x372-1.png\" alt=\"\" class=\"wp-image-3436\" srcset=\"https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Finding-Help-1024x372-1.png 1024w, https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Finding-Help-1024x372-1-300x109.png 300w, https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Finding-Help-1024x372-1-768x279.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">30-Minute Code Along Tutorial: Develop a Full-Stack Web App<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/preview-php85.dzine.org\/five\/code-along\/code-along-full-stack-web-app\/\">Follow our free step-by-step web app development guide\u00a0<\/a><\/strong>and develop a full-stack web app in just 30 minutes with a fully responsive web UI and MySQL database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Build a Web App with JavaScript In this tutorial, we&#8217;ll walk through the process of creating a basic to-do list web application using HTML, CSS, and vanilla JavaScript. This project is perfect for beginners looking to understand the fundamentals of web development without the complexity of frameworks or libraries. Project Overview Our to-do [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":3434,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","_uag_custom_page_level_css":"","footnotes":""},"categories":[21],"tags":[],"class_list":["post-3431","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"uagb_featured_image_src":{"full":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps.png",1280,720,false],"thumbnail":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps-150x150.png",150,150,true],"medium":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps-300x169.png",300,169,true],"medium_large":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps-768x432.png",768,432,true],"large":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps-1024x576.png",1024,576,true],"1536x1536":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps.png",1280,720,false],"2048x2048":["https:\/\/preview-php85.dzine.org\/five\/wp-content\/uploads\/2024\/07\/Five.Co-Build-a-Web-App-with-JavaScript-In-3-Steps.png",1280,720,false]},"uagb_author_info":{"display_name":"Ryan Forrester","author_link":"https:\/\/preview-php85.dzine.org\/five\/author\/f1v5_ed9_au\/"},"uagb_comment_info":0,"uagb_excerpt":"How to Build a Web App with JavaScript In this tutorial, we&#8217;ll walk through the process of creating a basic to-do list web application using HTML, CSS, and vanilla JavaScript. This project is perfect for beginners looking to understand the fundamentals of web development without the complexity of frameworks or libraries. Project Overview Our to-do&hellip;","_links":{"self":[{"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/posts\/3431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/comments?post=3431"}],"version-history":[{"count":1,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/posts\/3431\/revisions"}],"predecessor-version":[{"id":17964,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/posts\/3431\/revisions\/17964"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/media\/3434"}],"wp:attachment":[{"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/media?parent=3431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/categories?post=3431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/preview-php85.dzine.org\/five\/wp-json\/wp\/v2\/tags?post=3431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}