StackMinds
195 subscribers
192 photos
37 videos
3 files
91 links
Two Developers ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป One Journey ๐Ÿ›ฃ

๐Ÿ‘จโ€๐Ÿ’ป Nahom: IS | Self-Taught Developer | Web Developer | Gamer

๐Ÿ‘ฉโ€๐Ÿ’ป Ribka: CS | Self-Taught Developer | Web Developer | Book Lover

Learning๐Ÿ“–Building๐Ÿ—Sharing๐Ÿš€
Download Telegram
Day 3 of Codewars

Todayโ€™s challenge was about extracting the domain name from a URL.

At first, it actually caught me off guard ๐Ÿ˜ญ. I kept mixing up split() and slice(), and for a moment I was asking myself: โ€œWhy? Why? WHYYYYYYYYY?โ€

After stepping back and looking at the logic againโ€ฆ โ€œOhhhhhhโ€ฆ thatโ€™s why ๐Ÿ˜….โ€

Once I realized the mistake, the solution became pretty straightforward.

Even though it tricked me for a bit, I really enjoyed this challenge. These small problems are great for sharpening how you think about string manipulation and logic.

LET'S GOOOOO๐Ÿฆพ
10 POINTS CLEAR AT THE TOP AND ANOTHER STEP FORWARD IN THE JOURNEY๐Ÿš€

#Codewars #JavaScript #StackMinds