Dev Log# 2 Part - (1/2) Had to retype everything due to the 4,000 character limit 😭
LOL THIS ONE IS GONNA BE A BIG CHUNK. (This will also help y’all with the personal engagement piece when you rate this project.)
I was away on Day 2, so I couldn’t really code. For Days 3 and 4, I focused on getting my HTML and CSS fundamentals down before I write another journal. AND BEFORE I TALK ABOUT WHAT I LEARNED, I want to talk about my experience.
Back in middle school, I did a little bit of Python, and it’s been fun seeing how HTML and CSS use human-like words instead of looking like random bits and symbols. You want to change the background color? Just go into styles.css and change the color. That’s it. Easy. Sauce.
While I’m still learning, I’ve already started brainstorming a few projects I want to make to test my knowledge:
-
I’m thinking of creating a personal portfolio site. Just a simple “Hello, this is my first website, here’s my journey” type of thing.
-
During my first project, when I worked with the Slack bot, I became really interested in APIs. From what I’ve seen, JavaScript works really well with them, so I think it would be fun to make something like a weather tracker or a top news dashboard. I want something that uses JavaScript to fetch information and bring it onto my screen.
-
Calculator app (a lot of people make this lol).
-
Tic-Tac-Toe. One of those classic beginner projects.
Anyways, here’s the big dump for y’all to show the new terms and concepts I’ve learned over the past two days.
HTML
When you use <a href="link.com">, it is generally expected that the link opens in the same tab. However, this can be changed.
Using target="_blank" forces the webpage to open in a new tab.
There’s also the concept of Relative URLs vs. Absolute URLs. A relative URL points to another file within your project, such as about.html. An absolute URL includes the full web address, such as https://example.com, which tells the browser to navigate to a website.
<head> is for information and settings that the browser uses behind the scenes.
- Favicon = the little image that appears beside the website title.
- Title = the name of the webpage shown on the browser tab.
<body> is the part of the webpage that users actually see.
You can use mailto: in a link, and it will open the user’s default email application to send an email.
I learned how to make a table:
-
tr = table row
-
td = table data (a table cell)
(I learned the hard way that it’s usually easier to organize layouts using div containers.)
Speaking of div, it’s basically a container for your code. Let’s say you’re making a dropdown menu—you can place all the related code inside a single div to keep everything organized.
I also learned about lists:
-
ul = unordered list
-
ol = ordered list
-
li = list item
Description lists:
-
dl = description list
-
dt = description term
-
dd = description definition
Block elements stay on their own line and take up available width, while inline elements flow with the content around them.
iframe is used to display another webpage inside your webpage, although some websites prevent themselves from being embedded.
For symbols, one method is to use HTML entities. For example:
♥ = ♥
I also learned about HTML forms:
There are two common methods for sending data:
-
POST = sends data without showing it in the URL.
-
GET = the default method if none is specified. It sends data through the URL, making it visible in browser history and the address bar.
There’s stuff in the Comment section aswell ~ continued.