• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Instructions for making your own website to count the days of love in 2019

AnonyViet by AnonyViet
January 18, 2024
in Tips
0

This article is dedicated to those of you who are in a relationship. Want to do something to celebrate your love!!! Today I share the source code for free and guide you to make your own website to count the days of love.

Join the channel Telegram belong to AnonyViet 👉 Link 👈

This website is designed in a simple, luxurious style Material design by Google. Colors are carefully selected and harmoniously coordinated. I wrote this website with HTML5, CSS3 and JavaScript only!! You just need to download and edit the content again and then Upload Go to the host to use it.

Demo of the love day counting website interface

Instructions for making your own website to count the days of love in 2019

Highlights of the 2019 love day counting website

  • The website is designed modernly and luxuriously.
  • The pre-mixed colors are harmonious and soothing to the eyes of girls.
  • Written in HTML5, CSS3 and JavaScript, it's easy to edit and change content.
  • Self-stretching and compatible with most screen types of devices.

Instructions for editing website content

You need to download the source code of the website from the link below:

After downloading, right-click on the folder and select Extract Here to extract. Unzip the file and you will receive a folder named beenTogether2019. Open that folder and you will see files like the image below.

Instructions for making your own website to count the days of love 2019 8

Now we will proceed to edit the website content!! To edit, you should install a program that supports writing web programming languages. I am using it Visual Studio Code for web programming, if you like to use it like me, you can download it for free here !

Edit image content

Open the img folder and Replace 02 images internal representation into your image.

Instructions for making your own website to count the days of love 2019 9

However, to avoid wasting time editing the code, just name the image as it was originally!!

  • thong.jpg is a photo of a male friend
  • page.jpg is a photo of a female friend

Of course, you should keep the image extension in .jpg format to make the image lighter so the web loads faster.

Edit website content

We'll go back out and open the file index.html using editing software. The white content in the image below is the content displayed on the web, you can edit!!

Instructions for making your own website to count the days of love 2019 10

Also in the tag <img src="https://anonyviet.com/web-dem-ngay-yeu-nhau-2019/img/thong.jpg" class="avatar"> and <img src="https://anonyviet.com/web-dem-ngay-yeu-nhau-2019/img/trang.jpg" class="avatar">is the path to the avatar image file. If your avatar is not displayed, check this section to see if the name of your avatar is correct in the folder img not yet!!

Set up a date

The last thing we need to do is reset the date we started dating. Open the file main.js level up vscode for editing. You will see the contents of the File main.js like the photo below.

Instructions for making your own website to count the days of love 2019 11

Look for the line var startDate = new Date(2018, 10, 1);and replace the 3 numbers in parentheses with your date. For example, if I have a date on November 1, 2018, I will replace it as follows:

  • 2018: It's the year I started dating them – this is correct so I'll keep it.
  • ten: I dated November but when I replaced it, I filled in 10.
    Because in JavaScript, you have to subtract the number of months by 1 unit.
  • first: Your date.

After editing, save and upload to the host. If you do not know how to upload web source to the host, please refer to the instructions below.

The article scored: 5/5 – (100 votes)

Previous Post

4 simplest ways to recover SMS messages on Samsung

Next Post

5 best Safari extensions for macOS: Did you know?

AnonyViet

AnonyViet

Related Posts

How to see your email account creation date
Tips

How to see your email account creation date

November 11, 2025
Microsoft’s ranking of the 10 best Windows versions
Tips

Microsoft’s ranking of the 10 best Windows versions

November 11, 2025
Recover deleted data on Windows 10 with Windows File Recovery
Tips

Recover deleted data on Windows 10 with Windows File Recovery

November 10, 2025
Tips

Why hasn’t your computer been updated to Windows 10 2004?

November 9, 2025
3 OCR Tools Extract Text from Images without Retyping
Tips

3 OCR Tools Extract Text from Images without Retyping

November 8, 2025
Ways hackers use to hack your Facebook and how to fix it
Tips

Ways hackers use to hack your Facebook and how to fix it

November 7, 2025
Next Post
5 best Safari extensions for macOS: Did you know?

5 best Safari extensions for macOS: Did you know?

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

How to create an order on Shopee to send items to relatives

How to create an order on Shopee to send items to relatives

November 12, 2025
How to install Anh Hai’s Pho Shop on MacBook is super easy

How to install Anh Hai’s Pho Shop on MacBook is super easy

November 11, 2025
How to turn off ads on Yoosee app in just 1 minute

How to turn off ads on Yoosee app in just 1 minute

November 11, 2025
Windows 11 and MS Office 2021 lifetime license, genuine from  during Keysoff’s 11.11 sale

Windows 11 and MS Office 2021 lifetime license, genuine from $14 during Keysoff’s 11.11 sale

November 11, 2025
How to create an order on Shopee to send items to relatives

How to create an order on Shopee to send items to relatives

November 12, 2025
How to install Anh Hai’s Pho Shop on MacBook is super easy

How to install Anh Hai’s Pho Shop on MacBook is super easy

November 11, 2025
How to turn off ads on Yoosee app in just 1 minute

How to turn off ads on Yoosee app in just 1 minute

November 11, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

How to create an order on Shopee to send items to relatives

How to create an order on Shopee to send items to relatives

November 12, 2025
How to install Anh Hai’s Pho Shop on MacBook is super easy

How to install Anh Hai’s Pho Shop on MacBook is super easy

November 11, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply