Skip to content

Instantly share code, notes, and snippets.

View luisdavid919's full-sized avatar
💻

LUIS DAVID luisdavid919

💻
View GitHub Profile
h1{
text-align: center;
}
.boton{
text-align: center;
background-color: #4CAF50 !important;
@luisdavid919
luisdavid919 / JS
Created May 12, 2022 22:17
JS EJERCICIO 2 GENERATION
class Book {
Title ="";
Genre ="";
Author = "";
Read = Boolean;
ReadDate = Date();
constructor(Title, Genre, Author, Read, ReadDate) {
this.Title = Title;
this.Genre = Genre;
@luisdavid919
luisdavid919 / HTML
Created May 12, 2022 21:26
EJERCICIO 2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ejercicio 2</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
</head>
<body>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ejercicio 1 DreamTeam</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
</head>
<type>
<?php
/* Database credentials. Assuming you are running MySQL
server with default setting (user 'root' with no password) */
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_NAME', 'users');
/* Attempt to connect to MySQL database */
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
<?php
require_once 'config.php';
// Create connection
//$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
//if ($conn->connect_error) {
// die("Conexión Fallida: " . $conn->connect_error);
//}
<form action="insert.php" method="post" autocomplete="on">
<div class="row">
<div class="form-group col-3">
<label for="folio"><strong>Folio:</strong></label>
<input type="text" class="form-control" value="" name="folio" id="folio" readonly>
</div>
<div class="form-group col-3">
<label for="date"><strong>Seleccione Fecha:</strong></label>
<input type="date" class="form-control" name="fecha" step="1" id="today" min="2018-08-06" value="" required>

Keybase proof

I hereby claim:

  • I am luisdavid919 on github.
  • I am espacioestelar (https://keybase.io/espacioestelar) on keybase.
  • I have a public key ASCjqYUUoQyEbyZ2wbJON_FkAl8zzaPwTYW4YRZBuvp1eQo

To claim this, I am signing this object:

<nav class="top-bar" data-topbar role="navigation">
<ul class="title-area">
<li class="name">
<h1><a href="#">Blog</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">