r/HTML • • Nov 05 '26

Discussion Made my first page

Post image

Okay, like i have no experience. So i memorized what i knew thoroughly, and made this:

Oh and if you want to change it or add more to it then here's the entire thing (Can i just put it in the body or have to give a link?): <!DOCTYPE html>

<html>

<head>

<title>Cucumbers</title>

<style>

h1 {

font-family: Arial;

color: gray;

}

body {

font-family: Comic;

background-image: url("https://tse3.mm.bing.net/th/id/OIP.wAHXLVaBSFIcnhm6tmWehQHaEK?r=0&pid=Api&h=220&P=0");

background-repeat: no-repeat;

background-attachment: fixed;

background-size: cover;

}

a {

color: yellowgreen;

}

</style>

</head>

<body>

<h1>Learning about Cucumbers</h1>

<p>Cucumbers are green-darkgreen vegetables that are said to be made up of over <b>95% water. </b><br>They originate in <i>Ancient China </i>& parts of Asia like <i>India, and Nepal</i></p>

<img src="https://tse2.mm.bing.net/th/id/OIP.0hoo0G1rccBCWJ-hDtukRwHaGa?r=0&pid=Api&h=220&P=0">

<p>Cucumbers are of course, an important part of agriculture, they feed millions everyday.<br></p>

<p>Cucumbers are eaten & sold all around the world, they're mainly eaten as light snacks.<br></p>

<p>Cucumbers have a taste as of water but with crunch. Seasoning with salt makes them around 100x better. <i>(Okay i made that 1 up but it's not false...)</i></p>

<a href="https://en.wikipedia.org/wiki/Cucumber">More about Cucumbers Here</a>

</body>

</html>

161 Upvotes

52 comments sorted by

35

u/Skaraban Nov 05 '26 • Heartwarming

what a refreshing thing to look at in times of ai slop

6

u/Consistent-Job-6400 Nov 06 '26

I'm investing in this comment

5

u/Skaraban 29d ago

I'm investing in you brother

8

u/DiodeInc Intermediate Nov 05 '26

Awesome! You can put ``` around the code and it'll preserve the indentation.

See? 

    4 spaces indent 

        8 space indent 

8

u/KvasDimas Nov 05 '26

its beautiful 

2

u/Consistent-Job-6400 Nov 06 '26

How it looks without CSS: "It's beautiful"

VS

How it looks when you use CSS:

5

u/Warm_Web3768 Nov 06 '26

Ux designer here. Your skills deserve to steal my job

1

u/Consistent-Job-6400 29d ago

Hmm. Hard pass

4

u/No_Drama2596 Nov 06 '26

showing this beauty and not sharing the link is criminal

1

u/Consistent-Job-6400 Nov 06 '26

I DIDN'T KNOW YOU HAVE TO GIVE A LINK 😩

3

u/ConfectionForward Nov 06 '26

I'll be honest with you, this gives off the feeling of the late 90s, and I love it.
feels more real than most of the shitty out of the box things you get nowa days.

Work on that background forground contrast, and don't forget the most important thing that everyone seems to have lost:
Have fun with it!

2

u/Consistent-Job-6400 Nov 06 '26

I did it to pass my time and had fun :P

2

u/ConfectionForward Nov 06 '26

Dont mind me, i am just getting old.

21

u/davep1970 Nov 05 '26

great! don't forget about text contrast - the dark text over the green background isn't really readable. even the heading "learning about cucumbers has poor contrast.

11

u/acsiitilde Nov 05 '26

looks very internet explorer 😭

6

u/psyper76 Nov 05 '26

looks very much netscape navigator

11

u/Johnopgr123 Nov 05 '26

Nice work, next step is CSS, make the cucumber website look fabulous

5

u/-svde- Nov 05 '26

if you want to easily share code in the future without it being a mess you can use something like https://pastebin.com/ !

4

u/Huge_Item3686 Nov 05 '26

For real, cucumbers are from asia? That's crazy

5

u/-svde- Nov 05 '26

india, specifically - i love that you learned something from this. super wholesome.

4

u/wutzelputz Nov 05 '26

Great! Might wanna look into avoiding using direct image links from search engine, as they may not be available in the future. Text contrast is also important for readability, a `background: rgba(255,255,255,0.8)` can do wonders!

4

u/Weak_Wedding_2307 Nov 05 '26

reminds me of when I started 2 years ago, looks great man css changes everything the more you learn. 

1

u/Scared_Cicada_9898 Nov 06 '26

This does really look exactly like a cucumber themed version of my very first web page

1

u/One_Razzmatazz_5155 24d ago

It looks awful. I love it, and I'm so proud of you. <3

1

u/Consistent-Job-6400 14d ago

You sound like my mom

3

u/Disgruntled__Goat Nov 05 '26

Cool, everyone has to start somewhere! One thing is that the text is not readable against the image background. 

One simple option would be to put the content in its own box, with a semi-transparent background. You could put the stuff between the body tags in a <main>…</main> tag, then in your style block something like:

main {
  background-color: rgba(255, 255, 255, 0.4);
  margin: auto;
  padding: 1rem;
  max-width: 600px;
}

3

u/omnichad Nov 06 '26

I don't want to pile on in a separate comment thread so I'll add on here. There is an agreed on minimum standard for text readability on the web (for accessibility purposes). That's a minimum contrast ratio of 4.5:1 on text vs background. There are things that look readable to a normal sighted person that can still be hard to read for some.

https://webaim.org/resources/contrastchecker/

2

u/johnesco Nov 06 '26

accessibility from the start!

3

u/0xbenedikt Nov 06 '26

I love it. 100% more character than most websites these days

3

u/Scared_Cicada_9898 Nov 06 '26

This is what the web was made for

2

u/Flame77ofc Nov 05 '26

I really like it, ngl

2

u/rackodo Nov 06 '26

I genuinely love this.

1

u/Vizeroth1 Nov 05 '26

Instead of using <br> right before </p>, you should add margin or padding to your paragraphs in your CSS. Then not only do you not have extra markup, you can change the spacing between your paragraphs consistently in one place.

1

u/Apprehensive_Sea5304 Nov 05 '26

Great job for a beginner, keep at it

1

u/DaweTheOne Nov 05 '26 • Heartwarming

Looks 100% human made. I LOVE it! Keep learning.

1

u/KevDub81 Nov 06 '26

Neocities.org here we come! Welcome to the world wide what we're not calling it that anymore?

1

u/johnesco Nov 06 '26 edited Nov 06 '26

Cucumber is great, the test stack is pretty weird. You have the Gerkin layer then many languages to choose from, but when the webdriver... *re-reads post*. Oh..

Cook cukes man, you grow them?

Try that semi transparent background on some tags that's already been suggested.

1

u/AdreKiseque 29d ago

If you're going to paste code at least put it in a code block are 😭

1

u/AdreKiseque 29d ago

Cucumber facts

1

u/PublicBarracuda5311 27d ago

Lookin good boy

1

u/Anthracite2819 26d ago

Try using white text

1

u/Advanced-Rub-3812 20d ago

I'm on HTML too, i think i can do all of these except for the text colours. It seems that you didn't use CSS. Well that's great, keep going and so do i!

1

u/BrentNoob 17d ago

I was coding my website earlier while eating cucumbers. Thank you for the fun facts

1

u/codergui 15d ago

Ah, this brings back memories. Thank you for this.

1

u/Hour-Breadfruit-2295 7d ago

I would suggest putting the website in a main div, letting the backround image sit, and styling the div to have good contrast against the green background.

-2

u/mondayquestions Nov 05 '26

I can’t see shit, lil bro.

1

u/Consistent-Job-6400 Nov 06 '26

Idk man didn't think about the color

0

u/hanss20086728 12d ago

Bien bro, vas bien. Roma no se hizo en un dia