Makitweb Posts

In this tutorial, creating the accordion using HTML, CSS, and jQuery.

The accordion is a vertically stacked list of items. Each item can be “expanded” or “collapsed” to reveal the content associated with that item. There can be zero expanded items, exactly one, or more than one item expanded at a time, depending on the configuration.

Accordions are popular because they allow developers to force large amounts of content into tiny spaces on the page.

How to make Accordion with HTML, CSS and jQuery

JQuery

Javascript

When we adding Javascript code to HTML page then it must be in between <script> and </script> tags. We can place Javascript in <body> and <head> section of an HTML…

Javascript

A comment is a part of the program which doesn’t execute when running the program.

Its only purpose is to be read by someone who is editing the code.

In JavaScript, there are two types of comments –

  • Single line, and
  • Multiple lines

How to add comment in JavaScript

Javascript

All programming language have decision-making statements which allow us to control the flow of the program.

You can define what code to be executed when the condition is TRUE and when it’s FALSE.

PHP decision making and switch statements

PHP

Form handling is one of the common tasks when creating the project in PHP. There are various methods are available for this and they are good according to the situation.

You can either pass the form data by URL and hidden them from the user.

Form handling with GET, POST, and REQUEST in PHP

PHP

The PHP script is used to make a website dynamic.

The code is written within the defined PHP tags otherwise it would not execute.

With tags, you can display the final output after data manipulation e.g. listing fetch records from MySQL database in the <table>, display value in HTML element, upload image, etc.

Embed PHP script in the Webpage

PHP