NodeList Vs HTML collection
Understanding NodeList and HTML collection in javaScript is very important. let's jump into: 1. HTML collections : Example: JavaScript : let items = document.getElementsByClassName("box") What it Ret
Search for a command to run...
Articles tagged with #chaicode
Understanding NodeList and HTML collection in javaScript is very important. let's jump into: 1. HTML collections : Example: JavaScript : let items = document.getElementsByClassName("box") What it Ret
HTML creates the structure of a webpage: headings paragraphs buttons divs But CSS is used to style them: colors fonts spacing layout How does CSS know which element to style? —> That’s where selectors come in. What is a CSS Selector? A CS...
When computers communicates over the internet, they send data over small packets. but without rules, packets: Lost Duplicate packets received unordered packets recieved So, internet needs rules to send or receive data packets, these rules are ca...
when you type google.com in your browser, computer doesn’t understand what is it. It only understand numbers(IP address). Analogy : When you type “father” in Phonebook. It translate father to “8789******” . Phonebook do for your phone. DNS do the s...
When you open a website, you see text, images, buttons and layout. But the browser doesn’t know what a heading is , whats a paragraph is, and where content should exists.That information comes from HTML What is HTML HTML(Hyper Text Markup Language), ...
Writing HTML tags, brackets and attributes, again and again feels boring and slow, you code like this: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <ti...