Posts by victor sousa • 51 points
2 posts
-
2
votes0
answers121
viewsQ: How to correctly implement an asynchronous counter in Node.js?
I am experiencing difficulties in implementing an asynchronous counter using Node.js and Mongodb. Follows the code: app.get('/', req, res ()=> { var number = await Number.find({}); // Leitura do…
-
2
votes1
answer194
viewsQ: How to inherit a value from a given attribute in CSS?
Hello, everybody. How do I inherit a value from a given attribute in CSS? Example: <div class="flex" id="1" style="line-height: 100px; height: 100px; background-color: red;">1</div>…