reading-notes
Project maintained by mr-atta
Hosted on GitHub Pages — Theme by mattgraham
Javascripit And jQuery
First:
Languages are often used for programming websites
- html : * Adds basic structure and structure to the code *
- css : * Improved page appearance *
- Javascripit : * To change behavior and add interaction *
css and js they can be kept in separate files. This gives us ease and speed of use.
Then CREATING A BASIC JAVASCRIPT
- create folder with .js
- you can add css folder
- mention js file in html before close the body
- write your code in js
- you should see the “inspect” button when click right-clicks on any website and see the change in “console”.
- you must be a regulator at any code you working on
see ⏬
- A script is a series of instructions that a computer can follow one-by-one,each statement must be finished with a semicolon.
Coding
- var:
var x, y, z;
Is the pocket we put something in it.
It can differentiate between data types and the value.
- comment:
// Statement 1
or
/*
Statement 1
*/
Just the programer can see it