skip to Main Content

How to simulate equivalent amount in json

I am trying to simulate a REST api endpoint function where I want to check the endpoint for an exchange currency Trying on postman and i Do this https://api.flutterwave.com/v3/transfers/rates?amount=1000&destination_currency=USD&source_currency=KES thereafter i input my secret key I get this as response…

VIEW QUESTION

Replacechild on a paragraph javascript

I am trying to edit a post and dynamicaly update the Dom with my editPost function (The posts are created with another Javascript function). function editPost(post_id){ // get the post text const post_element = document.getElementById(post_id); const post_text_element = post_element.querySelector('p.card-text'); const…

VIEW QUESTION
Back To Top
Search