CSS Typewriter effect
Free sites for hosting:
π Netlify
π Vercel
π» Render
π’ GitHub Pages
π Surge
π§ GitLab Pages
π₯ Firebase Hosting
π₯ Bitbucket
π€ Tiiny host
π AWS Amplify
π° Neocities
βοΈ Cloudflare Pages
π₯οΈ Gatsby Cloud
π Carrd
πΎ Freehosting
π InfinityFree
π» 000webhost
π Awardspace
π Netlify
π Vercel
π» Render
π’ GitHub Pages
π Surge
π§ GitLab Pages
π₯ Firebase Hosting
π₯ Bitbucket
π€ Tiiny host
π AWS Amplify
π° Neocities
βοΈ Cloudflare Pages
π₯οΈ Gatsby Cloud
π Carrd
πΎ Freehosting
π InfinityFree
π» 000webhost
π Awardspace
π4
Real Life Example:
β’ Ordering a custom-made cake.
β’ Cake details (flavor, icing, etc.) = Props.
Basic Usage:
β’ Ordering a custom-made cake.
β’ Cake details (flavor, icing, etc.) = Props.
Basic Usage:
π1
Functions as Props:
β’ Can pass actions/functions as props.
β’ Can pass actions/functions as props.
Destructuring Props:
β’ Cleaner syntax by destructuring.
β’ Cleaner syntax by destructuring.
PropTypes:
β’ Ensure props data matches expectations.
β’ Ensure props data matches expectations.
Default Props:
β’ Set default values for props.
β’ Set default values for props.
JavaScript Tipπ‘
You can use Object.freeze() method to prevent any changes to an object, including adding, modifying or deleting properties.
You can use Object.freeze() method to prevent any changes to an object, including adding, modifying or deleting properties.
CSS Box Model π₯
The CSS box model describes how elements are displayed and sized. It is useful to customize the design and layout of elements of web pages.
It contains the following propertiesπ
π―content: this includes text, images, or other HTML elements.
π―padding: this is the space between an elementβs content and its border.
π―border: this is a line that surrounds the padding and content of an element.
π―margin: this is the space between an elementβs border and its neighbouring elements.
The CSS box model describes how elements are displayed and sized. It is useful to customize the design and layout of elements of web pages.
It contains the following propertiesπ
π―content: this includes text, images, or other HTML elements.
π―padding: this is the space between an elementβs content and its border.
π―border: this is a line that surrounds the padding and content of an element.
π―margin: this is the space between an elementβs border and its neighbouring elements.
π1