Page 302 - Web Applications (803) Class 12
P. 302

nameElement.textContent = editName.value;
                      ageElement.textContent = editAge.value;

                      locationElement.textContent = editLocation.value;
                      // Hide the form and show the profile
                      editSection.classList.add(‘hidden’);

                      nameElement.classList.remove(‘hidden’);
                      ageElement.classList.remove(‘hidden’);
                      locationElement.classList.remove(‘hidden’);

                  });
              PROJECT 4


              A simple blog page using HTML and CSS.
























              File1: Index.html

                   <html>
                  <head>
                      <title>My Blog</title>

                      <link rel=”stylesheet” href=”styles.css”>
                  </head>
                  <body>

                      <header>
                          <h1>My Blog</h1>
                      </header>
                      <main>

                          <article class=”blog-post”>
                              <h2>Indian Tea</h2>
                               <p class=”post-meta”>Posted by Meenu Kumar on October 22, 2023</
                                   p>




                300   Touchpad Web Applications-XII
   297   298   299   300   301   302   303   304   305   306   307