Skip to content

Free Code Camp - Front End Development Libraries Project #5: Build a 25 + 5 Clock

Notifications You must be signed in to change notification settings

PavlinaPs/25-5-clock-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freeCodeCamp - Front End Development Libraries Project

Build a 25 + 5 Clock

This is my solution to the Build a 25 + 5 Clock, the final of 5 projects to earn the Front End Development Libraries certification. FreeCodeCamp's mission is to help people learn to code for free.

Table of contents

Overview

The challenge

Fulfill the user stories and get all of the tests to pass. You can use any mix of HTML, JavaScript, CSS, Bootstrap, SASS, React, Redux, and jQuery to complete this project.

Screenshot

Desktop layout

Links

My process

I used Vite and the useRef hook for the first time.

I have already used useReducer hook in previous project, implementing it went quite well.

All of the trouble concentrated in the <audio> element and also working with <svg>s.

Built with

  • React.js

What I learned

I learned really a lot and also realized that I can rely on my previous JavaScript knowledge. The order of learning seems to be correct.

useReducer hook first looked complicated, but in fact it is not and I can see its advantages in maintaining the state.

I had a lot of trouble with the <audio> element, again. First hooking it up and second passing the last audio test. I would rather use Audio() constructor. But I made it work.

I learned how to work with <svg>s in React.js, without any additional library, as a component. I found a great article on this topic at Free Code Camp, I saved it below with other useful links.

A also learned a little more about fonts, after I had realized that I need a monospace font, in order the timer doesn't jump sideways when digit 1 is displayed. I didn't like any such font on Google fonts, so I downloaded one and made @font-face rule in css.

Continued development

I still have a long road ahead of me, learn more hooks, custom hooks, CRUD, APIs, etc.

Useful resources

Author

Acknowledgments

It is great that I can learn to code with freeCodeCamp. I really appreciate what they are doing for the coding community. The projects are all very useful for me. All of them. Thank you!

About

Free Code Camp - Front End Development Libraries Project #5: Build a 25 + 5 Clock

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published