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
Day 4 of Codewars

Todayโ€™s challenge was about detecting a Pangram. Which is a sentence that contains every letter of the alphabet at least once.

The idea was simple:

1. Convert the sentence to lowercase.

2. Loop through all letters from aโ€“z.

3. Check if each letter exists in the sentence.

If even one letter is missing โ†’ not a pangram.
If all letters are present โ†’ it is a pangram.

This challenge was actually fun because it required thinking about iteration and string checking in a clean way.

Another step forward in sharpening my problem-solving skills ๐Ÿš€

#Codewars #JavaScript #StackMinds
๐Ÿ‘2โค1