by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 14 22:38
    @bjorno43 banned @minitechtips_twitter
  • May 14 22:37
    @bjorno43 banned @real-action
  • Feb 01 00:26
    @bjorno43 banned @Ndoua
  • Jan 07 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:33
    User @bjorno43 unbanned @linkin-park
  • Jun 20 2019 21:19
    @bjorno43 banned @shenerd140
  • May 10 2019 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 2019 19:46
    @mstellaluna banned @zhonghuacx
  • Apr 25 2019 17:12
    @mstellaluna banned @cmal
  • Apr 01 2019 18:11
    thecodingaviator labeled #31179
  • Apr 01 2019 18:11
    thecodingaviator labeled #31179
  • Apr 01 2019 18:09
    thecodingaviator commented #31179
  • Apr 01 2019 18:09
    thecodingaviator labeled #31182
  • Apr 01 2019 18:09
    thecodingaviator labeled #31182
  • Apr 01 2019 18:07
    thecodingaviator commented #31182
  • Apr 01 2019 18:07
    thecodingaviator labeled #31190
  • Apr 01 2019 18:07
    thecodingaviator labeled #31190
  • Apr 01 2019 18:07
    thecodingaviator commented #31190
  • Apr 01 2019 18:05
    thecodingaviator commented #31157
  • Apr 01 2019 18:04

    thecodingaviator on master

    remove A (#31157) (compare)

Vectorjay
@Vectorjay
@SaintPeter i'm good
Rex Schrader
@SaintPeter
@Vectorjay Need a hand?
Vectorjay
@Vectorjay
yeah please
Rex Schrader
@SaintPeter
@Vectorjay Which waypoint?
Abhisek Pattnaik
@abhisekp
@Vectorjay Can I apply cross product on you?
Vectorjay X Vectorjay
Vectorjay
@Vectorjay
var city = prompt(" Which is your favourite city!").toUpperCase();

switch(city){
    case'Florida':
        if(city && Florida){
        console.log(" Awesome city to leave in");
        }else{
            console.log(" Florida is not awesome");
            }
            break;
    case'Broklyn':
        if(city || Broklyn){
        console.log("Gangstar area in the USA");
        }else{
            console.log("Not a ganstar city!");
            }
        break;
    case'Texas':
        console.log("Partly dorminated by rich africans");
        break;
    default:
        console.log(" You entered a wrong city");
}
Abhishek
@Abhi493
i didn't know the consequences of using spoilers to complete the bonfire , i tried to understand it but as of now i forgot a lot, what should i do ? do it all again ???
Vectorjay
@Vectorjay
Don't seem to know wht is wrong with that code
Abhisek Pattnaik
@abhisekp
@Vectorjay check for 'FLORIDA', 'BROKLYN', etc
in UPPERCASE
Vectorjay
@Vectorjay
@SaintPeter Did you get that
Rex Schrader
@SaintPeter
@Vectorjay Which waypoint is this?
Ngaosathe
@ThekhoN
Guys is it valid to have <img> inside a <h2> ? I encountered it for the first time...is it valid?
Abhisek Pattnaik
@abhisekp
@Abhi493 practice, practice and practice once more
Rex Schrader
@SaintPeter
@ThekhoN Yes, it should be valid. Maybe not "smart" or "clean", but valid
Abhisek Pattnaik
@abhisekp
@ThekhoN perfectly valid as long as it makes sense
Vectorjay
@Vectorjay
https://www.codecademy.com/courses/javascript-beginner-en-ZA2rb/0/5?curriculum_id=506324b3a7dffd00020bf661
Abhisek Pattnaik
@abhisekp
@ThekhoN as in, is it sensible to draw in the HEADING section of your NOTEBOOK?
Abhishek
@Abhi493
Practicing... js again...
Abhisek Pattnaik
@abhisekp
@Abhi493 use CodeAcademy and don't forget to return here. We're waiting.
maybe with a :rose:
Abhishek
@Abhi493
lol
i learned the js course there few months ago @codeacademy
Abhisek Pattnaik
@abhisekp
do it once more
Abhisek Pattnaik
@abhisekp
explain js res
@Abhi493 :point_up: October 19, 2015 1:18 AM
Ngaosathe
@ThekhoN
hmmm..ok. But won't it be the best thing?
rather use div to contain em images right?
Abhishek
@Abhi493
tysm @abhisekp thanks for all the res
Vectorjay
@Vectorjay
@abhisekp thanks it worked
CamperBot
@camperbot
abhi493 sends brownie points to @abhisekp :sparkles: :thumbsup: :sparkles:
:warning: abhi493 already gave abhisekp points
Abhisek Pattnaik
@abhisekp
@ThekhoN does it seem best to draw images in the heading section of your notebook?
Abhishek
@Abhi493
@camperbot THANKS too
CamperBot
@camperbot
:star: 372 | @camperbot | http://www.freecodecamp.com/camperbot
abhi493 sends brownie points to @camperbot :sparkles: :thumbsup: :sparkles:
Abhisek Pattnaik
@abhisekp
@ThekhoN HTML is about writing semantically.
Ngaosathe
@ThekhoN
@abhisekp yes..but i encountered this in some one's code that's why i asked here..
i'm not advocating this in anyway..just wanted to know the best practice
Abhisek Pattnaik
@abhisekp
@ThekhoN it's simply a markup language.
You mark: this is a heading
Then you mark: this is a para
Then: This is an image inbetween my texts in the para
Ngaosathe
@ThekhoN
@abhisekp yes i get it.
Abhisek Pattnaik
@abhisekp
@ThekhoN btw, if you are trying to use a logo near your heading or in your heading, you can use imgs inside heading
@ThekhoN but you can write the img. outside of heading and use CSS for styling the img. to show near the heading
normally, small imgs are used and it's perfectly alright
Ngaosathe
@ThekhoN
hmmm..now would tat be semantically correct? maybe not..but we do that coz it's a logo..things aren't always black and white :)
Abhisek Pattnaik
@abhisekp
@ThekhoN yep! :smile: you get it
CoreyThomas
@CoreyThomas
adding icons?
Abhisek Pattnaik
@abhisekp
@CoreyThomas maybe

that icon can be written outside of heading

<img src="icon.png">
<h1>I'm A Goat</h1>

and use CSS to do some magic and everything look perfect.
@ThekhoN