Home >Web Front-end >JS Tutorial >Baidu homepage used by technical men to express their love to girls_javascript skills
One day I suddenly thought, if I could use the programmer skills I learned to express my love to my girlfriend, wouldn’t it be high-end and classy?
I do it immediately when I think of it. The first thing that comes to my mind is to change the hosts file and change the browser’s homepage to a webpage designed by myself.
Female students in China usually use the Baidu homepage, so I made a copy of the Baidu homepage myself. The specific effect is as follows:
Doesn’t it look high-end? Of course I failed in the end. How could a programmer have a girlfriend?
But for the benefit of the majority of diaosi friends, I am posting these codes now. Even if one person succeeds, I will hide my merit and fame.
Please refer to Baidu for the steps to change the hosts file. I won’t explain it in detail here.
Baidu source code written by myself: