Fork deze leertaak en ga aan de slag. Onderstaande outline ga je gedurende deze taak in jouw eigen GitHub omgeving uitwerken. De instructie vind je in: docs/INSTRUCTIONS.md
This project is licensed under the terms of the MIT license.
This project forked from fdnd-task/the-web-is-for-everyone-interactive-functionality
Ontwerp en maak voor een opdrachtgever een interactieve toepassing die voor iedereen toegankelijk is
Home Page: https://erin-brainy-horse.cyclic.app/
License: MIT License
Fork deze leertaak en ga aan de slag. Onderstaande outline ga je gedurende deze taak in jouw eigen GitHub omgeving uitwerken. De instructie vind je in: docs/INSTRUCTIONS.md
This project is licensed under the terms of the MIT license.
app.get('/ratings', function(request, response) {
response.render('ratings')
});
app.get('/lijsten', function (request, response) {
fetchJson('https://fdnd-agency.directus.app/items/f_list').then((apiData) => {
console.log(apiData.data)
response.render('lijsten.ejs', {data: apiData.data})
});
})
app.get('/ratings', function (request, response) {
fetchJson('https://fdnd-agency.directus.app/items/f_list').then((apiData) => {
console.log(apiData.data)
response.render('lijsten.ejs', {data: apiData.data})
});
Zoals hierboven gebruik je twee keer de route /ratings, maak hier een GET route van of zet ze onder elkaar neer.
Zo creëer je meer overzicht binnen je code.
Let op de volgorde van je routes.
De volgorde in je code is nu: /ratings, /lijsten, /ratings, /house, /lijsten/:id.
In je sitemap is de volgorde als volgt: home, lijsten, huis, ratings, users, notities.
Hou de volgorde van je sitemap ook aan in je code.
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.