What is HTML, CSS and JavaScript

Websites like the one you are viewing now are built out of HTML, CSS, and Javascript files. These are the most basic tools that every web developer needs because they are the languages through which your webpages are built.

Let's find out more about what they do!

What is HTML

The HTML (HyperText Markup Language) is the main programming language for web development. It defines the basic structure of a site, such as texts, heading, paragraphs, lists e.t.c

The HTML language is formed from a bunch of established tags, which represent a variety of functions that are then "translated" into readable information on the screen. Tags are separated by angle brackets.

Example: Text or words inserted in the <h1> </h1> will be a heading while those inserted in <b> </b> tag will be bold.

What is CSS

CSS (Cascading Style Sheets) is a way to specify how HTML elements will appear on a webpage. This style sheet can be used to apply RGB values, border colors, background images, and other formatting to a website.

CSS defines a set of rules, which include a number of properties and their values. E.g

<h4 style="color:blue;">This is blue text</h4>

The above code(don't worry,I will explain that later on) define the text "This is blue text" to blue in colour.

What is JavaScript

JavaScript allows you to control the behaviour of your web page. If you are serious about web development, you will need to learn the basics of JavaScript.The language offers a low entry barrier and immediate results based on the success of your code, making it one of the most popular and widely used programming languages globally.

JavaScript lets users interact with websites by manipulating HTML and CSS. For example, clicking a button, scrolling to the bottom of the page, or displaying photos in a carousel move.

In this snippet of code, the word "Bigger Font" changes to 40px when the button "Click here" is pressed.

<button type="button" 
onclick="document.getElementById('demo').style.fontSize='40px'">Click here</button> 

Basically, by understanding these three components, you’ll have a much better understanding of web development, we will talk extensively on them in next sections.

You've successfully subscribed to Leewardslope
Great! Next, complete checkout to get full access to all premium content.
Error! Could not sign up. invalid link.
Welcome back! You've successfully signed in.
Error! Could not sign in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.