Comments (6)
Can you give more advice on how to use this piece of code and where to put it?
Yeah sure, follow these steps.
Step 1 : On index.html
surround the year(2020) text in line:240 with a span
tag and Add current-year
id attribute to it.
- Copyright © 2020 YOUR NAME
+ Copyright © <span id="current-year">2020</span> YOUR NAME
Step 2 : Add the bellow code inside js/scripts.js
// Show current year
$('#current-year').text(new Date().getFullYear());
Done 👍 If you have any queries let me know 🙂
from devportfolio.
Can you give more advice on how to use this piece of code and where to put it?
from devportfolio.
Thanks for the response @vikasganiga05 ! Feel free to PR this and I'd be happy to merge it.
from devportfolio.
Thanks for the response @vikasganiga05 ! Feel free to PR this and I'd be happy to merge it.
Sorry for the late reply. I like to work on this issue 🙂
from devportfolio.
I created a PR for this issue. Please review it 🙂 👍
from devportfolio.
Thanks for getting that PR up, merged!
from devportfolio.
Related Issues (20)
- Colours Refusing To Change HOT 6
- Contact section BUG. Page gets broken when click send with empty email field HOT 2
- Couldn't able to build
- Language selection HOT 1
- node.js version for npm installing gulp-sass HOT 2
- Social div block not showing up in Brave Browser
- npm install fails HOT 2
- npm install returning errors (i have python3 installed)
- Need some changes in design HOT 1
- Ooo
- Projects p off center when p text is short HOT 1
- use netlify
- Demo link broken HOT 1
- Redesigned Page HOT 1
- Gulp watch doesnt update scss or js HOT 2
- ![image](https://user-images.githubusercontent.com/19364203/77529210-79bc8c80-6e8f-11ea-8f59-03ffb413a7ad.png) HOT 1
- color scheme changes not taking effect HOT 2
- Just a heads up
- Portfolio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devportfolio.