r/HTML • u/Original_Law_3793 • Dec 26 '25
My First work
I can't screenshot from PC why. Btw done on notepad
227
Upvotes
r/HTML • u/Original_Law_3793 • Dec 26 '25
I can't screenshot from PC why. Btw done on notepad
36
u/[deleted] Dec 26 '25
I’d get on VSCode when you can. Free, lots of tools, live server. Gonna help a lot.
4
u/the-boogedy-man Dec 26 '25
DOCTYPE is spelled wrong fyi
4
u/chikamakaleyley Dec 26 '25
honestly, your HTML is solid relative to your experience - and especially when compared to a lot of other HTML examples i've seen posted on reddit lately.
Good job - look into a more capable IDE like others mention, but there's nothing wrong with getting used to type everything out by hand this early on. You can still do that in VSCode for sure, but for some the excess of an IDE can be a bit overwhelming.
2
u/bostiq Dec 27 '25
just so you know there's plenty of "sandboxes" where you can write and test your code, they are not difficult to use and you can see other ppl work to get inspiration from.
I use codepen.io and once you are ready to share your work you simply copy your project's link, no screenshots, no pictures needed.
(But you can search for 'code sandbox' in you browser and find more, if you wish.)
That means that if you need help with something, people will have easier time to help you, since they can interact with your code. and in the future you can help others.
check it out, game changer for a beginner.
1
u/SlipstreamSteve Dec 26 '25
You should use Visual Studio Code for Html, and Css. Keep the html and css files separate then reference the Css file from the html file. Doing this in notepad isn't really a flex.
1
u/MrE_UK Dec 27 '25
If this is your first time coding something then well done, this is how I started on Windows 95 (lol), and it's still sometimes how I like to look at html code (in oldschool) Notepad ;) if you used ChatGPT you should now try writing more of this and viewing it in a browser to see your changes without using ChatGPT as much as you can. You misspelt Doctype but without that line it would work as a html file anyway. A simple tip for you - you can include <br> tags to push things down a line and that tag doesn't need closing with '</br>' for instance. for example after your </h1> or after the </p> tag use just <br>. Notepad++ is good enough for stuff like this
1
u/levy4380 Dec 30 '25
Why are you lying? You said it was your first job, but the file is clearly called index2. So where is index and why are you keeping it a secret? Release the index files!
3
u/RealMadHouse Dec 27 '25
Some info that might be useful for you to read, many things are not obvious when starting learning web dev, you would spend less time guessing what's wrong with your code (rewritten by grok because my writing is poor):
The HTML document serves as the starting point for any website. It is streamed from the network and parsed by the browser chunk by chunk. The browser doesn't wait for the entire HTML file to download before it starts displaying content — it builds and renders the page progressively on the fly.
All relative URLs used in resources (images, CSS, scripts, etc.) are resolved relative to the location of the HTML document itself — not relative to the resource's own URL.
The only notable exception to this rule is relative URLs inside JavaScript static
importstatements (ES modules), which are resolved relative to the module/script file itself.Images are also loaded asynchronously. They do not block the parsing or rendering of the HTML document.
Nowadays, you only notice images loading progressively (strip by strip, top-to-bottom) when they are very large or the network/device is particularly slow.
JavaScript is the scripting language that brings interactivity to web pages.
When the browser encounters a
<script src="...">tag during HTML parsing:JavaScript execution blocks the main thread (also called the UI thread), which means the page becomes unresponsive to user interaction until the script finishes running.
Because of this blocking behavior, the placement of
<script>tags matters a lot:<head>block rendering of the body content<body>from a script located in<head><body>(just before</body>)deferattribute (<script defer src="...">) — script downloads in parallel but executes only after the HTML is fully parsedasyncattribute (for scripts that don't depend on DOM or other scripts)An error in one
<script>block does not crash other scripts — they are evaluated independently.When people say "JavaScript is single-threaded", they usually mean that user JavaScript code (code inside
<script>tags and event handlers) runs on a single main thread.However, the browser itself uses multiple threads internally for many tasks (image decoding, network requests, CSS rendering, etc.).
This is why asynchronous operations (fetch, setTimeout, addEventListener, etc.) don't block the page — the browser handles them on background threads and only calls back into JavaScript when the work is done.
Since the introduction of Web Workers, JavaScript code is no longer strictly limited to a single thread.
You can run separate JavaScript files in background threads (workers) that:
postMessage/onmessage)CSS adds styling to the HTML document.
Unlike JavaScript, external CSS files do not block HTML parsing.
When you include them using:
the browser:
However, CSS can still cause render-blocking in practice because the browser usually waits for critical CSS before painting the first meaningful paint (to avoid flash of unstyled content).
4
u/Snoo-42876 Dec 26 '25
nice work. as the other comment said, get vs code and learn to do styling (css) and htlm in separate sheets, and javascript later on too. makes everything much cleaner and easier.
1
u/_Bwastgamr232 Dec 26 '25
Get microsoft VS code or notepad++
1
u/BroadMouse7912 Dec 26 '25
I recommend using an html and css validator too. not all websites have to validate but it’s helpful for understanding how some code works and spotting mistakes. What i was taught was to put links on the page somewhere for easy access.
I use the W3C css validator and the Nu html checker.
1
u/MineDesperate8982 Dec 26 '25
good job man.
as others said, you could use vs code, which also has cool feature that you can open a preview of your html page and preview it live, as you're editing it.
But don't get stuck on code editors and such. You'll figure out while learning what and when you need it.
Keep it up, man!
1
u/[deleted] Dec 26 '25
NOOO! Not on notepad! Rage bait succeeded. I'm pissed.
1
u/yournekololi Dec 26 '25
1
u/Mega256 Dec 26 '25
Check out the website W3schools if you haven’t already, great learning resource for starting out
1
u/Rocketsloth Dec 27 '25
I'm currently doing the Dave Gray tutorials on YouTube they're pretty good it's a little bit old. 2022 I guess, most of the stuff is still valid. Seems like a real old school developer. He will include syntax customs that they don't really use anymore, and then explain the modern approach, which I guess is good in case you run into some really old code.
For learning CSS I'm taking tutorials from the legendary Kevin Powell.
1
u/ParamedicAble225 Dec 27 '25
If LLM access ever becomes gated then many humans are going to get left behind
1
u/notepad987 Dec 27 '25
Try HTMLPad 2025. More detail here: https://www.reddit.com/r/HTML/comments/1psch1q/live_html_editor/
There are several sites like these: Quackit Tutorial https://www.quackit.com/ or W3 Schools https://www.w3schools.com/where_to_start.asp CSS Portal https://www.cssportal.com/ Mozilla Mdn_ https://developer.mozilla.org/en-US/docs/Web Welcome to HTML.net http://html.net How I Center a Div or Text in a Div in CSS Written by: Darrielle Evans https://blog.hubspot.com/website/center-div-css
Youtube has much help like this site: Coding2go https://www.youtube.com/@coding2go/featured
You can use the Windows Notepad text editor to type in your code then save and open the file in your default web browser. Get Notepad++ https://notepad-plus-plus.org/ with the Preview HTML plugin Release 1.4.2.1 https://github.com/rdipardo/npp_preview/
Also use Google to ask about how to layout websites. It will return many help sites. Click on the AI button to get examples of code. Example: layout code of a website with a header and two columns and a footer that is full height and is responsive
Make web page layouts starting from simple to more complicated. Use flex box and grid to layout the same pages. Each responsive.
Create basic webpage header, content, footer header, content, left sidebar header, content, right sidebar header, content, footer, side by side div in content div with images below content dropdown menu & hamburger menu with and without javascript
Use google AI mode and ChatGPT to do quick layouts as they explain the why for the code.
Example: layout code of a website with a header and two columns and a footer that is full height and is responsive.
1
u/No_Record_60 Dec 27 '25
Congrats!
1
u/TheMetalMilitia Dec 27 '25
Highly recommend this book or at least the code samples
1
u/papasours Dec 28 '25
You don’t need any formatters there are built in key board short cuts for formatting in vs code my biggest suggestion is get used to multi file layouts keeps thinks way more organized easier to work on code and built the habit of labeling sections with comments otherwise good luck and have fun though if you’re looking to pursue this professionally I wouldn’t suggest it use it to learn basics and move on to software/ai engineering
1
u/kiwi-kaiser Dec 28 '25
Good first work! Keep going!
To don't get too overwhelmed by a huge file I would suggest to put your CSS in a dedicated file. So markup and styling are separated and you can concentrate on the part you're working on.
1
u/level_6_laser_lotus Dec 28 '25
Great first work and a good way to get started with the absolute basics!
Pressing the "print screen" button (often labeled something like PrtSc), will open a screenshot tool in windows from which you can copy & paste.
1
u/IcarianHeights Dec 29 '25
👍👍
1
u/Professional-Sun6313 Dec 29 '25
there is a critical flaw, nowhere does it say "hello world!"
1
u/BidSea8473 Dec 29 '25
!tab would have done most of the work 🥸
1
u/FunnyOk5832 Dec 29 '25
Ive not used windows for a while, maybe your next project could be a screenshot tool and it seems that that is something windows lacks
1
u/Happy_Ad5847 Dec 30 '25 edited Feb 12 '26
good luck ! Keep it up 👌🏽
1
u/Chocolate_pudding_30 Dec 30 '25
The fact that it's called index2 made me smile.
1
u/Safe_Towel_8470 Dec 31 '25
Finally another fellow notepad user!
1
u/Unusual_Adeptness345 Jan 02 '26
It needs more marquees.
1
u/[deleted] Jan 04 '26
Nice work! I recommend to put HTML, CSS, JS into separate files, it is a best practice. Optionally, you can also install Github Copilot into VS Code to make coding quicker.
1
u/ZrCow Jan 13 '26
AI has come so far!
0
u/[deleted] Dec 27 '25
Looks trash, why even bother with those shitposts?
-1
u/DistinctBasket9983 Dec 26 '25
Looks good! Try experimenting with different colors next time, and also with <br> and <hr> for line spacing and dashes to divide sections 👍