مشاركة حلول مهمة: صفحة تنسيقات خارجية

سلام عليكم استاذنا الكريم

<!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="style.css">
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html">STORE</a>
            </h1>
        </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>
1 Like

وعليكم السلام ورحمة الله

أهلين @mofi وحشتينا :grin:

العمل ممتاز إستمري :+1:

1 Like

شكرا اساتذ محمد أنا تاني توحشتكم أحبائي ان شاء الله عدت اليكم :star_struck::innocent::wink:

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>
    </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>
1 Like
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;
}        
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>
    </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

:white_check_mark: مية مية

1 Like
<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="style.css">
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html">STORE</a>
            </h1>
        </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>
![2019-06-23%20(1)|690x387](upload://bNibh6PIdRgCDEUIAYO4i4wMhIG.png) ![2019-06-23%20(1)|690x387](upload://bNibh6PIdRgCDEUIAYO4i4wMhIG.png)
1 Like

1 Like

STORE

STORE

Featured Products

Refresh your look with pieces of our collection

More Products

© 2018 All Rights Reserved

1 Like
   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;
}

1 Like

رائع ي نجم :star2:

ممتاز يا فادي، وارجوا منك ان تتقيد بوضع الأكواد بالطريقة الصحيحة بالمنتدى كما تم شرح ذلك في الموضوع التالي:

وفي حال تواجهك أي مشاكل في ذلك أخبرني لأساعدك

1 Like

شكراً لك

1 Like
<!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="style.css">
        
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html">STORE</a>
            </h1>
        </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>

1 Like

مية مية إبتسام :+1:

<!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="Style.css">
    </head>
    <body>
        <header>
            <h1>
                <a href="index.html">STORE</a>
            </h1>
        </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>
1 Like

مية مية :muscle:

1 Like

صورة الملف

كود ال html

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

</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">
<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 href="اطلب وصاتك.html">For more prodeucts</a>
</main>
<footer>
    <p>copyright @ by taha al sholilie </p>
</footer>
</body>



</html>

كود ال css

a{
    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
}
main a:hover{
    background: black;
    color: white;
    

}
header h1{ 
    text-align:center;
    letter-spacing: 2px ;
    font-size: 20px ;
}
header{
    background:blue ;
    height: 30px ;


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

}
1 Like