WEBT Logs
The display property controls how an element participates in layout — whether it behaves as a block, flows inline, lays out its children with flexbox or grid, or vanishes entirely.
It is the property that lets you override an element's default block/inline nature and opt into lay...
Q What does CRUD stand for in database operations?
CRUD stands for Create, Read, Update, and Delete — the four basic operations performed on stored data.
Operation
Action
Create
Insert new documents
Read
Retrieve/query documents
Update
Modify existing documents
Delete
Remove documents
These operations map to Mongo...
Q What are the standard ports for HTTP and HTTPS, and why does it matter?
HTTP defaults to port 80 and HTTPS to port 443, which is why you almost never type a port into a normal web address.
Protocol
Standard port
HTTP
80
HTTPS
443
A port number tells a server which application should handle an incoming connection. Because HTTP and HTTPS ha...
Q What are some common W3.CSS container classes?
W3.CSS offers purpose-built container classes such as w3-container, w3-panel, w3-modal, and w3-bar, each wrapping content for a specific layout role.
Common container classes:
Class
Purpose
w3-container
Basic container with padding and proper alignment
w3-panel
Highlight...
Q How do you create hyperlinks in HTML?
Hyperlinks use the anchor element <a>, whose href attribute holds the destination and whose content is the clickable text the user sees.
The anchor (<a>) is what makes HTML "hyper" — it turns text into a link to another resource:
<a href="destination">Link Text</a>
The two parts...
Q What is the difference between id and class attributes?
An id names one unique element (used once per page); a class labels a group of elements and may be reused as often as you like.
Both attributes attach a name to an element so CSS and JavaScript can find it, but they answer different needs. An id must be unique in the document — i...
Q What are some useful built-in JavaScript functions for type conversion and math?
JavaScript ships with built-ins like parseInt/parseFloat for turning strings into numbers, the Math library for rounding and randomness, and toFixed for formatting decimals.
You don't have to write everything yourself — the language provides ready-made functions for common jobs....
Q What does the flex-basis property control?
flex-basis sets an item's starting size along the main axis — the baseline that flex-grow and flex-shrink then adjust up or down.
Think of it as the "ideal" or initial size each item asks for, before the container decides whether there's spare space to grow into or a shortfall to...
Q What do real public-API request URLs look like, and how is the key passed in them?
Most public APIs are plain HTTP(S) URLs where the key rides along as a query parameter — but the parameter's name differs per provider (appid, key, token, access_key).
A useful thing to notice: there is no single standard name for the key. You have to read each provider's docs:...
Q What is the difference between static and dynamic web applications?
A static site ships pre-made files unchanged, while a dynamic site builds its content on the fly for each visitor.
The split is about when the HTML a visitor sees is produced. With a static site, every page already exists as a finished file sitting on the web server; the server j...