+ 1

Html and node js

Hello i am learning node js for backend from a tutorial on YouTube. In the tutorial that guy used this {%var_name%} and then using node js he replaced this by an api data. My question is that what is this thing called. {%var_name%}

23rd Jan 2022, 7:24 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
2 odpowiedzi
+ 2
I'd say it's called dynamic variable names, but not sure about percentage symbols, does your tutorial has something to do with PHP too?
23rd Jan 2022, 9:50 PM
cadbrooke
cadbrooke - avatar
0
Sorry i forgot to remove the question. I already got the answer. Sorry for wasting your time. {%var_name} this wasn't any variable. He used it just as a string and then replaced it with api data while creating response.
23rd Jan 2022, 10:02 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar