nd the picture position is wrong. i have 1 index.html file and 2 css: style.css and utilities.css   here is the source code // this is index.html

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

hi i need help in html css. i need to copy the one picture on the left with black background as well as the justified center postition of the picture. my work is the one with wednesday. as you can see it has white background and the picture position is wrong. i have 1 index.html file and 2 css: style.css and utilities.css

 

here is the source code

// this is index.html

<!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- import css -->
    <link rel="stylesheet" href="css/style.css">

    <!-- import favicon -->
    <link rel="shortcut icon" href="images/image1.jpg" />

    <!-- import icons -->
    <script src="https://kit.fontawesome.com/bd6a72777e.js" crossorigin="anonymous"></script>

    <!-- import google fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Lato:wght@100;400;700&family=Poppins:wght@200&display=swap"
                rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap" rel="stylesheet">

    <!-- website title -->
    <title>Wednesday Tech Solutions</title>
</head>

<body>
    <!-- navigation bar or header -->
        <header>  
          <div class="container">  
            <nav class="flex items-centre justify-between">  
                <div class="left flex justfiy-right">  
                <div class="logo">  
                  <img src="images/logo.png" width="50px" alt="logo">  
                </div>  
                <div>  
                  <a href="#">Home</a>  
                  <a href="#">About</a>  
                  <a href="#">Services</a>  
                  <a href="#">Blog</a></li>  
                  <a href="#">More</a>  
                </div>  
              </div>  
              <div class="right">  
                <button class="btn btn-primary">Contact</button>  
              </div>  
            </nav>
          </div>  
        </header>
   
        <!-- section -->
        <div class="hero flex items-centre justify-between">
            <div class="left flex-1 justify-center">
                <img src="images/main.png" alt="Profile">
            </div>
            <div class="right flex-1">
                <h6>Wednesday Tech Solutions</h6>

                <h1>We are Web<br> <span>Developers</span></h1>

                 <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloremque illum nam nobis, minima
                    laudantium fugit sequi nostrum quod impedit, beatae necessitatibus praesentium optio labore
                    nemo!
                 </p>
                <div>
                    <button class="btn btn-secondary">DOWNLOAD CV</button>
                </div>
            </div>
        </div>
</body>
</html>
 
//this is style.css
@import 'utilities.css';
:root{
--primary: rgb(29, 221, 189);
--bgDark: rgb(12, 12, 12);
--white: rgb(250, 250, 250);
--secondary: rgb(0, 59, 50);
--bgLight: rgb(190, 181, 181);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    }
    header{
    background-color: var(--bgDark);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 73% 94%, 0 100%);
    }
    header nav .left a{
    color: var(--white);
    text-decoration: none;
    margin-right: 2rem;
    text-transform: uppercase;
    transition: all .2s ease;
    }
    header nav .left a:hover{
    color: var(--primary);
    }
    header nav {
    padding: 2rem 0;
    }
    header nav .logo{
    margin-right: 3rem;
    }

    body{
        font-family: 'Poppins', sans-serif;
        }
        .container{
        max-width: 1152px;
        padding: 0 15px;
        margin: 0 auto;
        }
        .hero{
        padding-top: 2rem;
        padding-bottom: 3rem;
        }
        .hero .left img{
        width: 400px;
        }
        .hero .right {
        color: var(--white);
        margin-top: -7rem;
        }
        .hero .right h6{
        font-size: 1.6rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
        }
        .hero .right h1{
        font-size: 4rem;
        font-weight: 100;
        line-height: 1.2;
        margin-bottom: 2rem;
        }
        .hero .right h1 span{
        color: var(--primary);
        }
        .hero .right p{
        line-height: 1.9;
        margin-bottom: 2rem;
        }

//this is utilities.css
 
.flex{
    display: flex;
    }
    .items-centre{
    align-items: center;
    }
    .justify-between{
    justify-content: space-between;
    }
    .justify-center{
    justify-content: center;
    }
    .justify-right{
    justify-content: right;
    }
    .btn{
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    outline: none;
 
 
 
HOME
ABOUT
SERVICES BLOG MORE
Akshat Sharma
I'm a Web
Developer
CONTACT
Lorem ipsum dolor sit amet consectetur adipisicing elit Doloremque
um nom nobis, minima laudantium fugit sequi nostrum quod impedit,
beatae necessitatibus praesentium optio labore nemol
DOWNLOAD CV
Transcribed Image Text:HOME ABOUT SERVICES BLOG MORE Akshat Sharma I'm a Web Developer CONTACT Lorem ipsum dolor sit amet consectetur adipisicing elit Doloremque um nom nobis, minima laudantium fugit sequi nostrum quod impedit, beatae necessitatibus praesentium optio labore nemol DOWNLOAD CV
9
11/
VI
HOME
ABOUT
SERVICES
BLOG
MORE
Wednesday Tech Solutions
We are Web
Developers
DOWNLOAD CV
CONTACT
Transcribed Image Text:9 11/ VI HOME ABOUT SERVICES BLOG MORE Wednesday Tech Solutions We are Web Developers DOWNLOAD CV CONTACT
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education