i am very new to programming and have been doing a html project for school, when the professor stated that we are only supposed to use nodejs for our project. Here i am afraid that the function i used below is vue and not node, can anyone confirm?
data: function () {
return {
games: []
};
},
mounted: function () {
var that = this;
$('.carousel.carousel-slider').carousel({
fullWidth: false,
indicators: true
});
$.getJSON('/getgames').then(function (games) {
that.games = games;
});
}
});