viernes, 11 de marzo de 2022

HTML(HyperText Markup Language)

W3C(WORLD WIDE WEB CONSORTIUM)

The World Wide Web Consortium (W3C) is an international community where member organizations, a full-time staff,and the public work together to frvrlop Web standars

this organization dictates the rules from time and officially it goes in HTML5, which is the model that is going tobe handled in this blog

HOW TO PROGRAM IN HTML

To program in html you need a text editor, you can use sublime text, notepad, note pad++ and visual studio code. The difference between these is in the assistance when programming. in this blog i gonna use visual studio code

BASIC STRUCTURE

IMPORTANT MARKUPS

<html lang="ES">
this markup  is used to indicate the language and is placed after <doctype html!>



LAYOUT

physical design of a page prior to making it, part of a web page

HEADER->CORPORE INFORMATION
NAV->MAIN MENU
SECTION->DIVIDE IN ARTICLES
ASIDE->IT CAN BE LATERAL INFORMATION OR A MENU
FOOTER->YOU CAN SHOW MORE INFORMATION ABOUT THE COMPANY OR ABOUT THE AUTHOR

HEADER MARKUPS

<META NAME="" CONTENT="">
   ➤Is used to make a small description of the page
<META charset="utf-8">
  ➤It is to indicate the orthographic symbols that the page will recognize, UTF-8 recognizes symbols of spanish
<link href="route" ref="stylesheet" type="text/css">
 ➤Is used to use files from other pages or within the computer  



MARKUP IN THE BODY

<a href="route">text</a>/<a href="route" ><img src="route"></a>
 ➤it used to generate links, it can be to text or images

<h1></h1><h2></h2><h3></h3><h4></h4><h5></h5><h6></h6>
➤ This markups is used to change the size of the letter h1 is biggest and h6 is smallest,is more used to titles

<div id="">                                                                                                <div class="">
 CODE                  ➡This markup is used to assign attributes to a text⬅     CODE
</div>                                                                                                          </div>


 

domingo, 6 de marzo de 2022

BASIC PROGRAMMING

MATHEMATICAL OPERATORS

Addition 

The computer recognizes it with the symbol +







Subtraction

The computer recognizes it with the symbol -






Multiplication

The computer recognizes it with the symbol * 




Division

The computer recognizes it with the symbol /





Mod 

The computer recognizes it with the symbol







Div

Remainder of the decimal part of a division

The computer recognizes it with the symbol //

     


Power


The computer recognizes it with the symbol **




Root

this operation cannot be symbolized so for the computer to understand we must radican power to 1 division index

((27)1/3)



HIERARCHY OF OPERATIONS


ALGORITHMIC EQUATIONS

When we program it must be understandable for the computer because of that we must organize the
operations from the smallest to the largest this in brackets


RELATIONALS OPERATIONS

the relationals operator use to compare two values


LOGICAL OPERATORS





FLOWCHART

Flowcharts use special shapes to represent different types of actions or steps in a process. Lines and arrows show the sequence of the steps, and the relationships among them. These are known as flowchart symbols.



KEYWORDS

write: this command is use to show information in screen

read:this command is use to capture information, this will save in a variable

variable: it is the way in which they categorize the data that must be saved varies based on the program and language


IF-THEN

a condition is established with relational and logical operators if it is true one action occurs otherwise another






SWITCH

this command is based on a control variable and it is value causes a series of actions in each case



REPETITIVE CYCLES

For loop

in the for loop you can indicate the maximum number of iterations


WHILE LOOP

in the while loop the idea is to repeat something if the condition is true

DO WHILE LOOP

the do while loop checks the condition at the end of the loop. this means that the statements inside the loop body will be executed at least once even if the condition is never true



ARRAYS

are fuction to store more sata in a variable,only can save info to same info 








HTML(HyperText Markup Language)

W3C(WORLD WIDE WEB CONSORTIUM) The World Wide Web Consortium (W3C) is an international community where member organizations, a full-time sta...