DEV Community

Gaurav
Gaurav

Posted on

Eighth-week web dev

Hi Everyone!! It has been 8 weeks since started doing web development. Apart from CSS, This week I have worked on small projects with simple HTML, CSS, and javascript.

1)Tic-Tac-Toe
https://github.com/Gauravrandheer/Tic-Tac-Toe-with-html-css-and-Js

2)Simple todo list
https://github.com/Gauravrandheer/To-do-list-with-simple-html-css-and-javascript

3)Digital clock
https://github.com/Gauravrandheer/Digital-clock-with-basic-html-css-and-javascript

I know these projects are simple, but I learned a lot from these projects. Please provide any feedback you have or you have done during this phase of your web dev, should I keep building small projects? or I should go for a bigger project.

Thanks for reading!!

Top comments (2)

Collapse
 
valeriavg profile image
Valeria

Nicely done! One little thing though, in tic-tac-toe instead of doing this:

document.getElementById(control.id).innerHTML="X"
Enter fullscreen mode Exit fullscreen mode

You can simply do:

control.innerHTML="X"
Enter fullscreen mode Exit fullscreen mode

The reference to the object in DOM tree will be valid until the element is removed from DOM.

Collapse
 
gauravrandheer profile image
Gaurav

Thanks