Skip to content

Instantly share code, notes, and snippets.

View chamatt's full-sized avatar

Matheus Vicente chamatt

View GitHub Profile
@chamatt
chamatt / FetchGETExample.js
Created November 28, 2018 15:46
Exemplo de Fetch
fetch("https://jsonplaceholder.typicode.com/posts")
.then(resposta => resposta.json())
.then(json => FuncaoQueSeraExecutada(json));
@chamatt
chamatt / formulario.html
Last active November 28, 2018 16:49
Fomulario
<h1 class="text-center mt-4 blog-title-header">Adicionar Post</h1>
<hr class="blog-title-separator" />
<div class="add-post-container">
<form id="add-post-form">
<input class="form-control add-post-title" type="text" name="title" placeholder="Titulo" />
<textarea class="form-control add-post-body" name="body" placeholder="Corpo" >
</textarea>
<input class="form-control add-post-title" type="text" name="image" placeholder="URL da Imagem"/>
<div class="text-center">
<button type="submit" class="btn btn-primary add-post-button text-center">
@chamatt
chamatt / BasicEsqueleton.html
Last active November 28, 2018 15:30
Esqueleto básico do corpo
...
<header class="header-container container-fluid">
<span class="header-title"> Blog Simples</span>
</header>
<main class="container conteudo"><!-- Blog vai aqui --></main>
<footer class="footer-container container-fluid">
<span class="footer-title"> Copyright ® Matheus Vicente</span>
<span class="footer-title"> Nenhum direito reservado</span>