Activity
Mon
Wed
Fri
Sun
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
What is this?
Less
More

Memberships

Selftaught_Developer_Incubator

Private โ€ข 420 โ€ข $2/m

DP
Developer Pro

Public โ€ข 116 โ€ข Free

11 contributions to Developer Pro
Apple Clone Completed
Already reviewed in the call but posting it here officially.. Thanks Cristian! https://codepen.io/James-R-the-sans/full/zYQPByo
5
3
New comment 1h ago
typewriter challenge
finally, after some food poisoning, im close to finishing but im not sure why when i hit enter, it works to shift to a new line but also outputs the word "enter", same with the word "backspace" but whats wrong with my code that its not deleting my last element child? https://codepen.io/Jaboc/pen/JjqeBPd
2
6
New comment 3d ago
1 like โ€ข 5d
Basically what he said.. if you move the h1.innerText += e.key into each of the if blocks instead then it doesn't print the enter,backspace,etc. Then you will have to remove the last char from h1.innerText when backspace is pressed instead. But yeah I'd almost rethink the approach.. what if i pushed enter, the <br> is added, then i push backspace and there's no text to remove from h1.innerText?
Two Questions
Hey everyone, if you could, take a look at this code. Looking at lines 61 & 84 Question 1: Why can't I get this icon (isVerified) to disappear? The function says if isVerified === false, add a class that should hide the svg, but it isn't working. Question 2: I am trying to get replies count to populate, but it is showing as undefined -- what's up with this? Any help would be great, thanks! https://codepen.io/Ryan-Pickard/pen/BaeVRPE?editors=1011
2
4
New comment 7d ago
0 likes โ€ข 7d
1: take out the period when adding 'verifyHide' class. Also I don't believe adding a class to an element returns anything so should look like this. //question 1 function verify(x) { if (!x) isVerified.classList.add('verifyHide') } 2: change it to query the replies.views like this. //question 2 icon4.innerHTML = `<span id = 'icon4'class='icon'><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"> <path stroke-linecap="round" stroke-linejoin="round" d="M7.5 8.25h9m-9 3H12m-9.75 1.51c0 1.6 1.123 2.994 2.707 3.227 1.129.166 2.27.293 3.423.379.35.026.67.21.865.501L12 21l2.755-4.133a1.14 1.14 0 0 1 .865-.501 48.172 48.172 0 0 0 3.423-.379c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z" /> </svg> ${tweet.replies.views}`
0 likes โ€ข 7d
@Ryan Pickard ah yeah my bad it's late. Are you allowed to modify the tweet obj? The replies can be put in an array then you can use the tweet.replies.length that you had before: replies: [{ user: { displayName: faker.person.fullName(), username: faker.internet.displayName(), profilePic: faker.image.avatar(), datePosted: faker.date.recent().toString().slice(0,10) }, post: { text: faker.lorem.sentence() }, likes: faker.number.int(5000), shares: faker.number.int(5000), views: faker.number.int(5000) }] };
Apple clone - blur effect on main nav hover
Hey pros, any hints on how to achieve this blur effect when hovering on a main nav item? My approach right now would be add an ::after element to my dropdown and blur the background on that but it seems like overkill.. but I'm not finding much on how to blur all the elements behind it. Not sure if anyone was able to achieve it. Thanks https://codepen.io/James-R-the-sans/pen/zYQPByo?editors=1100
5
5
New comment 9d ago
Apple clone - blur effect on main nav hover
0 likes โ€ข 10d
@Mioara Cenusa Yep I considered it but saw it wasn't supported in safari
1 like โ€ข 10d
Got closer by using ::after element on the hovered list item with the backdrop-filter that covers the entire screen. The dropdown then sits on top of the blur overlay via z-index... but it's still not the same as the live site. Think I need to rethink the whole dropdown animation instead of setting a negative top value to hide it initially.. ๐Ÿ˜ž
Hello Developer Pro
Hi all, I am new to the program. looking forward to.
25
21
New comment 6d ago
Hello Developer Pro
2 likes โ€ข 11d
Welcome to the party
1-10 of 11
James Rinella
3
28points to level up
@james-r-1539
Currently working in IT support but looking to transition into web/app development

Active 2h ago
Joined Jun 7, 2024
powered by