تسليم حلول: مهمة تمميز الرابط الفّعال

هنا

<li><a href="index.html" class active>home</a></li>
1 Like

صحيح

1 Like
<!DOCTYPE html>
<html>
<head><link rel="stylesheet" href="style.css">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>STORE</title>
    <link href="https://fonts.googleapis.com/css?family=Domine|Questrial" rel="stylesheet">
    
    </head>
<body>
    <header>
        <h1>
            <a href="index.html">STORE</a>
        </h1>
        <navbar>
            <ul class="navbar">
               <li><a href="#" class="active">home</a></li>
               <li><a href="#">feature</a></li>
               <li><a href="#">woman</a></li>
               <li><a href="#">men</a></li>
               <li><a href="#">kids</a></li>
               <li><a href="products.html" >more</a></li>

            </ul>
        </navbar>
    </header>
    <main>
        <h2>Featured Products</h2>
        <p>Refresh your look with pieces of our collection</p>
        <div>
            <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
            <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img2.jpg">
            <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img3.jpg">
            <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
            <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
            <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
        </div>
        <a href="products.html">More Products</a>
    </main>
    <footer>
        <p>&copy; 2018 All Rights Reserved</p>
    </footer>
</body>
</html>
    

body{
margin: 0;
font-family: ‘Questrial’, sans-serif;
}
header{
height: 80px;
}
header h1{
text-align: center;
font-family: ‘Domine’, serif;
font-size: 24px;
letter-spacing: 6px;
line-height: 80px;
margin: 0;
}
header h1 a{
color: #222;
text-decoration: none;
}
main {
max-width: 960px;
text-align: center;
margin: 90px auto 90px auto;
}
main h2{
font-size: 30px;
font-weight: normal;
margin: 0;
}
main p{
color: #999;
font-size: 18px;
}
main div{
margin: 60px 0 60px 0;
}
main img{
margin: 10px;
width: 290px;
height: 335px;
box-sizing: border-box;
transition-duration: .4s;
}
main img:hover{
padding: 20px;
background-color: #ddd;
}
main a{
width: 160px;
height: 45px;
display: block;
margin: 0 auto 0 auto;
line-height: 45px;
text-decoration: none;
font-size: 18px;
border: 2px solid #ccc;
color: #666;
transition-duration: .4s;
}
main a:hover{
background-color: #222;
color: #fff;
border-color: #222;
}
footer{
background-color: #222;
height: 50px;
color: #999;
text-align: center;
line-height: 50px;
}
.navbar{
text-align: center;
border-bottom: 1px dotted #ccc;
border-top: 1px dotted #ccc;

}
.navbar li{
display: inline-block;
list-style: none;
margin:0;
padding:0;
}
.navbar a{
display: block;
padding: 0 20px;
text-decoration: none;
text-transform: capitalize;
font-size: 18px;
line-height: 50px;
transition-duration: 0.4s;
color: #999;

}
.navbar a:hover , .active{
    background-color: aqua;
}
<!DOCTYPE html>
    <html>
    <head><link rel="stylesheet" href="style.css">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>STORE</title>
        <link href="https://fonts.googleapis.com/css?family=Domine|Questrial" rel="stylesheet">
        
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html" >STORE</a>
            </h1>
            <navbar>
                <ul class="navbar">
                   <li><a href="index.html" >home</a></li>
                   <li><a href="#">feature</a></li>
                   <li><a href="#">woman</a></li>
                   <li><a href="#">men</a></li>
                   <li><a href="#">kids</a></li>
                   <li><a href="#" class="active">more</a></li>

                </ul>
            </navbar>
        </header>
        <main>
            <div>
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img2.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img3.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
            </div>
        </main>
        <footer>
            <p>&copy; 2018 All Rights Reserved</p>
        </footer>
    </body>
    </html>

1 Like

Html file: index

<!DOCTYPE html>
<html>
    <head><link rel="stylesheet" href="normalize.css">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>STORE</title>
        <link href="https://fonts.googleapis.com/css?family=Domine|Questrial" rel="stylesheet">
        <link href="css/style.css" rel="stylesheet">
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html">STORE</a>
            </h1>
            <nav> <!--  (Nav Bar Lists): -->
                <ul class="navbar">
                    <li><a href="index.html" >Home</a> </li>
                    <li><a href="#">featured </a> </li>
                    <li><a href="#">women</a> </li>
                    <li><a href="#">men</a> </li>
                    <li><a href="#">kids</a> </li>
                    <li><a href="products.html" class="active">more</a> </li>
                </ul>
             </nav>
        </header>
        <main>
            <div>
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img2.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img3.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
            </div>
        </main>
        <footer>
            <p>&copy; 2018 All Rights Reserved</p>
        </footer>
    </body>
</html>

CSS file

body{
    margin: 0;
    font-family: 'Questrial', sans-serif;
}
header{
    height: 80px;
    border-bottom: 1px dotted #ccc;
}
header h1{
    text-align: center;
    font-family: 'Domine', serif;
    font-size: 24px;
    letter-spacing: 6px;
    line-height: 80px;
    margin: 0;
}
header h1 a{
    color: #222;
    text-decoration: none;
}
main {
    max-width: 960px;
    text-align: center;
    margin: 90px auto 90px auto;
}
main h2{
    font-size: 30px;
    font-weight: normal;
    margin: 0;
}
main p{
    color: #999;
    font-size: 18px;
}
main div{
    margin: 60px 0 60px 0;
}
main img{
    margin: 10px;
    width: 290px;
    height: 335px;
    box-sizing: border-box;
    transition-duration: .4s;
}
main img:hover{
    padding: 20px;
    background-color: #ddd;
}
main a{
    width: 160px;
    height: 45px;
    display: block;
    margin: 0 auto 0 auto;
    line-height: 45px;
    text-decoration: none;
    font-size: 18px;
    border: 2px solid #ccc;
    color: #666;
    transition-duration: .4s;
}
main a:hover{
    background-color: #222;
    color: #fff;
    border-color: #222;
}
footer{
    background-color: #222;
    height: 50px;
    color: #999;
    text-align: center;
    line-height: 50px;
} 
.navbar{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #23475f;
    text-align: center;
    border: 1px dotted #ccc;
}
.navbar li{
    display: inline-block;
}
.navbar a{
    display: block;
    padding: 0 20px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 18px;
    color: #fff;
    line-height: 50px;
    transition-duration: .3s;
}
.navbar a:hover{
    background-color: #ccc;
    color: brown;
}
.active{
    border-bottom: 2px solid yellow;
}
1 Like

ممتاز :+1:

أريد منك أن تجرب تغيير لون الخط للعنصر الذي يحمل الكلاس active بالخاصية color وقول لي ملاحظاتك، هل يتم تطبيق التغييرات ام لا

1 Like

HTML

<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="normalize.css">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>STORE</title>
        <link href="https://fonts.googleapis.com/css?family=Domine|Questrial" rel="stylesheet">
        <link rel="stylesheet" href="css/style.css">
    </head>
    <body>
            <header>
                    <h1>
                        <a href="index.html">STORE</a>
                    </h1>
                </header>
        <nav>
         <UL class="navbar">
        <li><a href="index.html"
        class="active">home</a></li>
        <li><a href="#">featured</a></li>
        <li><a href="#">women</a></li>
        <li><a href="#">men</a></li>
        <li><a href="#">kids</a></li>
        <li><a href="#">more</a></li>
  
         </UL>
        </nav>
       
        <main>
            <h2>Featured Products</h2>
            <p>Refresh your look with pieces of our collection</p>
            <div>
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img2.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img3.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
            </div>
            <a href="products.html">More Products</a>
        </main>
        <footer>
            <p>&copy; 2018 All Rights Reserved</p>
        </footer>
    </body>
</html>
1 Like

css


           body{
                margin: 0;
                font-family: 'Questrial', sans-serif;
            }
            header{
                height: 80px;
                border-bottom: 1px dotted #ccc;
            }
            header h1{
                text-align: center;
                font-family: 'Domine', serif;
                font-size: 24px;
                letter-spacing: 6px;
                line-height: 80px;
                margin: 0;
            }
            header h1 a{
                color: #222;
                text-decoration: none;
            }
            .active {
                color: #fff;
                background-color: #222;
            }
            .navbar {
                list-style: none;
                margin: 0;
                padding: 0;
                border-bottom: 1px dotted #ccc;
                text-align: center;
            } 
            .navbar li {
                display: inline-block;
                line-height: 50px;
                
            }   
            .navbar a {
                text-decoration: none;
                display: block;
                padding:10px 20px;
                color: #999;
                transition-duration: .2s;
            }
            .navbar a:hover {
                background-color:#222;
                color: #fff;
            }
            main {
                max-width: 960px;
                text-align: center;
                margin: 90px auto 90px auto;
            }
            main h2{
                font-size: 30px;
                font-weight: normal;
                margin: 0;
            }
            main p{
                color: #999;
                font-size: 18px;
            }
            main div{
                margin: 60px 0 60px 0;
            }
            main img{
                margin: 10px;
                width: 290px;
                height: 335px;
                box-sizing: border-box;
                transition-duration: .4s;
            }
            main img:hover{
                padding: 20px;
                background-color: #ddd;
            }
            main a{
                width: 160px;
                height: 45px;
                display: block;
                margin: 0 auto 0 auto;
                line-height: 45px;
                text-decoration: none;
                font-size: 18px;
                border: 2px solid #ccc;
                color: #666;
                transition-duration: .4s;
            }
            main a:hover{
                background-color: #222;
                color: #fff;
                border-color: #222;
            }
            footer{
                background-color: #222;
                height: 50px;
                color: #999;
                text-align: center;
                line-height: 50px;
            }
1 Like

أحسنت ي نجم كل شئ ممتاز.

هل لاحظت انه لم يتم تطبيق اللون الأبيض الذي قمت بإسنادة للخط في الكلاس active؟

1 Like

كود ال html

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>STORE</title>
        <link rel="stylesheet" href="css/style.css">
        
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html">STORE</a>
            </h1>
            <nav>
            <ul class="navbar">
                <li><a href="index.html" class="active">home</a></li>
                <li><a href="featured.html">featured</a></li>
                <li><a href="woman.html">woman</a></li>
                <li><a href="men.html">men</a></li>
                <li><a href="kids.html">kids</a></li>
                <li><a href="products.html">more</a></li>
            </ul>
            </nav>   
        </header>
        <main>
            <h2>Featured Products</h2>
            <p>Refresh your look with pieces of our collection</p>
            <div>
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img2.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img3.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
            </div>
            <a href="products.html">More Products</a>
        </main>
        <footer>
            <p>&copy; 2018 All Rights Reserved</p>
        </footer>
    </body>
</html>

كود ال css

body{
    margin: 0;
    font-family: 'Questrial', sans-serif;
}
header{
    height: 80px;
    border-bottom: 1px dotted #ccc;
}
header h1{
    text-align: center;
    font-family: 'Domine', serif;
    font-size: 24px;
    letter-spacing: 6px;
    line-height: 80px;
    margin: 0;
}
header h1 a{
    color: #222;
    text-decoration: none;
}
.navbar{
    list-style: none;
    margin: 0;
    padding: 0;
    height: 50px;
    text-align: center;
    border-bottom: 1px dotted #ccc;
}
.navbar li{
    display: inline-block;
}
.navbar a{
    text-decoration: none;
    display: block;
    padding: 0 20px;
    text-transform: capitalize;
    color: #999;
    line-height: 50px;
    transition-duration: .4s;
}
.navbar a:hover, 
.active{
    background-color: lightskyblue;
    color:black !important;
}
main {
    max-width: 960px;
    text-align: center;
    margin: 90px auto 90px auto;
}
main h2{
    font-size: 30px;
    font-weight: normal;
    margin: 0;
}
main p{
    color: #999;
    font-size: 18px;
}
main div{
    margin: 60px 0 60px 0;
}
main img{
    margin: 10px;
    width: 290px;
    height: 335px;
    box-sizing: border-box;
    transition-duration: .4s;
}
main img:hover{
    padding: 20px;
    background-color: #ddd;
}
main a{
    width: 160px;
    height: 45px;
    display: block;
    margin: 0 auto 0 auto;
    line-height: 45px;
    text-decoration: none;
    font-size: 18px;
    border: 2px solid #ccc;
    color: #666;
    transition-duration: .4s;
}
main a:hover{
    background-color: #222;
    color: #fff;
    border-color: #222;
}
footer{
    background-color: #222;
    height: 50px;
    color: #999;
    text-align: center;
    line-height: 50px;
}        

1 Like

استاذ/ محمد شكرا جدا على الكورس المتميز وعلى مجهودك معانا… منتظرين كورسات جديده :slight_smile:

2 Likes

شكرا انا تاني كان عندي مشكل احتساب ال Box-sizen

1 Like
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="https://fonts.googleapis.com/css?family=Domine|Questrial" rel="stylesheet">
        <link rel="stylesheet" type="text/css" href="style.css">
        <title>STORE</title>
    </head>
    <body>
        <header>
                <h1><a href="index.html">STORE</a></h1>
        </header>
        <nav>
            <ul class="navbar">

                <li><a href="index.html" class="active">home</a></li>
                <li><a href="#">featured</a></li>
                <li><a href="#">women</a></li>
                <li><a href="#">men</a></li>
                <li><a href="#">kids</a></li>
                <li><a href="#">more</a></li>
                <li><a href="news.html ">News</a></li>
            </ul>
        </nav>

        <section>
            <h1>Home Page</h1>
            <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Architecto eius repellendus consequuntur dicta numquam reprehenderit ad!
            </p>
        </section>
        <main>
            <h2>Featured Products</h2>
            <p>Refresh your look with pieces of our collection</p>
            <div>
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img2.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img3.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
                <img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
            </div>
            <a href="Product.html">More Products</a>
        </main>
        <footer>
            <p>&copy; 2018 All Rights Reserved</p>
        </footer>
    </body>
</html>
            body{
                margin: 0;
                font-family: 'Questrial', sans-serif;
             

            }
            header{
                height: 80px;
                border-bottom: 1px dotted #ccc;
            }
            header h1{
                text-align: center;
                font-family: 'Domine', serif;
                font-size: 24px;
                letter-spacing: 6px;
                line-height: 80px;
                margin: 0;

            }
            header h1 a{
                color: #222;
                text-decoration: none;
            }
            .navbar{
                list-style-type: none;
                margin: 0;
                padding: 0;
                background-color: #f5f6fa;
                text-align: center;
                border-bottom: 1px dotted #ccc;
                border-top:1px dotted #ccc; 
                height: 50px;
            }
            .navbar li{
                display: inline-block;
            }
            .navbar a{
                display: block;
                text-decoration: none;
                margin: 0 20px;
                font-size: 18px;
                line-height: 50px;
                color: #000;
                font-family: 'Domine', serif;
                transition-duration: .4s;
            }
            .navbar a:hover{
               /* padding: 0 20px;*/
               border-bottom: 1px solid #000;
                color: rgb(52, 143, 75);
                /*background-color: rgba(19, 18, 18, 0.849);*/
            }
            .active{
                background-color: aqua;
                padding: 0 10px;
            }
            section{
                text-align: center;
                margin-top: 80px;
            }
            section p{
                max-width: 700px;
                margin: 0 auto;
                font-size: 18px;
            }
            main {
                max-width: 960px;
                margin: 90px auto;
                text-align: center;
            }
            main h2{
                font-size: 30px;
                font-weight: normal;
                margin: 0;
            }
            main p{
                color: #999;
                font-size: 18px;
            }    
            main div {
                margin:60px 0 60px 0;
             
                
            }  
            main img{
                margin: 10px;
                width: 290px;
                height: 335px;
                 transition-duration:  .3s;
                 box-sizing: border-box;
            }
            main img:hover{
                padding: 20px;
                box-sizing: border-box;
                background-color: #ddd;
            }
            main a{
                
                width: 160px;
                height: 45px;
                display: block;
                line-height: 45px;
                margin-left: auto;
                margin-right: auto; 
                text-decoration: none;
                font-size: 18px;
                border: 1px solid #CCC;    
                color: #666; 
                transition-duration: .4s; 
                }
                main a:hover{
                    background-color: #222;
                    color:#fff;
                    border-color: #222;
                }
            footer{
                width: 100%;
                height: 50px;
                background-color: #222;
                color: #999;
                font-size: 15px;
                line-height: 50px;
                text-align: center;
            }

صفحة ال home

<!DOCTYPE html>
<html>
    <head>
        <meta charset="Unf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title> STORE </title>
</head>
<link rel="stylesheet" href="css/style.css">
<body>
<header>
<h1>STORE</h1>

</header>
<main>
<nav>
<ul class="navbar">
   <li><a href="home.html" class="active">home</a></li>
    <li><a class="m" href="featured.html">featured</a></li>
    <li><a href="#">women</a></li>
    <li><a href="#">men</a></li>
    <li><a  href="kids.html">kids</a></li>
    <li><a href="#">more</a></li>
</ul>

</nav>
<h1>featured product</h1>
<p>Refresh your look with pieces of our winter collection</p>
<div>
<img src ="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img7.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img8.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img9.jpg">
</div>
<a class="moreproduct" href="اطلب وصاتك.html">For more prodeucts</a>
</main>
<footer>
    <p>copyright @ by taha al sholilie </p>
</footer>
</body>



</html>

صفحة featured

<!DOCTYPE html>
<html>
    <head>
        <meta charset="Unf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title> featured </title>
</head>
<link rel="stylesheet" href="css/style.css">
<body>
<header>
<h1>featured</h1>

</header>
<main>
<nav>
<ul class="navbar">
    <li><a href="index.html">home</a></li>
    <li><a href="featured.html" class="active">featured</a></li>
    <li><a href="#">women</a></li>
    <li><a href="#">men</a></li>
    <li><a href="kids.html">kids</a></li>
    <li><a href="#">more</a></li>
</ul>

</nav>
<h1>featured product</h1>
<p>Refresh your look with pieces of our winter collection</p>
<div>
<img src ="https://demos.coretabs.net/frontend-basics-workshop/img/img1.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img4.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img5.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img6.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img7.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img8.jpg">
<img src="https://demos.coretabs.net/frontend-basics-workshop/img/img9.jpg">
</div>
<a class="moreproduct" href="اطلب وصاتك.html">For more prodeucts</a>
</main>
<footer>
    <p>copyright @ by taha al sholilie </p>
</footer>
</body>



</html>

css

.moreproduct{
    text-decoration: none ;
    text-align :center;
    display: block;
    margin-top:30px;
    border :1px solid black;
    width :150px ;
    height: 30px;
    margin: 0 auto 0 auto;
    line-height: 30px ;
    color:gray;
    transition-duration: 0.5s
}
.moreproduct:hover{
    background: black;
    color: white;
    


}
.navbar a{
    text-decoration: none;
    color: black;
    display: block;
    text-transform: capitalize;
    padding: 0 20px ;
    font-size: 18px;
    
    
}
.navbar a:hover{
    border:1px solid green;
}
.navbar{
    list-style: none;
    padding: 0;
    margin:0 ;
    text-align: center;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray ;
    height: 50px;
    line-height:50px; 


}
.navbar li{
    display: inline-block;
    ;

}
header h1{ 
    text-align:center;
    letter-spacing: 2px ;
    font-size: 25px ;
    line-height: 50px;
    text-transform: capitalize
}
header{
    
    height: 50px ;
    


}
main h1{
    text-align: center;
    text-transform: capitalize;
    margin-top: 60px;
}
main p{
    text-align: center;
    margin-bottom: 50px;
    
}

main img{
    max-width: 960px ;
    transition-duration:0.3s ;
    padding:10px ;
}
main img:hover{
  
    padding :0px ;
    border : 5px solid gray  ;
    box-sizing: border-box;

}
.active{
    background: greenyellow;
    height: 50px ;
    ```

استاذ هل بذالك انتهى الكورس
:thinking:

2 Likes

لا اختي المدرب يحضر لنا في الدروس المقبلة

2 Likes

ومتى نعود للدروس ؟؟
وهل سيتم تبليغنا عن طريق الاميل :smiley:

1 Like

رائع ي ابتسام، ارى انك تجاوزتي المشكلة التي واجهت الكثير بإستخدام الـ !important في القاعدة التالية:

.navbar a:hover, 
.active{
    background-color: lightskyblue;
    color:black !important;
}

هل بإمكانك إكتشاف طريقة أخرى بدون إستخدام الـ !important :wink:

2 Likes
 .active{
       background-color: #EFEFEF;
       font-weight:bold;
   }
1 Like