DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Gaurav Chaddha
Gaurav Chaddha

Posted on

Making my own startpage using HTML/CSS

This week I learned HTML and CSS from Thinkful Frontend development course included in Github student pack. I always wanted to have a cool browser startpage, so I went ahead and coded one myself using HTML/CSS I had learned. It took me about 5-6 hours to create my first startpage. Here is how it looks.

I also had to deploy a small server to serve the startpage to Firefox because I wanted the link to look better than "file:///". So some quick Google searches lead to a small startup server script. I then use that server's address and port as my home page in Firefox.

Source: https://github.com/GauravChaddha1996/startpage
Care to share yours?

Top comments (2)

Collapse
ben profile image
Ben Halpern

So some quick Google searches lead to a small startup server script.

May I ask what this was?

Collapse
gauravchaddha1996 profile image
Gaurav Chaddha Author

I could set a local file as my startpage but I really disliked the link coming as "file:///". While searching for ways to do this - somebody suggested to start a local server to serve the startpage. So I made a small python script after some Google to start a local server at port 8000(I'll post the python code later when I'm home. It simply used httpd server). Then I made the startpage it was serving as my home tab in Firefox. Finally I added the command to startup applications in my Ubuntu installation to make sure the server gets started after the boot-up.

πŸ€” Did you know?

Β 
πŸŽ™ DEV hosts some podcasts that you can find on our Podcasts page.