Use as follows
<script>
import Icon from '@iconify/svelte/dist/OfflineIcon.svelte';
import icon_data from '@iconify-icons/ic/round-login';
</script>
<Icon icon="{icon_data}" />
- for cross use ic:round-close
- for tick use ic:round-check
- for info use ic:round-info
Investigate https://www.instagram.com/instagram/?__a=1
Investigate this
// for CA Code ?
// https://stackoverflow.com/a/35821359
parseInt('A6HJ92B', 36); // 22160072099
(22160072099).toString(36).toUpperCase(); // "A6HJ92B"
https://phptuts.github.io/svelte-docs/firebase-recipe-site/login/
- convert displayName to a username, slugify then replace - with _, Display the username in the navbar.
// Try Catch with Await.(https://javascript.info/)
async function f() {
try {
let response = await fetch('/no-user-here');
let user = await response.json();
} catch (err) {
// catches errors both in fetch and response.json
alert(err);
}
}
f();
- Use
fetchSignInMethodsForEmail()
for checking if a new account. - Check this
https://svelte.dev/repl/850d34e7f22b4a13935a078b62c2e19a?version=3.29.7