CodeWithHarry / Sigma-Web-Dev-Course

Source Code for Sigma Web Development Course
6.27k stars 1.93k forks source link

Two Topics Left to cover in HTML Part video #13 #183

Open hassancoder1 opened 5 months ago

hassancoder1 commented 5 months ago

I want to propose adding two additional topics to the HTML section of the course materials:

Accordions: Accordions provide a user-friendly way to display collapsible content sections. They're ideal for organizing and revealing information upon user interaction. Here's an example of a functional accordion using the

element:

`

Title

Here is the content that is open by default!

Section title

Here is the content!

` In this code, the open attribute ensures the first accordion panel is expanded on page load.

PopOvers: PopOvers offer a convenient way to display contextual information upon clicking a button or element. Here's a basic example using a non-standard HTML attribute (popover):

`

Hello

` Note: While popover is not a standard HTML attribute, some JavaScript libraries may provide similar functionality.

Actually I was busy in my studies at the launch of this course so, consider my contribution