VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Talking Clock - The Daily Programmer #321

Talking Clock - The Daily Programmer #321

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Link to the problem in the video: https://www.reddit.com/r/dailyprogrammer/comments/6jr76h/20170627_challenge_321_easy_talking_clock/ Follow Cody on LBBO: You missed the HH:00 case. Currently, for 00:00 your function would output -It's twelve oh am- but the description requires it to output -It's twelve am- (see 0:43 ). However, if you were to just leave the minute string empty, you would have to spaces after each other in the output string (as you did at 13:41 ). You could handle that by filtering the array for empty strings before joining them or by replaceing two spaces with one in the output string.
Otherwise, this is a nice video.

Date: 2022-03-14

Comments and reviews: 6


You are a very efficient and clear Javascript/Programmaing teacher! I learned more in 15 minutes with this course of yours than reading 1 houir of Javascript theory! Please do more and span all the logical algorithmic cases in Javascript!
reply

thank you! as someone who has no background in coding, I have been feeling as if I have pieces to the puzzle but with not much of a clue how the big picture looks. This video helps tie all the pieces together.
reply

I'd have just made a massive array with the names for numbers. It's not a DB, there's no need for normalisation or processing. If you do want to avoid repeating constants, just reference unique words.
reply

It's a bit to complicated approach for me. Can we just create one array from 1 to 30 and play let's say 13:35 -> It's tweny five to two pm? I think it's more straightforward. What do you think?
reply

What IDE is that? I will be starting JS soon and I like the feature of how your console.log() function updates the result as you enter code.
reply

Thanks for the video. It's a good real-world example that shows quite a lot of JavaScript techniques for noobs like myself.
reply
Add a review, comment






Other channel videos