Hello internet people, Today in this blog I will show you how to create a Responsive landing page along with text typing animation. Earlier, you learned to Create a loading button using HTML and CSS.


Landing Page is one of the most important web pages created with the intention of showing the main title and description of the organization, products, or personal portfolio. In most cases, landing pages are created for marketing purposes. A landing page plays a vital role to run your business smoothly and also helps to generate more income.


Things Included in Landing Pages

  1. Name
  2. Address
  3. Social Media Profile
  4. Product/Company Description
  5. Size of Company
  6. Phone Number
  7. Email Address
  8. And many more

 

3 Tips to Make Landing Page Better

  • Don’t add unnecessary navigation
  • Maintain short & sweet intro/description
  • Add valuable content only instead of writing long paragraphs

After going through this blog, you can easily create a landing page having great UI. As you can see in the above image, the whole background is black and the primary color is red. The hexadecimal value of the red color is #f00000. This landing page is mainly divided into three parts i.e. nav bar, the description, and the image. You can see the typewriter effect in the description part which is not created with the CSS. Let me tell you about the process of creating a typewriter effect. I haven’t written any custom functions or CSS to create it. I have just used the popular JavaScript library called “typed.js”.


To use “typed.js” you just need to include the below-mentioned CDN link inside the <head></head> tag and write some code.


CDN of Typed.JS

  <script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12"></script>

 After adding this CDN, create a div or paragraph where you want to show the typewriter effect. After that just write the below code.

    <script>

        var typed = new Typed('.typewriter', {

            strings: ['Designer',

                      'Developer',

                      'Blogger'],

            loop: true,

            typeSpeed: 50,

            backSpeed: 50,

            showCursor: true

        });

    </script>


The “.typewriter” is a class of div where you want to show the text. If you want more text to be typed just add them inside the array.

If you’re feeling difficult to understand what I am saying. You can watch a video preview of this program (Responsive Landing Page along with the typewriter effect).


You Might Also Like 


Video Preview of Landing Page

All this landing page design is based on CSS only and the typewriter effect is based on JavaScript. If you’re a beginner you can also create this type of landing page. If you like this program (Responsive Landing Page along with typewriter effect) and want to get source code. You can easily get the source code of this program. To get the source codes you just need to scroll down.

Responsive Landing Page along with typewriter effect [Source Codes]

To create this program (Responsive Landing Page along with typewriter effect). First, you need to create two Files one HTML File and another one is CSS File. After creating these files just paste the following code into your file. First, create an HTML file with the name index.html and paste the given codes into your HTML file. Javascript code is also inside the HTML file. Remember, you’ve to create a file with a .html extension.



HTML

Second, create a CSS file with the name style.css and paste the given code into your CSS file. Remember, you’ve to create a file with a .css extension.

CSS





That’s all, now you’ve successfully created a landing page using HTML, CSS, and JavaScript. If your code does not work or you’ve faced any errors/problems then please comment down your queries. If you feel this article had helped you, please share it with your friends. Subscribe to our Website by pressing the bell icon at the right bottom. We will send you notifications regarding our new posts and other tips and tricks. You can unsubscribe anytime you like. If you have any suggestions for me please mention them in the comment below.

Thank You :)

Post a Comment

Previous Post Next Post