Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Review Squad 3 Laura V Bailon M #44

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions src/cipher.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CIFRAR</title>
<link rel="stylesheet" href="style2.css"/>
</head>
<body class="section3">
<main>
<header>
</header>
<nav>
<ul>
<a href="index.html">Inicio</a>
<a href="decipher.htm">Descifrar</a>
</ul>
</nav>
<section>
<article class="">
<p>Hola nombre</p><br>
<form action="">
Elige un número ¡Recuerda también enviar este número a tu contacto!:<br>
<input type="text" id=""><br>
Escribe tu mensaje a cifrar:<br>
<input type="text" id=""><br>
<input type="button" value="CIFRAR" onclick="alert()">
</form><br>
</article>
</section>
<aside class="">
<button onclick="window.location.href = 'decipher.htm';">DESCIFRAR</button>
<button onclick="window.location.href = 'index.html';">INICIO</button>
</aside>
<footer> REDES SOCIALES </footer>
</main>
</body>
</html>
6 changes: 6 additions & 0 deletions src/cipher.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ const cipher = {
};

export default cipher;

const decipher = {
// ...
};

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esta parte que hace? por qué la pusimos?

export default decipher;
37 changes: 37 additions & 0 deletions src/decipher.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>DESCIFRAR</title>
<link rel="stylesheet" href="style3.css"/>
</head>
<body class="section4">
<main>
<header>
</header>
<nav>
<ul>
<a href="index.html">Inicio</a>
<a href="cipher.htm">Cifrar</a>
</ul>
<section>
<article class="">
<p>Hola nombre</p><br>
<form action="">
Introduce el número que tu contacto envío:<br>
<input type="text" id=""><br>
Escribe tu mensaje cifrado:<br>
<input type="text" id=""><br>
<input type="button" value="DESCIFRAR" onclick="alert()">
</form><br>
</article>
</section>
<aside class="">
<button onclick="window.location.href = 'cipher.htm';">CIFRAR</button>
<button onclick="window.location.href = 'index.html';">INICIO</button>
</aside>
<footer> REDES SOCIALES </footer>
</main>
</body>
</html>
Binary file added src/images/porta1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/porta2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/porta3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/porta4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 15 additions & 6 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@
<html>
<head>
<meta charset="utf-8">
<title>Caesar Cipher</title>
<title>CIFRADO CÉSAR</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="root">
<h1>Hello world!</h1>
</div>
<script src="index.js" type="module"></script>
<body class="section1">
<main>
<section>
<article class="">
<h1>¡Qué nadie se entere!</h1><br>
<p>Comparte secretos, cifra y descifra mensajes sólo con tus amigos</p>
</article>
<article class="">
<p>Introduce tu nombre</p>
<input type="text" value="">
<button onclick="window.location.href = 'inicio.htm';">INGRESA</button>
</article>
</section>
</main>
</body>
</html>
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import cipher from './cipher.js';

console.log(cipher);

import decipher from './cipher.js';

console.log(decipher);
30 changes: 30 additions & 0 deletions src/inicio.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>BIENVENIDO</title>
<link rel="stylesheet" href="style1.css" />
</head>
<body class="section2">
<main>
<header>
</header>
<nav>
<ul>
<a href="index.html">Inicio</a>
</ul>
</nav>
<section>
<article class="">
<h1>BIENVENIDO</h1><br>
<p>¿Qué quieres hacer?</p>
</article><br>
<article class="enlacepag">
<button onclick="window.location.href = 'cipher.htm';">CIFRAR</button>
<button onclick="window.location.href = 'decipher.htm';">DESCIFRAR</button>
</article>
</section>
<footer> REDES SOCIALES </footer>
</main>
</body>
</html>
40 changes: 40 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
body{
background-color: #66CCFF;
}
body.section1{
background-image: url("./images/porta1.jpg");
}

article{
position:static;
text-align:center;
}

footer{
background-color: #CEE3F6;
width: 1200px;
height: 10px;
margin: 0px;
padding: 30px;
bottom: 0px;
position: fixed;
text-align: center;
}

h1{
color:#FF4500;
font-size:45px;
text-align: center;
}

p{
color:#FFFFFF;
font-size:30px;
text-align: center;
}

input{
width: 400px;
box-sizing: border-box;
border: 1px solid #0B0B3B;
}
64 changes: 64 additions & 0 deletions src/style1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
body{
background-color: #66CCFF;
}

body.section2{
background-image: url("./images/porta2.jpg");
}

header{
opacity: .5;
background-color: #0B0B3B;
width: 1200px;
height: 20px;
margin: 0px;
padding: 40px;
top: 0px;
align: right;
position:static;
}

article{
position:static;
text-align:center;
}

aside{
position:static;
text-align:right;
}

footer{
opacity: .3;
background-color: #CEE3F6;
width: 1200px;
height: 11px;
margin: 0px;
padding: 30px;
bottom: 0px;
position: fixed;
text-align: center;
}

h1{
font-size:45px;
text-align: center;
}

p{
font-size:30px;
text-align: center;
}

a{
color:#000033;
}
a:hover{
color:#00CCFF;
}

input{
width: 400px;
box-sizing: border-box;
border: 1px solid #0B0B3B;
}
63 changes: 63 additions & 0 deletions src/style2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
body{
background-color: #66CCFF;
}

body.section3{
background-image: url("./images/porta3.jpg");
}

header{
opacity: .5;
background-color: #0B0B3B;
width: 1200px;
height: 20px;
margin: 0px;
padding: 40px;
top: 0px;
position:static;
}

article{
position:static;
text-align:center;
}

aside{
position:static;
text-align:right;
}

footer{
opacity: .3;
background-color: #CEE3F6;
width: 1200px;
height: 11px;
margin: 0px;
padding: 30px;
bottom: 0px;
position: fixed;
text-align: center;
}

h1{
font-size:45px;
text-align: center;
}

p{
font-size:30px;
text-align: center;
}

a{
color:#000033;
}
a:hover{
color:#00CCFF;
}

input{
width: 400px;
box-sizing: border-box;
border: 1px solid #0B0B3B;
}
63 changes: 63 additions & 0 deletions src/style3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
body{
background-color: #66CCFF;
}

body.section4{
background-image: url("./images/porta4.jpg");
}

header{
opacity: .5;
background-color: #0B0B3B;
width: 1200px;
height: 20px;
margin: 0px;
padding: 40px;
top: 0px;
position:static;
}

article{
position:static;
text-align:center;
}

aside{
position:static;
text-align:right;
}

footer{
opacity: .3;
background-color: #CEE3F6;
width: 1200px;
height: 11px;
margin: 0px;
padding: 30px;
bottom: 0px;
position: fixed;
text-align: center;
}

h1{
font-size:45px;
text-align: center;
}

p{
font-size:30px;
text-align: center;
}

a{
color:#000033;
}
a:hover{
color:#00CCFF;
}

input{
width: 400px;
box-sizing: border-box;
border: 1px solid #0B0B3B;
}