سلام :
من این کد رو درست کردم و نمیدونم چرا اجرا نمیشه لطف میکنید کمک کنید.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script type="text/javascript">
{
if (navigator.onLine == true)
swal({
title: "Good job!",
text: "You clicked the button!",