Skip to content

Learn how to use HTML, CSS and JavaScript together

Notifications You must be signed in to change notification settings

coding-wiki/learn-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

learn-web

Learn how to use HTML, CSS and JavaScript together

HTML

HTML is a markup language that is made up of blocks. A block can be a group of items, or an element.

Basic example:

<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <p>Hello World!</p>
  </body>
</html>

Where <html> contains everything, <head> contains information for the browser (title, description, styling locations, etc) and <body> contains the visual content.

CSS

CSS is a visual language that dictates the styling of HTML.

Basic example:

p {
  background-color: 'green';
  color: 'red';
}

Where p is a selector for the HTML element <p>, and background-color, etc are attributes in the form of key/value pairs.

JavaScript

JavaScript is the main programming language for the web, which is parsed by web browsers.

Basic example:

var bucket = 10;

var newBucket = bucket + 10;

console.log(newBucket);

Where var declares a new variable or data store, = assigns a value, and 10 is a number unit.

About

Learn how to use HTML, CSS and JavaScript together

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published