Devlog - 2025-09-25
π What I Did
- Business Card.
π§ What I Learned
- File structure example:
.
βββ /assets
β βββ /images
β β βββ logo.png
β β βββ banner.jpg
β β βββ icons.svg
β βββ /fonts
β β βββ custom-font.woff
β β βββ custom-font.woff2
βββ /css
β βββ main.css
β βββ about.css
β βββ contact.css
βββ index.html
βββ about.html
βββ contact.html
βββ README.md
Computer Basics
- Motherboard β main circuit board, connects all components.
- CPU β executes instructions, does calculations.
- RAM β temporary memory for active processes.
- HDD β permanent storage (slower).
- SSD β faster, flash-based permanent storage.
- PSU β converts wall power for computer.
- GPU β renders visuals/graphics.
Internet Basics
- ISP β company providing internet (dial-up, DSL, cable, fiber, satellite).
- Safe Sign-in β strong password, 2FA, password manager.
Developer Tools
- IDE β write, test, debug code in one place.
- Code Editor β lightweight tool to write/debug code.
- Git β version control for tracking/collaboration.
- Repo Hosting β GitHub, GitLab, Bitbucket.
- Package Managers β handle dependencies (npm, pip, Maven).
- Testing β ensures code works (Jest, PHPUnit, JUnit).
File Formats
- Naming β use descriptive names (about-us.html).
- Root Directory β top-level folder.
- Markdown β simple markup for docs (README).
- index.html β default website page.
- File Managers β Explorer (Windows), Finder (Mac).
- Search β built-in file search.
File Types
- HTML (.html), CSS (.css), JS (.js)
- Images: JPEG, PNG, GIF, SVG
- Audio/Video: MP3, MP4, MOV
- Fonts: TTF, WOFF, WOFF2
- ZIP: compressed files
Web Browsing
- Browser β software to access websites (Chrome, Firefox, Edge).
- Search Engine β find info online (Google, Bing, Yahoo).
Search Tricks
- site:example.com β search inside a site
- filetype:pdf β search file types
- -term β exclude results
-
+term β must include term
- CSS is made up of two parts selecter and a declaration block.
selector {
property: value;
}
CSS ways to apply
inline- for overriding styles quickly on a single element.internal- best suited for applying styles to a single webpage only.external- It promotes separation of concerns and reusability across multiple pages.
Combinators
- Child combinator (
>) - used to select elements that are direct children of a specified parent element. - Next-sibling combinator (
+) - selects an element that immediately follows a specified sibling element. -
Subsequent-sibling combinator (
~) - selects all siblings of a specified element that come after it. margin- create space between the border of an element and its neighboring elements.padding- create space between the content of an element and its border.
π₯ Whatβs Next
- CSS and Java.
| β Previous | Next β |