-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPROGRAMMING-fundamentals.html
126 lines (120 loc) · 3.75 KB
/
PROGRAMMING-fundamentals.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Programming Fundamentals</title>
<style>
*,body{
margin:0;
padding:0;
box-sizing:border-box;
}
.header {
background-color: #4600FF;
padding: 20px;
font-family: monospace;
width: 100vh;
color: white;
}
.top-nav{
padding:10px;
display:flex;
gap:15px;
}
.top-nav a{
display:block;
}
h1,h2,p,code,button{
margin:10px;
}
code{
color:#5B05FF;
background:#E3E3E3;
}
button{
width:99%;
padding:10px;
background:#5500FF;
color:white;
border:none;
border-radius:100px;
font-family:monospace;
transition:0.6s;
}
button:hover{
background:white;
border:1px solid #5500FF;
color:#5500FF;
}
footer{
margin-top:30px;
padding:50px;
background:#75717F;
color:white;
text-align:center;
}
a{
text-decoration:none;
font-family:monospace;
}
.root{
padding:15px;
}
.img-contain{
display:flex;
justify-content:center;
align-items:center;
}
img{
width:60vw;
height:35vh;
}
@media only screen and (min-width:720px){
img{
width:45vw;
height:25vh;
}
}
</style>
</head>
<body>
<header class="header">
<p>digital dreamscapes - by somnath pan</p>
</header>
<section class="root">
<div class="top-nav">
<a href="blogs.html">tutorials</a>
<a href="codeditor.html">code</a>
<a href="index.html">home</a>
</div>
<div class="img-contain">
<img src="programming.jpg" alt="programming-fundamentals.png">
</div>
<h1>Programming Fundamentals</h1>
<p>Welcome to our Programming Fundamentals tutorial! In this tutorial, we'll cover the basic concepts and principles of programming.</p>
<h2>What is Programming?</h2>
<p>"Programming is like writing a recipe for your computer. Imagine you want to make a sandwich. You need to tell someone how to make it, step by step. You would say something like:
"Take two slices of bread. Add cheese. Add tomato. Put them together."
A computer works in a similar way. You need to tell it exactly what to do, step by step, to get the result you want. This is called programming.
Programming is a way of giving instructions to a computer so it can perform tasks, solve problems, or create something new. It's like writing a set of instructions that the computer can understand and follow.</p>
<h2>Variables and Data Types</h2>
<p>Variables are containers that store values, and data types determine the type of value a variable can hold,it is like storing a specific value,in a smaller named container,such that you wont have to type it again and again,instead you use the variables.</p>
<h2>Control Structures</h2>
<p>Control structures, such as if-else statements and loops, control the flow of a program's execution,loops,allows you to run or iterate over a program for a particular number or until a condition is met,and if-else are used,to take decision.</p>
<h2>Functions</h2>
<p>Functions are reusable blocks of code that perform a specific task.</p>
<p>in a function we define a block of code,which we can use later by just calling the function.</p>
<h2>Conclusion and Next Steps</h2>
<p>Congratulations! You've learned the basic programming concepts.now that you know the fundamentals of coding,you can try learning a programming language to see how these work.</p>
</section>
<footer>
<p>©somnath pan</p>
<p>all rights reserved</p>
<a href="tutorials.html">tutorials</a>
<a href="index.html">home</a>
<a href="codeditor.html">code</a>
<a href="DEBUGGING_STATION.html">debugging station</a>
</footer>
</body>
</html>