Html and node js | Sololearn: Learn to code for FREE!

+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%}

1/23/2022 7:24:21 PM

Adnan Ur Rehman

2 Answers

New Answer

+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?

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.