Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
<html lang='en'>
<head>
<!-- Required meta tags -->
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<!-- Bootstrap CSS -->
<link href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet'
integrity='sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3' crossorigin='anonymous'>
<title>Hello, world!</title>
<style>
img {
border-radius: 150px;
width: 200px;
margin: auto;
border: 1px solid #ececee;
padding: 5px;
margin-top: 20px;
-webkit-box-shadow: 2px 3px 12px -1px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 2px 3px 12px -1px rgba(0, 0, 0, 0.75);
box-shadow: 2px 3px 12px -1px rgba(0, 0, 0, 0.75);
}
</style>
</head>
<body>
<div class='container'>
<div class='row mt-5'>
</div>
</div>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'
integrity='sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p'
crossorigin='anonymous'></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src='https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js' integrity='sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB' crossorigin='anonymous'></script>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js' integrity='sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13' crossorigin='anonymous'></script>
-->
<script src='https://code.jquery.com/jquery-3.6.0.min.js'
integrity='sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=' crossorigin='anonymous'></script>
<script>
$(() => {
var myEnum = {
name: 'Adı Soyadı',
phone: 'Telefon',
nat: 'Ülke',
gender: 'Cinsiyet',
email: 'Mail',
cell:'Cep'
};
const onLoad = async => {
const _url = `https://randomuser.me/api/?results=10&inc=gender,name,nat,picture,phone,email,cell`;
$.getJSON(_url, (data) => {
$.map(data.results, (p, index) => {
let tableData = [`<div class='col-4 mt-4'><div class='card shadow-sm' style='border-radius: 5px;'>
<img src='' alt='...'><div class='card-body'><table class='table'><tbody>`];
for (let i = 0; i < Object.keys(p).length; i++) {
let key = Object.keys(p)[i];
let item = '';
if (typeof (p[key]) === 'object') {
if (key === 'picture' || key === 'image') {
let img = tableData[0]; let large = p[key]['large'];
tableData[0] = img.replace("src=''", "src='" + large + "'")
}
else {
let name = ''
$.map(Object.keys(p[key]), (o) => {
name += p[key][o] + ' '
})
item = `<tr><td>${myEnum[key]}</td><td> : </td><td> ${name}</td></tr>`;
}
// item = `<tr><td>${key}</td><td> : </td><td> ${p[key]}</td></tr>`;
}
else if (typeof (p[key]) === 'string') {
item = `<tr><td>${myEnum[key]}</td><td> : </td><td> ${p[key]}</td></tr>`;
}
tableData.push(item)
if (i == Object.keys(p).length - 1) {
tableData.push(`</tbody></table></div></div></div>`);
let design = tableData.join(' ');
$('.row').append(design);
}
}
})
})
}
onLoad();
});
</script>
</body>
</html>
![]() |
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team