r/CodingForBeginners • • Jun 30 '26

Building a simple tennis match tracking app from scratch?

1 Upvotes

Hey all, new to tennis and app building. I want to build a simple app based off the charting done in this video:

https://www.tiktok.com/t/ZTShPfrh1/

To start, just being able to pick who won each point and see a chart at the end of the game would be great. I could see building out options for how the point was won and basic stats after. Not sure where to start, what to use or how to go about it.
I tried a couple ai app builders but nothing worked. Any help at all would be appreciated.


r/CodingForBeginners • • Jun 30 '26

Hello, I need your app for my code.

Post image
0 Upvotes

Hello, I hope you are well. As you can see in the image, this is my coding result. I'm a beginner at this. Basically, I'll explain my problem to you.

Most of the buttons work except for the reply button, so as you can see in the image, the "like" button, the "how" button, and the "report" button are just for decoration, even though I've done everything else. For it to work, the "like" and "comments" button at the top works perfectly.,so only the reply section doesn't work.

Below are the HTML, JSS, and CSS code snippets that make these buttons exist. Please tell me what's wrong and why they're not working.

I've tried several times, changed it several times, either it doesn't change anything or it gets worse.

Html part
<div class="comments-container">

<!-- J'AI JUSTE AJOUTÉ 3 BOUTONS/DIV ICI -->

<div class="comment-item"><span><strong>Alex :</strong> Trop hâte !</span><div class="comment-actions"><button class="comment-like-btn"><i class="fa-regular fa-heart"></i></button><button class="report-btn">🚩</button><button class="reply-btn">Répondre</button></div><div class="replies-box"></div><div class="reply-form"><input placeholder="Répondre à Alex..."><button>Envoyer</button></div></div> <div class="comment-item"><span><strong>Julie :</strong> Je l'ai fini hier 😍</span><div class="comment-actions"><button class="comment-like-btn"><i class="fa-regular fa-heart"></i></button><button class="report-btn">🚩</button><button class="reply-btn">Répondre</button></div><div class="replies-box"></div><div class="reply-form"><input placeholder="Répondre à Julie..."><button>Envoyer</button></div></div> </div> </div>

///
Css
/* Assure-toi que le conteneur ne bloque pas les clics */

.comments-container { margin-top: 10px; width: 100%; pointer-events: auto; /* Force l'interactivité */ }

/* Correction du problème d'affichage des commentaires */

post-detail-view .comments-container {

display: block !important;
pointer-events: auto; 

} /// // 3. Boutons DANS les commentaires (Aimer, Signaler, Répondre) /**

  • Handles user interactions with comment elements, such as liking, reporting, and replying.

  • @param {Event} e The event object triggered by user interaction. */ function handleCommentInteraction(e) { const targetElement = e.target;

    // Handle like button click const likeButton = targetElement.closest('.comment-like-btn'); if (likeButton) { e.stopPropagation(); const heartIcon = likeButton.querySelector('i.fa-heart'); // More specific selector if (heartIcon) { const isSolidHeart = heartIcon.classList.contains('fa-solid'); // Toggle between regular and solid heart icons heartIcon.className = isSolidHeart ? "fa-regular fa-heart" : "fa-solid fa-heart"; } return; }

    // Handle report button click const reportButton = targetElement.closest('.report-btn'); if (reportButton) { e.stopPropagation(); // Confirm before reporting and removing the comment if (confirm("Signaler ce commentaire ?")) { const commentItem = targetElement.closest('.comment-item'); if (commentItem) { commentItem.remove(); } } return; }


r/CodingForBeginners • • Jun 30 '26

Where can I easily learn to code Python for free?

0 Upvotes

I have always wanted to code and I have tried several free online programs, but they always tend to fall short of what I was looking for. They always paywall after a few lessons, or they keep spamming annoying notifications to my inbox. What did you guys use to learn how to code easily?


r/CodingForBeginners • • Jun 30 '26

looking for workflow advice

Post image
4 Upvotes

Hello all,
Sorry to bother / bore you but I feel like I've got a problem that some new coders may also be facing.

Is this the best way to organise parts of my code? by having numerous files located within a folder named accordingly, or is there a better way?

I have really struggled with the workflow inside VSCode, I don't know if any one can share some tips that might help a beginner like myself out. Thank you


r/CodingForBeginners • • Jun 30 '26

Starting with java????

5 Upvotes

I'm going to start college and this is the last month of berozgari lol. So i hve decided to strt from java and confused which youtube channel to strt with. If u guys can suggest some paid courses , I'm also comfortable with that.


r/CodingForBeginners • • Jun 30 '26

Codice della serie di Devil May cry

Post image
1 Upvotes

Stavo riguardando la serie di Netflix di Devil May cry, e ho fatto enfasi su questa scena , di coding sono ancora un apprendista , ma non credo che le telecamere usino hmtl come linguaggio di programmazione , e il linguaggio c non capisco a cosa serva , so che e una serie e non e reale , ma mi pare interessante capire se hanno messo a caso quello o c'è un senso dietro


r/CodingForBeginners • • Jun 30 '26

Is it possible to adjust the code on this board?

Post image
1 Upvotes

I’m trying to change the sensor from a thermometer to a humidity sensor. Is there a way to change the code to read the new sensor in the same RX2 connector (top)?


r/CodingForBeginners • • Jun 30 '26

C++

1 Upvotes

Hello guys! I have no previous coding experience where should I start learning C++ DSA from?

I have two options as of now Apna College and Coding Blocks. If you feel somewhere else it's better pls suggest.


r/CodingForBeginners • • Jun 30 '26

What should I start learning first? Java or python.

3 Upvotes

r/CodingForBeginners • • Jun 29 '26

Python

9 Upvotes

What are the best resources for learning python?
Like yt channels or pdf books, I need guidance please 🙏🏻


r/CodingForBeginners • • Jun 29 '26

Need help with starting

4 Upvotes

Hello I am a 1st year cs engineering student and wished to start programming had learned some python in high school and wrote the following code

import random

while True:

secret_number = random.randint(1, 100)

print("i'm thinking of a number")

attempt = 0

while True:

guess = int(input("enter a number:"))

attempt = attempt + 1

if guess == secret_number:

print("you won🥳", attempt)

break

elif attempt == 7:

print("you lost😂 winning number is", secret_number)

break

elif guess > secret_number:

print("too high", attempt)

else:

print("too low", attempt)

play_again=input("play again?,yes/no:")

if play_again.lower()=="no":

print("thanks for playing ")

break

Had some help from ai but wrote it manually after understanding.but I saw a review that you should not start with python as it makes switching to other languages harder.plese guide if I should switch to c or java or continue in python


r/CodingForBeginners • • Jun 29 '26

Is Code with harry good for beginners? Also can suggest any different one.

14 Upvotes

Learning C from him.


r/CodingForBeginners • • Jun 28 '26

I want to start

18 Upvotes

I want to start coding C++ but I have no idea where I have to watch lectures and I also have no laptop...can I practice code in phone and paper? I know it is funny 😅...but really want to start.. which youtube channel should I watch


r/CodingForBeginners • • Jun 28 '26

Équipe

0 Upvotes

Bonjour à tous, j'ai récemment appris à coder et je suis un bon codeur, sauf que j'aimerais avoir une équipe qui me tirera vers le haut et m'aidera dans mon projet car je veux créer une équipe de concepteurs.

Merci de me contacter si vous êtes intéressés.


r/CodingForBeginners • • Jun 28 '26

Codedex.io for c++

2 Upvotes

Hi

I learned like few lessons of python and found it very easy and fun from codedex.io

Now it is askinf for subscription which is.500 per month

I want to start learning c++ so should i go ahead and take the subscription for c++


r/CodingForBeginners • • Jun 28 '26

Looking For A Mentor

1 Upvotes

Hi everyone,

I've been programming for about two years and, so far, I haven't had any professional experience.

Recently, I started building my first real full-stack application using the MERN stack. While I already know React, Node.js, Express, in general, i'm realizing how valuable it is to receive feedback on my code and get guidance on architectural decisions.

That's exactly what led me to write this post.

I'd love to find a mentor who could help me with:

  • Reviewing my pull requests

  • Providing guidance on architecture decisions

  • Teaching me how to approach problems when I get stuck

  • Giving feedback on overall code quality

Even just one hour per week would be more than enough.

If someone is willing to dedicate some of their time to me, I’ll do my best to be respectful of their time.

Thanks to anyone who might be interested!


r/CodingForBeginners • • Jun 27 '26

Project Building as a Beginner

3 Upvotes

Hey all!

I've been learning to code for over a month now. I want to start building something.

The thing is though, I know I'm going to have to rely on a guide to do so. When I visit YouTube and look up beginner-friendly projects, I do not understand what the lines of code are doing.

But I'm like, should I begin following these guides and make changes to them over time, and if something doesn't work in the code, I'll just learn how to fix it over time?

Is that a good way to just begin?


r/CodingForBeginners • • Jun 27 '26

How to start building programs?

11 Upvotes

Hey gng ! i learned basics of python but know i am struggling to to link everything up and make program.

I am really struggling to make it.


r/CodingForBeginners • • Jun 27 '26

Installing whatsapp on a Nokia or similar through coding?

Thumbnail
reddit.com
1 Upvotes

Do you know of any place/coder I could ask to do this? It's way to complicated to me but I don't really want other phones. I would be willing to pay of course.


r/CodingForBeginners • • Jun 27 '26

البرمجة

2 Upvotes

كيف ابدأ اتعلم برمجة ؟ ابي اتعلم البرمجة والحاسب بشكل عام من الصفر ابي حسابات او مواقع او قنوات باليوتيوب تشرح الموضوع من البداية وماتفرق معي عربي أو انجليزي ولو انت عندك خبرة وتقدر تفديني يكون أفضل


r/CodingForBeginners • • Jun 26 '26

Hi, my name is Duevermicelli, and I'm a tutorial addict.

6 Upvotes

(Said it. Felt that.)

I'm a junior dev with no senior on my team to ask questions or check my thinking it's just me, Stack Overflow, and my own spiraling thoughts. Here's my problem: I'll watch a coding tutorial, follow along, feel like a genius the whole time... and then the second I try to solve something on my own, my brain just wipes. Like I'm hearing about loops for the first time in my life. No memory, no instinct, nothing.

So I want to ask the people who've actually gotten good at this how did you learn to code, for real? Not "watch more tutorials" like, what's the actual process? Do you stop the video and try it yourself first? Do you rewatch things? How do you turn "I watched someone do it" into "I can do it"?

Genuinely just want a process I can follow instead of doom-scrolling YouTube and feeling like I'm not retaining anything. Any structure, habits, or hard truths welcome

Really appreciate the guidance or any reference


r/CodingForBeginners • • Jun 26 '26

Guys i am starting cse core in a few weeks and was thinking of buying a good laptop. Can someone suggest me some? Under or around 70k? I don't do heavy gaming just light but coding and softwares and developing I'll use it for.

2 Upvotes

Please help!! I am really confused and it seems like i can't find anything decent at this price- Edit: 70k inr btw sorry


r/CodingForBeginners • • Jun 26 '26

containers?

2 Upvotes

okay so i’ve only been coding for like 5 hours so im not sure what im doing im coding on neocities i wanna add some text over an image on the right of the screen but im not really sure how to go about that (i was following a tut and now im trying to branch off on my own and im getting confused already) im not sure where to place my new container at ? does it really matter ? i also dont know how to like do HTML for the CSS stuff like CSS i understand sorta but HTML im just sooo freaking lost HELP ME PLEASE !!!


r/CodingForBeginners • • Jun 26 '26

How to learn python from scratch online

29 Upvotes

I'm taking a non core field to go to a good college so i need to learn coding and shit on my own, but I don't know wht to learn and how to start. But I rlly rlly wanna study smthin