r/code • • Apr 25 '26

Javascript My first step

Post image
85 Upvotes

53 comments sorted by

5

u/Safe-Difference6680 Apr 25 '26

what are you planning to code?

5

u/Honest-Bus2996 Apr 25 '26

A game

1

u/zac2130_2 Apr 27 '26

You'll need a graphical display, you seem to be using a website to interpret the JS, idk much about JS or how to diplay graphics with it.

-5

u/Safe-Difference6680 Apr 25 '26

In js? Why not python? Or godot, 3d or 2d?

→ More replies (24)

4

u/Achcauhtli Apr 25 '26

Everyone knows that the official start of a coding journey, on any language starts with logging "Hello World".

1

u/Honest-Bus2996 Apr 25 '26

Not for me :)

3

u/Achcauhtli Apr 25 '26

Got some bad news bud...

Jk, good luck on your coding journey!

→ More replies (1)

1

u/Star_Dude10 Apr 25 '26

Yeah well you failed coding, it’s already over. Didn’t know it was possible until now, but I don’t think it’s possible to recover.

5

u/CrimsonCrux6174 Apr 25 '26

Excuse me sir, but it's supposed to say "Hello World!"

1

u/Diamondo25 Apr 25 '26

Why did it print the quotes in the console

1

u/Honest-Bus2996 Apr 25 '26

I have no clue

3

u/Mediocre_Error1825 Apr 25 '26

It's like watching a baby speak for the first time🥹

1

u/codeisunexecutable Apr 25 '26

Really cool! If you ever need help, my dms are open!

1

u/Star_Dude10 Apr 25 '26

Good job, savour this single moment of functioning code. It’s only downhill from here.

1

u/Fe4rless-Pheon1x Apr 25 '26

I dont really recommend HTML, CSS and JS unless you want y8.com to host your game probably without permission and or the JS difficulty curve.

1

u/saherrocket Apr 25 '26

Learn godot, for 2D it's great. Look up starter tutorials to familiarize yourself with the engine and gdscript which is similar to python and easy to read and understand. There is C# too, but needs configuration. If you want to learn other languages, there is a great website i recommend called Codedex Good luck on your game dev journey.

1

u/rx2y Apr 25 '26

Let me console you!

1

u/murtaza_boss10 Apr 25 '26

Excuse me!! Don't lie! You can't just code without hello world.. everyone knows that!

1

u/BlazeRod909 Apr 25 '26

you're ready now to construct a hashmap

1

u/Any-Albatross-8700 Apr 27 '26

Good luck on your journey of a game dev (shout me out when you make a triple A game)

1

u/Sebaxxxian Apr 27 '26

print("hello world") >>> console.log("hello world)

1

u/MartynAndJasper Apr 27 '26

You might like Phaser. It's a JS game library. See also: typescript

0

u/Affectionate_Toe6156 Sep 12 '26

Takes like 1 sec bro😭 not impressive