GithubHelp home page GithubHelp logo

mokhtarakle / connect-your-tribe-profile-card Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fdnd-task/connect-your-tribe-profile-card

0.0 0.0 0.0 5.32 MB

Redesign je visitekaartje op basis van een bestaande API.

Home Page: https://happy-sock-hen.cyclic.app/

License: GNU General Public License v3.0

JavaScript 22.62% CSS 49.59% EJS 27.78%

connect-your-tribe-profile-card's Introduction

Mokhtar

Hi there ๐Ÿ‘‹

My name is Mokhtar. I am an 23 year old frontend developer living in Amsterdam.

Stats

Does not include forked repositories

GitHub stats

Skills

My Skills

๐Ÿ’ป Frontend Developer

connect-your-tribe-profile-card's People

Contributors

ju5tu5 avatar koopreynders avatar mokhtarakle avatar suustenvoorde avatar

connect-your-tribe-profile-card's Issues

Design

Je kan misschien de kaarten op een ander manier kleuren en designen

Er ontbreekt een wiki

Er een ontbreekt een wiki, het kan handig zijn die wel te gebruiken om je proces te beschrijven.

JS tip

Je kan let gebruiken in plaats van var, sinds 2015 is het obsoleet geworden

svg

Je kan je svg ook inklappen in je HTML

Efficienter werken in JS

https://github.com/MokhtarAkle/connect-your-tribe-profile-card/blob/main/public/script.js#:~:text=var%20showButton%20%3D,frontBackside%22)%3B

Ik zie hier dat je vaak elementen selecteerd op deze manier: "document.querySelector". Dit kan efficienter worden gedaan door het niet steeds opnieuw te typen door de volgende functies in je script te plaatsen:
const $ = element => document.querySelector(element)
const $all = element => document.querySelectorAll(element)
Nieuwe code wordt dan:
var showButton = $("#openButton");
var frontAnimation =$("#animationFront");
var middleAnimation = $("#animationMiddle");
var rightAnimation = $("#animationRight");
var flipButton = $("#showCards");
var frontBackanim = $("#frontBackside");

En bij querySelectorAll : $all(".voorbeeld-class')

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.