jack792 / frontendvoordesigners Goto Github PK
View Code? Open in Web Editor NEWThis project forked from koopreynders/frontendvoordesigners
Home Page: https://jack792.github.io/frontendvoordesigners/
This project forked from koopreynders/frontendvoordesigners
Home Page: https://jack792.github.io/frontendvoordesigners/
Hier kun je een if-else gebruiken.
if(button.textContent == 'LESS INFO'){
button.textContent = 'MORE INFO';
}else{
button.textContent = 'LESS INFO'
}
Wat veiliger is, is om te kijken welke class actief is. Zodat de button de goede tekst toont.
bv
if(p.classList.contains('down')){
button.textContent = 'LESS INFO';
}
Kijk hier wat voor methodes je hebt voor de classList
https://developer.mozilla.org/en-US/docs/Web/API/Element/classList
Jouw website doet het niet online. Dat komt omdat de json nu niet op https staat en wordt geblokkeerd:
XMLHttpRequest cannot load http://dennistel.nl/movies. Not allowed to request resource
Om ervoor te zorgen dat je website het zometeen wel doet, moet je het json file downloaden en bij je project in een map opslaan. Als je dat file gebruikt voor je website doet hij het wel online.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.