Get your nagging questions on HTML and CSS answered through articles and
tutorials.
07 May 2022
You can check if checkbox is checked or not in Javascript by using the checked property of the checkbox.
Start by creating a checkbox element in HTML.
<label for="legal-terms">
<inpu...
Read more
30 Apr 2022
A contact form requires/ needs to collect atleast three things a name, an email address, and a message. Instead of an email address you can collect a phone number or both.
Let us start building th...
Read more
23 Apr 2022
Static websites can contain Javascript. Infact, most static website have Javascript. Javascript is added to static websites through Javascript file or inline through a script tag.
A website is c...
Read more
16 Apr 2022
Start with the HTML starter template.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Simpl...
Read more
09 Apr 2022
You can add round corners to all four corners of a div using CSS’s border-radius property.
Start by creating your div.
HTML Code
<div class="rounded-corners">
<p>Div With Rounded C...
Read more
02 Apr 2022
You can make a button disabled by adding the disabled attribute to the button in HTML. When the button is disabled, it is unclickable and you cannot use it to do anything. However, you can remove t...
Read more
26 Mar 2022
Start by creating a simple HTML web page. You can also use an existing HTML website.
Simple HTML webpage code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
...
Read more
19 Mar 2022
Transparent buttons are great when you want buttons that blend with the background instead of covering it.
Creating Fully Transparent Buttons
Start by creating a simple button in HTML and CSS.
HT...
Read more
12 Mar 2022
Requirements For React App with Yarn
Node Version >=14
Yarn 0.25+
You can check if you already have Node and Yarn by running node –version and yarn –version respectively.
If you don’t ha...
Read more
05 Mar 2022
First you need to create a simple button in HTML and CSS.
HTML
<div class="container">
<button class="button-1">
Centered Button
</button>
</div>
CSS
.button-1 {
...
Read more
26 Feb 2022
Close buttons also called cancel buttons can be used to dismiss items on a website like menus, modals, and popups.
1. Close Button CSS 1: Times
You can make a close button using the times(&ti...
Read more
19 Feb 2022
You can make circle buttons in CSS by first making square buttons. Then, you can turn the square buttons into circles using the border radius.
Create Circle Button Using Button HTML Tag
Create ...
Read more
12 Feb 2022
Buttons are one of the most useful components on websites. They are one of the tools readers can use to interact with your websites.
Clear and well labeled buttons, can direct users to take the ap...
Read more
05 Feb 2022
Buttons are an important part of any website. You can use them to allow readers to interact with your website, submit information, and link to other websites and pages.
You can create three types ...
Read more
29 Jan 2022
You can create a div that scrolls horizontally using white-space and overflow CSS properties.
Let’s start by using HTML to create a div with some links.
<div class="scrollable-div">
<a ...
Read more
22 Jan 2022
You can create lists of one or more related items in HTML.
HTML has a set of tags that allows you to create different types of lists.
You can make bullet lists, number lists, lists within other l...
Read more
15 Jan 2022
You can easily add a paragraph in HTML by using the paragraph HTML tags.
Code
<p>This is a simple HTML paragraph.</p>
Result
This is a simple HTML paragraph.
How to create a single ...
Read more
14 Jan 2022
I. Introduction
Definition of the CSS border property and its purpose in web design
II. Setting the border width, style, and color
How to use the border-width, border-style, and border-color pr...
Read more
08 Jan 2022
You can center text in HTML by setting the text-align property to center.
Center Text in HTML & CSS
To start of you should have some HTML content you want to center.
<p>Text content tha...
Read more
11 Dec 2021
You can add Javascript script in the <head>…</head> section or in the <body>…</body> section of your HTML website.
Add the script in the head section if you want it to be l...
Read more
20 Nov 2021
A simple navbar allows you to add links that are accessible throughout your whole website.
Adding a navigation bar to your HTML website might feel like a complicated task.
Instead, you can make...
Read more
23 Oct 2021
Youtube provides a great way to add videos to your HTML website that works on all browsers. You just need to get the embed code from the video and add it to your HTML code. No more worry about unsu...
Read more
16 Oct 2021
You can add or change text color on your website using the CSS color property.
The color property can take three types of values: color keyword, HEX color code, rgb and rgba values.
We are going ...
Read more
09 Oct 2021
You can make a website to look great by applying a font that fits the design.
With websites, you can choose to use the inbuilt system fonts, or you can apply external fonts.
We are going to cover...
Read more
02 Oct 2021
Whether it’s bouncing buttons or flipping cards, CSS animation makes websites feel more interactive.
CSS animations are a set of CSS properties you can use to add simple to complex animations on a ...
Read more