Zaloguj | Zarejestruj | FAQ

Javascript-lesson 4: variable & constants

+ Odpowiedz

Posty: 3 Strona 1 z 1

Javascript-lesson 4: variable & constants

przez Jesmion » Pn sty 12, 2015 8:01 am

Hi, i have been through javascript-lesson 4, about 'variable and constant, could learnt the uses of constant as a containers where data could be stored for javascript processing, the uses of var&const are not tolerated in the internet explorer, if may ask, what is difference between 'dollar sign "$" & handler?'
Avatar użytkownika


  • Posty: 91
  • Dołączył(a): N wrz 14, 2014 8:07 pm
  • Lokalizacja: Uruagu Umudioka

Re: Javascript-lesson 4: variable & constants

przez XainPro » Pn sty 12, 2015 9:57 am

ogical Operators

Logical operators are used to determine the logic between variables or values.

Given that x=6 and y=3, the table below explains the logical operators:
Operator Description Example
&& and (x < 10 && y > 1) is true
|| or (x == 5 || y == 5) is false
! not !(x == y) is true
Avatar użytkownika


  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm

galerii z serwerem index.html

przez franzs mari » N lis 25, 2018 1:28 pm

obraz galerii z serwerem index.html

<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Galería - Curso JavaScript</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="styles.css">

<body class="galeria">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>

<div class="container is-relative">
<nav class="level">
<div class="level-item"></div>
<div class="level-right">
<div class="level-item">
<div class="file is-medium is-info">
<label class="file-label">
<input class="file-input" type="file" name="resume" accept="image/jpeg">
<span class="file-cta">
<span class="file-icon">
<i class="fas fa-upload"></i>
<span class="file-label">
Subir Foto
<div class="level-item">
<button class="button is-medium is-danger is-uppercase" id="btnSignOut">
<span class="icon">
<i class="fas fa-sign-out-alt"></i>
<div class="loading">
<span class="icon is-large has-text-white is-size-2">
<i class="fas fa-circle-notch fa-spin fa-3x"></i>
<div class="message is-info is-hidden" id="msgNoImagenes">
<div class="message-body has-text-centered is-size-4">No hay imágenes en la Galería</div>
<div class="message is-danger is-hidden" id="msgErrorImagenes">
<div class="message-body has-text-centered is-size-4">Se produjo un error recuperando las imágenes.
Inténtalo más tarde.</div>
<div class="columns is-multiline is-centered is-mobile" id="galeria">

<div class="modal" id="modalNuevaImagen">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">Nueva Imagen</p>
<button class="delete cerrar-modal" aria-label="close"></button>
<section class="modal-card-body">
<div class="field has-text-centered">
<figure class="image">
<img alt="Cargando Imagen..." src="" />
<div class="field">
<label class="label">Descripción</label>
<div class="control has-icons-left has-icons-right">
<input class="input" type="text" placeholder="Descripción de la Foto">
<span class="icon is-small is-left">
<i class="fas fa-pencil-alt"></i>
<span class="icon is-small is-right">
<i class="fas fa-ellipsis-h"></i>
<p class="help is-danger is-hidden">Descripción no es válida. Debe contener entre 6 y 1000
<p class="help is-success is-hidden">La descripción es válida</p>
<footer class="modal-card-foot">
<nav class="level" style="width: 100%">
<div class="level-left">
<div class="level-item">
<button class="button cerrar-modal">Cancelar</button>
<div class="level-right">
<div class="level-item">
<button class="button is-success">
<span class="icon"><i class="fas fa-upload"></i></span>
<span>Crear Imagen</span>
<script defer async src=""></script>
<script defer async src=""></script>
<script src="utils.js" async defer></script>
<script src="galeria.js" async defer></script>

Avatar użytkownika

franzs mari

  • Posty: 2
  • Dołączył(a): Wt lis 13, 2018 6:33 pm
  • Lokalizacja: poland

+ Odpowiedz

Strona 1 z 1