Singly Linked List in C with Code and Explanation

Image
                        Singly LinkedList (SLL)   A Singly Linked List is a linear data structure where each element (called a node ) points to the next node in the sequence.  It is a dynamic structure , meaning it can grow or shrink in size during runtime .  Structure of a Node:  Each node contains: - Data : The value stored in the node. - Next : A pointer / reference to the next node in the list . There are Five operation in SLL: 1) Insert - Insert the element in our node like, insert(34);                                                                            insert(3);                                       ...

By using CSS make a card in easy way with the help of HTML

How to make card with the help of CSS and HTML.....

This code can help to make in a proper way of your card using CSS and HTML.


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
   <style>
    *{
        margin: 0;
        padding: 0;
       
    }
    .cards{
        display: flex;
        justify-content: center;
       flex-wrap: wrap;
       margin-top: 30px;
       row-gap: 30px;
       column-gap: 30px;
       
    }
    .list1{
        display: flex;
        background-color: red;
        border-radius: 10px;
        margin-right: 5px;
        height: 100px;
        border: 2px solid rgb(72, 72, 207);
       
       
       
    }
    .list1 b{
            color: rgb(18, 1, 1);
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            font-weight: bolder;
            margin: 40px;  
        }
        .list2{
        display: flex;
        background-color: red;
        border-radius: 10px;
        margin-right: 10px;
        height: 100px;
    }
    .list2 b{
            color: rgb(18, 1, 1);
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            font-weight: bolder;
            margin: 40px;  
        }
        .list3{
        display: flex;
        background-color: red;
        border-radius: 10px;
        margin-right: 10px;
        height: 100px;
    }
    .list3 b{
            color: rgb(18, 1, 1);
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            font-weight: bolder;
            margin: 40px;  
        }
        .list4{
        display: flex;
        background-color: red;
        border-radius: 10px;
        margin-right: 10px;
        height: 100px;
    }
    .list4 b{
            color: rgb(18, 1, 1);
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            font-weight: bolder;
            margin: 40px;  
        }
        .list5{
        display: flex;
        background-color: red;
        border-radius: 10px;
        margin-right: 10px;
        height: 100px;
    }
    .list5 b{
            color: rgb(18, 1, 1);
            font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
            font-weight: bolder;
            margin: 40px;  
        }
   </style>
</head>
<body>
    <div class="cards">

        <div class="list1">
           <b>free</b>
           <div class="centent">
           
           </div>
        </div>
        <div class="list2">
            <b>free</b>
         </div>
         <div class="list3">
            <b>free</b>
         </div>
         <div class="list4">
            <b>free</b>
         </div>
         <div class="list5">
            <b>free</b>
         </div>
       
    </div>
   
</body>
</html>

I hope this is helpful for you.

Comments

Popular posts from this blog

Selection sort (code & Algorithm)

Multiplication of two number by using C Programs

Addition of two Number using c language code