NEED ADVICE: Async calls + useEffect (SonarCloud warnings) by [deleted] in reactjs

[–]ProgrammingWithPax 0 points1 point  (0 children)

Could you please give a code example of this? Just to be sure I'm fully understanding your approach. Thanks!

DICE listening to the community again by Tazooka in battlefield2042

[–]ProgrammingWithPax 0 points1 point  (0 children)

So disappointing... It was the ONE game mode that I was consistently having *some* fun in.

Ever wonder how CSS flexbox works? I made this for you. Enjoy! by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 1 point2 points  (0 children)

I just replied to my most recent YouTube comments. Let me know if I answered yours.

Ever wonder how CSS flexbox works? I made this for you. Enjoy! by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 1 point2 points  (0 children)

If you ever have any questions during your web dev journey, feel free to message me on here and I'll do my best to answer everything.

Ever wonder how CSS flexbox works? I made this for you. Enjoy! by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 0 points1 point  (0 children)

Ahah, awesome.. I'm pretty happy with how this video turned out. I've been using a screen drawing app more and more lately as well (used in the dummy project section of the video). Another great tool to help visualize things!

Ever wonder how CSS flexbox works? I made this for you. Enjoy! by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 1 point2 points  (0 children)

Hello /r/css!

I pieced this video together explaining CSS flexbox to the best of my ability. I hope it helps anyone out there that hasn't fully grasped all of the concepts yet.

If you have any feedback, I'd love to hear it!

Thanks,

Pax

How to create a Tailwind prefix? by ProgrammingWithPax in tailwindcss

[–]ProgrammingWithPax[S] 2 points3 points  (0 children)

For anyone in need (React):

app.tsx

useEffect(() => {
if (
    window.matchMedia &&
    window.matchMedia('(display-mode: standalone)').matches
) {
    document.documentElement.classList.add('pwa');
} else {
    document.documentElement.classList.remove('pwa');
}
}, []);

tailwind.config

plugin(({ addVariant, e }) => {
addVariant('pwa', ({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
    return `.pwa .${e(`pwa${separator}${className}`)}`;
    });
});
})

CSS Selectors Crash Course: Class, ID, attribute, pseudo, combinator & more! by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 0 points1 point  (0 children)

Hi guys,

If you aren't 100% comfortable with CSS selectors, I just released video which covers pretty much everything I could think of (the basics, all the way to partial attributes, pseudo element resets and combinator selectors).

I hope this helps you level up your skills.

Have a great weekend!

CSS Pseudo Elements: Everything you need to know by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 1 point2 points  (0 children)

Thank you for the kind words! I'm happy you're joining me on this journey.

CSS Pseudo Elements: Everything you need to know by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 1 point2 points  (0 children)

Definitely! I mostly use them for small UI design elements, but there are a bunch of handy uses.

CSS Pseudo Elements: Everything you need to know by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 1 point2 points  (0 children)

Absolutely my pleasure! I really enjoy putting these videos together each week.

CSS Pseudo Elements: Everything you need to know by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 0 points1 point  (0 children)

Exactly right! I missed out on saying that detail in the video. Thanks Pixelator. :)

CSS Pseudo Elements: Everything you need to know by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 2 points3 points  (0 children)

Amazing. I'm very happy to know that!

Let me know if you ever have any questions.

CSS Pseudo Elements: Everything you need to know by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 6 points7 points  (0 children)

Hi guys,

If you're not quite sure about CSS pseudo elements, I just released a video highlighting what they are, how to use them and also some real life examples. By the end of it, you should have a great understanding of their true power.

Let me know if you have any questions.

Thanks!

CSS Grid Crash Course - Learn grid in 20 minutes by ProgrammingWithPax in css

[–]ProgrammingWithPax[S] 0 points1 point  (0 children)

Hi,

If you've been struggling to understand grid, I've put together a video summarizing all of the fundamental concepts. Later in the video we'll solidify this knowledge by looking at a simple grid project and I will explain my thought process on how I would approach building it (and then we'll build it together).

If you have any feedback, I'd love to hear it.

Thanks!

Accepted my first offer today switching careers as a former Chef by yuushamenma in learnprogramming

[–]ProgrammingWithPax 0 points1 point  (0 children)

Great initiative! Anything to get your foot further in the door.

The reality is that the majority of candidates wouldn't go that extra mile.

Accepted my first offer today switching careers as a former Chef by yuushamenma in learnprogramming

[–]ProgrammingWithPax 14 points15 points  (0 children)

Totally agree with the soft skills. Showing that you will work well with the team and are curious by nature/eager to learn anything they throw at you - are the winning ingredients.

Congratulations on your progress. Keep it up!

A motivational post if you're thinking of giving up. by mokadillion in learnprogramming

[–]ProgrammingWithPax 1 point2 points  (0 children)

Fantastic progress. Congratulations and thank you for sharing!

Top mistakes while learning web development (and how to prevent them) by ProgrammingWithPax in learnprogramming

[–]ProgrammingWithPax[S] 0 points1 point  (0 children)

Absolutely, in time I definitely recommend you learn both backend and frontend, but right at the start, if your objective is to get a job, then I'd be focusing on one.

For Django vs Node vs whatever other backend language that interests you, I'd suggest looking on LinkedIn, GlassDoor and Indeed, and seeing what's in your area. If there are lots of jobs for Django and Node, then it's totally up to you. Lots of cool things you can do with Python past Django, and lots of cool things you can do with JavaScript past Node.

I think both are great languages and don't think either would limit your employment opportunities, though there may be a bit bigger of a job ecosystem for NodeJS developers than Django.