web/includes
This commit is contained in:
parent
8228f24185
commit
18e3bf6d8f
|
@ -0,0 +1,4 @@
|
||||||
|
# First part from css
|
||||||
|
# second part from javascript
|
||||||
|
|
||||||
|
picoCTF{1nclu51v17y_1of2_f7w_2of2_df589022}
|
|
@ -0,0 +1,25 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<title>On Includes</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script src="script.js"></script>
|
||||||
|
|
||||||
|
<h1>On Includes</h1>
|
||||||
|
<p>Many programming languages and other computer files have a directive,
|
||||||
|
often called include (sometimes copy or import), that causes the
|
||||||
|
contents of a second file to be inserted into the original file. These
|
||||||
|
included files are called copybooks or header files. They are often used
|
||||||
|
to define the physical layout of program data, pieces of procedural code
|
||||||
|
and/or forward declarations while promoting encapsulation and the reuse
|
||||||
|
of code.</p>
|
||||||
|
<br>
|
||||||
|
<p> Source: Wikipedia on Include directive </p>
|
||||||
|
<button type="button" onclick="greetings();">Say hello</button>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function greetings()
|
||||||
|
{
|
||||||
|
alert("This code is in a separate file!");
|
||||||
|
}
|
||||||
|
|
||||||
|
// f7w_2of2_df589022}
|
|
@ -0,0 +1,5 @@
|
||||||
|
body {
|
||||||
|
background-color: lightblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* picoCTF{1nclu51v17y_1of2_ */
|
Loading…
Reference in New Issue