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 have learned to Create a loading button using HTML & CSS.
Landing Page is one of the most important web page created with the intension of showing main title and description of the organization, products or personal portfolio. In most of the cases, landing pages are created for the marketing purpose. Landing page plays vital role to run your business smoothly and also helps to generate more income.
Things Included in Landing Pages
- Name
- Address
- Social Media Profile
- Product/Company Description
- Size of Company
- Phone Number
- Email Address
- And many more
3 Tips to Make Landing Page Better
- Don’t add unnecessary navigations
- 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, 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 typewriter effect. I haven’t write 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 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 on this program (Responsive Landing Page along with typewriter effect).
You Might Also Like
Video Preview of Landing Page
All this landing page design is based on CSS only and typewriter effect is based on JavaScript. If you’re a beginner you can also create this type of landing pages. 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 in your file. First, create an HTML file with the name of index.html and paste the given codes in your HTML file. Javascript code is also inside the HTML file. Remember, you’ve to create a file with .html extension.
HTML
Second, create a CSS file with the name of style.css and paste the given code in your CSS file. Remember, you’ve to create a file with .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 bell icon at the right bottom. We will send you notification regarding our new posts and other tips and tricks. You can unsubscribe it anytime you like. If you have any suggestions for me please mention it in the comment below.

إرسال تعليق