Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
October 30, 2021 07:34 am GMT

OSD600 - Hacktoberfest 3

This is my third contribution to Hacktoberfest in October. I found a very interesting project, which is the virtual web store written in Typescript.

How I Get Started

This project reminds me the time when I was taking WEB422, I have learned about Angular, and I already have some basic concepts of how it works. And another think interested me about this project is its code structure - clear and straightforward. I can exactly reach to the file even though I do not go through all of them yet.

Issue

The issue that I would like to work on is about the footer sticks on the bottom of the screen, however, it is supposed to stick to the footer of the page, not the screen. web before fixing. I politely ask the maintainer to assign it to me, and he friendly replies to me and also I can ask him if I have any questions.

How I Accomplish This

In order to solve this bug, I am thinking about changing the template of the store page, which should be located some where in Store folder (thanks to the clear structure of the code). I reach to the Store folder and carefully take a look at each file.

The reason why the web has this issue is because the template of the Store page is not properly ordered. before fixing The footer of the page is not inside the div tag, which contains the content of the page. after fixing My solution would be moving the <app-store-footer></app-store-footer> to the div tag. After changing the template of the StoreComponent, this is how it supposed to be. Image description The store page become way better, and the footer does not take a lot of space compare to its original one. And I finally create a PR for this project.

Even though it is just about changing one line, it takes me a couple of hours to realize it. Something very simple (in my opinion), but my mind tends to overthink about this issue.

Experience

Working with the proper structured code is always easier than working with the code that is not divided into the folder. It helps us to look for the file, manage and maintain the program easily. If this project is not clearly ordered, I think it would take so long to find where to make the change and also going through all of the code.


Original Link: https://dev.to/tcvan0707/osd600-hacktoberfest-3-15li

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To