Coder Social home page Coder Social logo

sarthak-0-sach / insure-landing-page_frontend_project Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 679 KB

Welcome to the Insure Landing Page project, the sleek and responsive landing page of an insurance company. Users can seamlessly view the optimal layout for the site depending on their device's screen size and experience hover states for all interactive elements on the page. Explore the Insure Landing Page today!

Home Page: https://insure-landing-page-frontend.netlify.app/

License: BSD 3-Clause "New" or "Revised" License

HTML 48.41% CSS 47.45% JavaScript 4.14%
css frontend-development html landing-page mern-stack nodejs react vanilla-javascript beginner-friendly-project

insure-landing-page_frontend_project's Introduction

Insure Landing Page

Discover peace of mind with Insure. Our landing page highlights our comprehensive insurance services, tailored to protect you and your loved ones.

Table of Contents

Overview

The Challenge

Discover peace of mind with Insure. Our landing page highlights our comprehensive insurance services, tailored to protect you and your loved ones.

Your users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page

Screenshot

Design Preview

Links

My Process

Built With

  • HTML5(designing the basic layout)
  • CSS3(Styling it using properties like flexbox, grid, hover states etc)
  • Vanilla JavaScript(for implementing dynamic functionalities of the webpage)

You will find all the required assets in the /images folder. The assets are already optimized.

There is also a style-guide.md file containing the information you'll need, such as color palette and fonts.

What I Learned

  • Crafting a visually compelling and informative landing page
  • Implementing responsive design techniques for optimal viewing on all devices
  • Enhancing user engagement through interactive elements and hover states

Here is the code snippet that I am proud of-

if (window.matchMedia('(max-width: 767px)').matches) {
    $('.dropdown-content').hide();
}
$(document).ready(function () {

    // jQuery methods go here...

    $('.dropbtn').click(function () {

        $('.dropdown-content').slideToggle(800, function () {
            if ($('.dropbtn').attr('src') == 'images/icon-hamburger.svg')
                $(".dropbtn").attr("src", "images/icon-close.svg");
            else if ($('.dropbtn').attr('src') == 'images/icon-close.svg')
                $(".dropbtn").attr("src", "images/icon-hamburger.svg");


        });
    })

    $(window).resize(function () {
        if ($(window).width() > 768) {
            $('.dropdown-content').removeAttr('style');
        }
    });

});

Continued Development

The continuously learning journey of a programmer never ends. This project made me realize that there are many concepts that I need to work upon including fundamentals like flex-box and its properties, to more complex concepts like working with fetch and async await in javascript. These areas are some that I think I need to work more upon in the upcoming future as they highlight some of the most significant regions of web development that are important for every developer to know of.

These key points mentioned here will help me grow accountable and consistent towards improving at writing good quality code and be a successful full stack developer one day.

  • Adding interactive features like live chat support
  • Integrating customer testimonials for social proof
  • Improving SEO to increase organic traffic

Useful Resources

  • MDN Web Docs - Comprehensive documentation for web development technologies
  • CSS-Tricks - Helpful tips and tricks for CSS and web design
  • JavaScript.info - In-depth tutorials and resources for learning JavaScript
  • Harkirat Singh course notes - I have added notes of all lectures along with code and lecture insights of all weeks along with bonus lectures to help you all as much as I can.
  • My development code and notes - These are my notes that I made while working on my development skills in initial days and did these courses. Make sure to star the repository if you like it.โœจ๐Ÿ’ซ
  • mdn documentation - This is an amazing article which helped me finally understand promises, async and await syntax. I'd recommend it to anyone still learning this concept.

Author

Sarthak Sachdev

Acknowledgments

I feel like the solutions provided on the website and the continuous doubt solving by industry experts on discord for free is something that is unmatched by anyone else and need to be acknowledged for their efforts in improving me as a developer by suggesting the best practices in your respective tech stack.

Got feedback for me?

I love receiving feedback! I am always looking to improve my code and take up new innovative ideas to work upon. So if you have anything you'd like to mention, please email 'hi' at saarsaach30[at]gmail[dot]com.

If you found this project helpful, consider sharing it with others to gather more valuable feedback!

Discover peace of mind with Insure. ๐Ÿ›ก๏ธ๐Ÿ โœจ

insure-landing-page_frontend_project's People

Contributors

sarthak-0-sach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.