Giter Club home page Giter Club logo

ajitverma15 / interactive-portfolio Goto Github PK

View Code? Open in Web Editor NEW
169.0 1.0 36.0 3.6 MB

A clean, beautiful and responsive portfolio templete with using only HTML and css. Later on add some javascript for animation and designing.

Home Page: https://ajitverma15.github.io/Interactive-Portfolio/

License: MIT License

HTML 61.81% CSS 38.19%
html5 css3 portfolio-website portfolio-site interactive portfolio portfolio-template developer-portfolio-template resume

interactive-portfolio's People

Contributors

ajitverma15 avatar arushi2610 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

interactive-portfolio's Issues

Add loader

As in your README's For the future section, you want to add a loader. I can help you in that. Here's how:
Create a JS File called loader or your choice, link it at bottom of the body tag under body tag and also add 'defer=defer' in the script tag which you will use to link the JS File.
In loader.js, type the given code. Replace the comment by the code to be executed after the page is loaded.

document.body.addEventListener("load", (e) => {
    // code to be executed after the page is loaded
})

If you confused where the script tag and what tag to be added, see the syntax here:

<html>
<head>
<!-- Your Head Tag Code -->
</head>
<body>
<!-- Your Body Tag Code -->

<!-- The below is the code to be added -->
<script defer="defer" src="loader.js"></script>
</body>
</html>

Add Dark Mode

Whether you also want to add dark mode, just follow me! Read:
Create file called switcher or other as you want, link it as defer in body tag and in switcher type the code:

function toggleDarkMode(){
    document.body.classList.toggle("dark");
}

After it is, save JS File. Next, in your css stylesheet, add the following code. The given code contain only solid colors, you can change it to other colors as you need to suit them best in your site.

.dark{
    color: white;
    background-color: black;
}

Well, if you want to add different colors in different elements like div.container contains div.row and you want to add different colors in both of these, just use .dark.div.container div.row. Code:

.dark.div.container div.row{
    color: purple;
}

It is neccessary that the JS File should be linked. Create a button element in your body tag and set its content to Dark Mode or your choice and set a onclick attribute to call the toggleDarkMode() function.

<button onclick="toggleDarkMode()">Dark Mode</button>

You can also style anything excluding JS.

Help needed

Sir how can i make my demo website from this repo. What things i needed to change to run github pages successfully

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.