Websites Flashcards
what Does the front end code of a website consist of
HTML, CSS and Javascript
What is HTML?
HyperText Markup Language, used to create the basic structure and content of a webpage
What is CSS?
Cascade Style Sheets, used to design a webpage, where everything is placed and how it looks
What is Javascript?
used to define interactive elements of a webpage
optimized for different screen sizes
Holy trinity of screen optimzation
Desktop, tablet, smartphone
3 pillars of good webpage design
Accessibilty, Purpose, Consistency
What is important for accessibility?
Designing for:
- Users with physical or motor disabilities (Large clickable actions, provide shortcuts etc.)
- Users with low vision (good color and fontsize, logical layout)
- Users on the autistic spectrum (simplicity; buttons, text, colors etc.)
What is Core Web Vitals?
measures qualatative users experiences on a web page. will optimize ranking
three pillars of Core Web Vitals
Loading performance (how fast does things appear? LCP)
Responsiveness (how fast does page react? FDI)
Visual stability (does stuff move around on the screen while loading? CLS)
The core web vitals - nr 1 LCP
Largest Contenful Paint: time for the biggest piece of content to load on the page. <2,5 sec
nr 2 FID
First Input Delay: reactiontime to first interaction. under 100ms
nr 3 CLS
Cumulative Layout Shift: How much does things move around on your site? <0,1
Does core web vitals affect ranking?
Yes, but not always. Can still get a good ranking despite having poor core web vitals.