OkayStudy
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure SONUB site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to SONUB, reload the page, and use the bell to enable notifications.

On iPhone or iPad, add SONUB to your Home Screen, open it there, then allow notifications.

All Vibe Coding topics

Web Client

Everything that asks a server for something.

A browser is a web client, and so is one line of curl. Type an HTTP request by hand with nc, then watch the same text go by in curl and Chrome DevTools.

A browser window, a dark terminal window and a smartphone each send an envelope to the same server, and pages come back to each of them.
A , and a phone app play the same role: they ask first, and the answers.

DevTools: watching the messages go by

ships with web tools, and they are already installed. Everything you sent by hand with is listed here, by request, with the beside it.

Opening it

Press , or Command-Option-I on a and Control-Shift-I elsewhere. Right-clicking any part of a page and choosing Inspect opens it with that already selected — the fastest way in.

The panels

Elements The live and the styles applied to it. Click an element to see its and change them on the spot — nothing is saved, so experiment freely.
Console Messages and errors from , and a prompt where you can run your own. A blank page with a red line here has told you exactly what broke.
Network Every request the page made, with method, status, size and timing. This is the panel that answers whether a problem is in the server or in the page.
Sources The scripts themselves, where you can set a and step through the line by line while the page waits.
Application What the site has stored on your machine: , , . The place to look when a site behaves oddly only for you.

Three things to try right now

  1. Find your own requestOpen the , reload this page, and click the very first entry. The request and response there carry the same content as the lines you typed into nc. On a site connected over , the first line and show up as , :path and :authority.
  2. Copy it as curlRight-click any request and choose Copy as cURL. Paste it into a and you have reproduced exactly what the browser did — headers, cookies and all.
  3. Break it on purposeIn the , delete a heading and watch it vanish; in , throttle the speed to slow and reload. Both are safe, and both teach more than reading about them.
Now go back and read your own page

Open the HTML file you wrote in the first topic, inspect it, and you will recognise every tag in the tree. That loop — write it, serve it, request it, inspect it — is the whole of web development in miniature.

Back to HTML

You mark this yourself. Nothing is graded here.

Mark this step as understood?

This cannot be undone yet, so mark it only when you really understand.

Marked as understood

You mark this yourself. Nothing is graded here.

Choose a pending booking to cancel. Each cancellation requires confirmation.

Your :

Close