<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
HTTP request in Javascript.
andri gunawan
How do I make an HTTP request in Javascript?
To make an HTTP request in JavaScript, you can use the built-in fetch function or the XMLHttpRequest object.
Here is an example of using fetch to make a GET request:
javascript
Copy code
fetch('https://example.com/data')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
In this example, fetch is called with the URL of the resource to retrieve. The then method is called on the resulting promise, which converts the response to JSON format and logs it to the console. If an error occurs
andri gunawan
Contoh code html dan css bussines profil
Berikut adalah contoh kode HTML dan CSS untuk halaman profil bisnis:
HTML:
html
Copy code
<!DOCTYPE html>
<html>