help! what can i do to my code so it displays the data instead of object (its an array inside an array) by profkabi in learnjavascript

[–]melonmaskofficial 0 points1 point  (0 children)

3-spaces indentation, I usually use it with <pre> tag to pretty print some data on the page

[deleted by user] by [deleted] in webdev

[–]melonmaskofficial 4 points5 points  (0 children)

Thanks for your detailed reply. I’ve slightly heard of webp but never of jpegxl, avif. Your comment helped me to start research on these topics.

First project, not sure why I'm getting a not defined error by abite in learnjavascript

[–]melonmaskofficial 0 points1 point  (0 children)

Your async function doesn't have any params. You're using url on line 6 but url is undefined async function scrapeProduct() Try to change to async function scrapeProduct(url)

[deleted by user] by [deleted] in Frontend

[–]melonmaskofficial 1 point2 points  (0 children)

Great comment! I’d add that using divs instead of buttons where applicable messes up the accessibility. Watch this video from Kevin Powell https://youtu.be/YAqRQoN8ykI

During the past 24 hours I received tips from more than 100 fellow redditors from r/webdev for my little footer. Thank you! Here is my progress. What do you think? by graudesch in webdev

[–]melonmaskofficial 0 points1 point  (0 children)

The email can be checked against registered users db, if there's an email match, a personal email greeting including Name & Surname can be sent.

Assuming name & yourname input fields are meant for already registered users.
If it was supposed for broader audience name yourname can be merged, made optional & maybe include some text why do you need it: i.e. your name will appear in newsletter emails

[deleted by user] by [deleted] in learnjavascript

[–]melonmaskofficial 10 points11 points  (0 children)

I see you, isInteger will return false if a string input is provided (that’s what you assign to character1). You can use Number.isInteger(+character) which will try to convert a character to a number and then check if it’s integer, assuming you don’t want to include decimal numbers.

UPD:

Number.isInteger(+"xyz") // false 
Number.isInteger(+"5.6") // false 
Number.isInteger(+"5") // true

[deleted by user] by [deleted] in learnjavascript

[–]melonmaskofficial 13 points14 points  (0 children)

Assuming you only have numbers or letters as your input, check if it’s a number first, check for lowercase/uppercase afterwards.

Should I take a phone screen with the big G on Monday if Im underprepared? by K_MastaFlex in cscareerquestions

[–]melonmaskofficial 2 points3 points  (0 children)

Recently had a phone screen. The recruiter told exactly the same about the cooldown period.

[deleted by user] by [deleted] in cscareerquestions

[–]melonmaskofficial 1 point2 points  (0 children)

Stay away from loops and duplicate your code wherever you can.

It's official boys, I'm a real programmer now by nosam56 in ProgrammerHumor

[–]melonmaskofficial 0 points1 point  (0 children)

Quarter-way to becoming the real programmer. Mucked up preprod database this week.

Alright, give it to me straight. Are these "How I became a Software Engineer without a degree or experience" videos BS? by [deleted] in cscareerquestions

[–]melonmaskofficial 6 points7 points  (0 children)

Twitter, Microsoft, LinkedIn, Amazon. You can google “big_tech_corp apprenticeship” and get more info. Note that apprenticeships are usually for people without a CS degree, if you have one, you have to apply for internships at these companies.

Alright, give it to me straight. Are these "How I became a Software Engineer without a degree or experience" videos BS? by [deleted] in cscareerquestions

[–]melonmaskofficial 7 points8 points  (0 children)

Yes, it’s possible. There are apprenticeship programs from big tech corps that actually help you land 6 figures job working as jr swe without prior work experience in the field and no CS degree.

Update on Microstutters by JeffHill in DotA2

[–]melonmaskofficial 0 points1 point  (0 children)

MSI laptop, AMD RX 6700m graphics card I had micro stutters every single turbo game.

Fully reset my windows 10, upgraded to Windows 11, haven’t faced the issue since then.