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 1 commit
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
27 changes: 13 additions & 14 deletions src/cipher.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,27 @@
<head>
<meta charset="utf-8">
<title>CIFRAR</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="style2.css"/>
</head>
<body>
<body class="section3">
<main>
<header>
<nav>
<ul>
<a href="index.html">Inicio</a>
<a href="decipher.htm">Descifrar</a>
</ul>
</header>
<nav>
<ul>
<a href="index.html">Inicio</a>
<a href="decipher.htm">Descifrar</a>
</ul>
</nav>
<section>
<article class="">
<p>Hola nombre</p>
<form>
<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" name="num"><br>
<input type="text" id=""><br>
Escribe tu mensaje a cifrar:<br>
<input type="text" name="mensaj"><br>
Mensaje cifrado:<br>
<input type="text" name="cifrad"><br>
<button type="submit"> CIFRAR</button>
<input type="text" id=""><br>
<input type="button" value="CIFRAR" onclick="alert()">
</form><br>
</article>
</section>
Expand Down
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;
26 changes: 12 additions & 14 deletions src/decipher.htm
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,26 @@
<head>
<meta charset="utf-8">
<title>DESCIFRAR</title>
<link rel="stylesheet" href="style.css"/>
<link rel="stylesheet" href="style3.css"/>
</head>
<body>
<body class="section4">
<main>
<header>
<nav>
<ul>
<a href="index.html">Inicio</a>
<a href="cipher.htm">Cifrar</a>
</ul>
</header>
<nav>
<ul>
<a href="index.html">Inicio</a>
<a href="cipher.htm">Cifrar</a>
</ul>
<section>
<article class="">
<p>Hola nombre</p>
<form>
<p>Hola nombre</p><br>
<form action="">
Introduce el número que tu contacto envío:<br>
<input type="text" name="num"><br>
<input type="text" id=""><br>
Escribe tu mensaje cifrado:<br>
<input type="text" name="mensaj"><br>
Mensaje descifrado:<br>
<input type="text" name="cifrad"><br>
<button type="submit"> DESCIFRAR</button>
<input type="text" id=""><br>
<input type="button" value="DESCIFRAR" onclick="alert()">
</form><br>
</article>
</section>
Expand Down
Binary file removed src/images/friend-1820040_1920.jpg
Binary file not shown.
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.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<title>CIFRADO CÉSAR</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<body class="section1">
<main>
<section>
<article class="">
<h1>¡Qué nadie se entere!</h1>
<h1>¡Qué nadie se entere!</h1><br>
<p>Comparte secretos, cifra y descifra mensajes sólo con tus amigos</p>
</article>
<article class="">
Expand Down
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);
11 changes: 6 additions & 5 deletions src/inicio.htm
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
<head>
<meta charset="utf-8">
<title>BIENVENIDO</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="style1.css" />
</head>
<body class="section2">
<main>
<header>
<nav>
<ul>
<a href="index.html">Inicio</a>
</ul>
</header>
<nav>
<ul>
<a href="index.html">Inicio</a>
</ul>
</nav>
<section>
<article class="">
<h1>BIENVENIDO</h1><br>
Expand Down
33 changes: 7 additions & 26 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,33 +1,19 @@
body.section2{
body{
background-color: #66CCFF;
background-image: url("./images/friend-1820040_1920.jpg");
}

header{
background-color: #0B0B3B;
width: 1200px;
height: 40px;
margin: 0px;
padding: 40px;
top: 0px;
position:static;
text-align:right;
body.section1{
background-image: url("./images/porta1.jpg");
}

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

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

footer{
background-color: #CEE3F6;
width: 1200px;
height: 30px;
height: 10px;
margin: 0px;
padding: 30px;
bottom: 0px;
Expand All @@ -36,24 +22,19 @@ footer{
}

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

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

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

input{
width: 400px;
box-sizing: border-box;
border: 2px solid #0B0B3B;
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;
}