➡️htmlcheatsheet .com
Online interactive Cheat Sheet contains useful code examples, web developer tools, markup generators, and more.
➡️cssreference .io
cssreference is a free visual guide to CSS. It features the most popular properties, and explains them with illustrated and animated examples.
Email: The <input type="email"> defines a field for an e-mail address.
The input value is automatically validated to ensure it is a properly formatted e-mail address.
File: The <input type="file"> defines a file-select field and a "Browse" button that lets the user choose one or more files from their device storage.
What is function and why do we use it?
- Local and Global variables in JavaScript.
A small thread🧵👇
- A JavaScript function is a block of code designed to perform a particular task. It allows us to write more maintainable code. Define the code once, and use it many times. You don’t need to write the same code over and over again.
- It is defined with the function keyword, followed by a name and parentheses (). The code to be executed by the function is placed inside curly brackets: {}
- A JavaScript function is executed when "something" invokes it (calls it).