Open In App

Design a Business Agency Website in HTML CSS & JavaScript

Last Updated : 22 Mar, 2024
Comments
Improve
Suggest changes
2 Likes
Like
Report

A business agency website can be used to showcase any kind of business in an attractive and interactive way to the users. It contains different sections that represent the services offered by your business.

Approach:

  • The HTML structure includes various sections such as the header, navigation, main content sections (Home, About Us, Services, Contact), and the footer. Each section provides a designated space for presenting relevant information and engaging with visitors.
  • Use CSS styles to define the overall layout, typography, and color scheme of our website. It ensures consistency and visual coherence across different sections and elements.
  • Now, use JavaScript code to enable smooth scrolling to the respective section clicked in the navbar.
  • Add the CDN links of the below dependencies to your HTML document to implement them

Example: This example describes the basic implementation of the Business Agency Website using HTML, CSS, and JavaScript.

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" />
    <title>Business Agency</title>
    <link rel="stylesheet" href="style.css" />
    <link rel="stylesheet" href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
    <script src=
"https://code.jquery.com/jquery-3.6.0.min.js">
    </script>
    <script src=
"https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.12/typed.min.js">
    </script>
    <script src=
"https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.min.js">
    </script>
    <script src=
"https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js">
    </script>
    <link rel="stylesheet" href=
"https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" />
</head>

<body>
    <div class="scroll-up-btn">
        <i class="fas fa-angle-up"></i>
    </div>
    <nav class="navbar">
        <div class="max-width">
            <div class="logo">
                <a href="https://www.geeksforgeeks.org/">
                    <span>Business Agency</span>
                </a>
            </div>
            <ul class="menu">
                <li>
                    <a href="#home" class="menu-btn">
                        Home
                    </a>
                </li>
                <li>
                    <a href="#about" class="menu-btn">
                        About
                    </a>
                </li>
                <li>
                    <a href="#services" class="menu-btn">
                        Services
                    </a>
                </li>
                <li>
                    <a href="#contact" class="menu-btn">
                        Contact
                    </a>
                </li>
            </ul>
            <div class="menu-btn">
                <span>☰</span>
            </div>
        </div>
    </nav>

    <!-- home section start -->
    <section class="home" id="home">
        <div class="max-width">
            <div class="home-content">
                <div class="text-1">
                    Hello, This is very best
                </div>
                <div class="text-2">
                    Business
                </div>
                <div class="text-3">
                    Agency 
                    <span class="typing"></span>
                </div>
                <a href="#about" target="_blank">
                    Read More
                </a>
            </div>
        </div>
    </section>

    <!-- about section start -->
    <section class="about" id="about">
        <div class="max-width">
            <h2 class="title">About</h2>
            <div class="about-content">
                <div class="column left">
                    <img src=
"https://media.geeksforgeeks.org/wp-content/uploads/20240304112759/sandals_1_100.png"/>
                </div>
                <div class="column right">
                    <div class="text">
                        Business Agency 
                        <span class="typing-2"></span>
                    </div>
                    <p>
                        GeeksforGeeks is a leading platform that provides 
                        computer science resources and coding challenges 
                        for programmers and technology enthusiasts, along 
                        with interview and exam preparations for upcoming 
                        aspirants. With a strong emphasis on enhancing coding 
                        skills and knowledge, it has become a trusted destination 
                        for over 12 million plus registered users worldwide. The 
                        platform offers a vast collection of tutorials, practice 
                        problems, interview tutorials, articles, and courses, covering 
                        various domains of computer science.
                    </p>
                    <p>
                        Our exceptional mentors hailing from top 
                        colleges & organizations have the ability 
                        to guide you on a journey from the humble 
                        beginnings of coding to the pinnacle of 
                        expertise. Under their guidance watch your 
                        skills flourish as we lay the foundation and 
                        help you conquer the world of coding.
                    </p>
                    <a href=
"https://www.geeksforgeeks.org/top-advertising-agency-softwares/">
                        More Details
                    </a>
                </div>
            </div>
        </div>
    </section>

    <!-- services section start -->
    <section class="services" id="services">
        <div class="max-width">
            <h2 class="title">My Services</h2>
            <div class="services-content">
                <div class="carousel owl-carousel">
                    <a class="alink" href="#home">
                        <div class="card">
                            <div class="box">
                                <i class="fas fa-archive"></i>
                                <div class="text">Web Design</div>
                                <p>
                                    Our exceptional mentors hailing from top 
                                    colleges & organizations have the ability 
                                    to guide you on a journey from the humble 
                                    beginnings of coding to the pinnacle of 
                                    expertise. Under their guidance watch your 
                                    skills flourish as we lay the foundation and 
                                    help you conquer the world of coding.
                                </p>
                            </div>
                        </div>
                    </a>
                    <div class="card">
                        <div class="box">
                            <i class="fas fa-paint-brush"></i>
                            <div class="text">Digital Marketing</div>
                            <p>
                                Our exceptional mentors hailing from top 
                                colleges & organizations have the ability 
                                to guide you on a journey from the humble 
                                beginnings of coding to the pinnacle of 
                                expertise. Under their guidance watch your 
                                skills flourish as we lay the foundation and 
                                help you conquer the world of coding.
                            </p>
                        </div>
                    </div>
                    <div class="card">
                        <div class="box">
                            <i class="fas fa-code"></i>
                            <div class="text">App Desingns</div>
                            <p>
                                Our exceptional mentors hailing from top 
                                colleges & organizations have the ability 
                                to guide you on a journey from the humble 
                                beginnings of coding to the pinnacle of 
                                expertise. Under their guidance watch your 
                                skills flourish as we lay the foundation and 
                                help you conquer the world of coding.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- contact section start -->
    <section class="contact" id="contact">
        <div class="max-width">
            <h2 class="title">Contact me</h2>
            <div class="contact-content">
                <div class="column left">
                    <div class="icons">
                        <div class="row">
                            <i class="fas fa-user"></i>
                            <div class="info">
                                <div class="head">Name</div>
                                <div class="sub-title">.</div>
                            </div>
                        </div>
                        <div class="row">
                            <i class="fas fa-map-marker-alt"></i>
                            <div class="info">
                                <div class="head">Address</div>
                                <div class="sub-title">.</div>
                            </div>
                        </div>
                        <div class="row">
                            <i class="fas fa-phone"></i>
                            <div class="info">
                                <div class="head">Phone</div>
                                <div class="sub-title">.</div>
                            </div>
                        </div>
                        <div class="row">
                            <i class="fas fa-envelope"></i>
                            <div class="info">
                                <div class="head">Email</div>
                                <div class="sub-title">
                                    .
                                    <p></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="column right">
                    <div class="text">Message me</div>
                    <form action="#">
                        <div class="fields">
                            <div class="field name">
                                <input type="text" placeholder="Name" required />
                            </div>
                            <div class="field email">
                                <input type="email" placeholder="Email" required />
                            </div>
                        </div>
                        <div class="field subject">
                            <input type="text" placeholder="Subject" required />
                        </div>
                        <div class="field textarea">
                            <textarea name="" id="" cols="30" rows="10" 
                                placeholder="Describe Query.."
                                required></textarea>
                        </div>
                        <div class="button">
                            <button type="submit" 
                                onclick="alert('Thanks for Submiting')">
                                Send message
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <!-- footer section start from here -->
    <footer>
        <div class="socialIcons">
            <a href="#" target="_blank">
                <i class="fab fa-facebook-f"></i>
            </a>
            <a href="#" target="_blank">
                <i class="fab fa-instagram"></i>
            </a>
            <a href="#" target="_blank">
                <i class="fab fa-linkedin-in"></i>
            </a>
        </div>
        <span>
            Created by 
            <a href="https://www.geeksforgeeks.org/">
                GeeksForGeeks
            </a>
            <i class="fas fa-heart"></i> |
            <span class="far fa-copyright"></span>
            2024 Business Agency All rights
            reserved
        </span>
    </footer>

    <script src="script.js"></script>
</body>

</html>
CSS JavaScript

Output:

fosiGIF


Next Article

Similar Reads