Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Sorin Ruse
@sorinr
@artoodeeto what the var closeClass will hold after this: var closeClass = document.getElementsByClassName('modal'); ?
aRtoo
@artoodeeto
@sorinr an array. ohhh
i need to specifiy it huh!
let me try
@sorinr damn!!!
Sorin Ruse
@sorinr
@artoodeeto or an empty array if none elements have the modal class.
aRtoo
@artoodeeto
@sorinr thanks bro!!
CamperBot
@camperbot
artoodeeto sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:star2: 1391 | @sorinr |http://www.freecodecamp.org/sorinr
Sorin Ruse
@sorinr
@artoodeeto :+1:
dinesh
@1532j0004kg
C:\Program Files\MongoDB\Server\3.2\bin>mongod --storageEngine=mmapv1 --dbpath "
C:\data"
2018-01-15T20:42:28.472-0800 I CONTROL  [main]
2018-01-15T20:42:28.474-0800 W CONTROL  [main] 32-bit servers don't have journal
ing enabled by default. Please use --journal if you want durability.
2018-01-15T20:42:28.475-0800 I CONTROL  [main]
2018-01-15T20:42:28.482-0800 I CONTROL  [main] Hotfix KB2731284 or later update
is not installed, will zero-out data files
2018-01-15T20:42:28.489-0800 I CONTROL  [initandlisten] MongoDB starting : pid=6
024 port=27017 dbpath=C:\data 32-bit host=dinesh007
2018-01-15T20:42:28.489-0800 I CONTROL  [initandlisten] targetMinOS: Windows Vis
ta/Windows Server 2008
2018-01-15T20:42:28.489-0800 I CONTROL  [initandlisten] db version v3.2.18-4-g75
2daa3
2018-01-15T20:42:28.491-0800 I CONTROL  [initandlisten] git version: 752daa30609
5fb1610bb5db13b7b106ac87ec6cb
2018-01-15T20:42:28.493-0800 I CONTROL  [initandlisten] allocator: tcmalloc
2018-01-15T20:42:28.494-0800 I CONTROL  [initandlisten] modules: none
2018-01-15T20:42:28.496-0800 I CONTROL  [initandlisten] build environment:
2018-01-15T20:42:28.497-0800 I CONTROL  [initandlisten]     distarch: i386
2018-01-15T20:42:28.499-0800 I CONTROL  [initandlisten]     target_arch: i386
2018-01-15T20:42:28.502-0800 I CONTROL  [initandlisten] options: { storage: { db
Path: "C:\data", engine: "mmapv1" } }
2018-01-15T20:42:28.609-0800 I CONTROL  [initandlisten]
2018-01-15T20:42:28.609-0800 I CONTROL  [initandlisten] ** WARNING: This 32-bit
MongoDB binary is deprecated
2018-01-15T20:42:28.610-0800 I CONTROL  [initandlisten]
2018-01-15T20:42:28.612-0800 I CONTROL  [initandlisten]
2018-01-15T20:42:28.613-0800 I CONTROL  [initandlisten] ** NOTE: This is a 32 bi
t MongoDB binary.
2018-01-15T20:42:28.615-0800 I CONTROL  [initandlisten] **       32 bit builds a
re limited to less than 2GB of data (or less with --journal).
2018-01-15T20:42:28.618-0800 I CONTROL  [initandlisten] **       Note that journ
aling defaults to off for 32 bit and is currently off.
2018-01-15T20:42:28.624-0800 I CONTROL  [initandlisten] **       See http://doch
ub.mongodb.org/core/32bit
2018-01-15T20:42:28.625-0800 I CONTROL  [initandlisten]
2018-01-15T20:42:28.712-0800 I INDEX    [initandlisten] allocating new ns file C
:\data\local.ns, filling with zeroes...
2018-01-15T20:42:29.386-0800 I STORAGE  [FileAllocator] allocating new datafile
C:\data\local.0, filling with zeroes...
2018-01-15T20:42:29.388-0800 I STORAGE  [FileAllocator] creating directory C:\da
ta\_tmp
2018-01-15T20:42:29.802-0800 I STORAGE  [FileAllocator] done allocating datafile
 C:\data\local.0, size: 64MB,  took 0.411 secs
2018-01-15T20:42:30.227-0800 I NETWORK  [HostnameCanonicalizationWorker] Startin
g hostname canonicalization worker
2018-01-15T20:42:32.888-0800 I FTDC     [initandlisten] Initializing full-time d
iagnostic data capture with directory 'C:/data/diagnostic.data'
2018-01-15T20:42:32.892-0800 I NETWORK  [initandlisten] waiting for connections
on port 27017
is this okay ?
Sorin Ruse
@sorinr
yes. the server waits for connections on port 27017. so its up and running :)
dinesh
@1532j0004kg
:smile:
Sorin Ruse
@sorinr
@1532j0004kg :+1:
bourget1
@bourget1
file:///Users/luc/Desktop/Screen%20Shot%202018-01-15%20at%209.58.35%20PM.png im trying to add a contact form on the right side of the page but can not figure it out, been like 2hrs now of trying different ways and research. i dont know if its something in my code thats preventing me from doing so or im just over looking something simple. anyways if anyone is willing to have a look and let me know that would be great
file:///Users/luc/Desktop/Screen%20Shot%202018-01-15%20at%209.58.35%20PM.png
Ayush Bahuguna
@relentless-coder
@bourget1 sure, could you describe the problem? Your question is littered with unwanted text
@bourget1 describe your problem, list all the things that you have tried so far.
bourget1
@bourget1
@relentless-coder sent you a pm
Anthony Drane
@Antiaccess
Hey guys, I have an image carousel which is loading at 100% width, but cuts off the images near the top because they load after the carousel loads. Then to get the height back I have to resize the browser to which the img width 100% (and related height) responds and changes the div. How do I get the div to default to the height: 100% when related to the responsive width?
Anthony Drane
@Antiaccess
I hope that makes sense... essentially I have a div that isn't adjusting to 100% of the image height because the image loads after the div
All the images in the carousel are the same size ratio too
Markus Kiili
@Masd925
@Antiaccess Could you put the code somewhere like Codepen and then post a link? It would be easier to help then.
Anthony Drane
@Antiaccess
It would be too hard to set up in codepen cause it relies on external JS & images... but here's what I can show you
<div class="row">
          <div class="main-carousel" data-flickity='{ "cellAlign": "left", "contain": true }'  style="margin-bottom:6%">
              <div class="carousel-cell"><img src="images/flow1.png" style="width:100%"></div>
              <div class="carousel-cell"><img src="images/flow2.png" style="width:100%"></div>
              <div class="carousel-cell"><img src="images/flow3.png" style="width:100%"></div>
              <div class="carousel-cell"><img src="images/flow4.png" style="width:100%"></div>
              <div class="carousel-cell"><img src="images/flow5.png" style="width:100%"></div>
          </div>
        </div>
I want to do something for the main carousel like style="height: calc(width*0.58)"
but ofcourse that doesn't work
VaseJS
@VaseJS
@Antiaccess still need more context, namely your css. i see ‘cellAlign’. don’t tell me you’re using tables for layout?! and what is data-flickity? are you using some type of framework/kit?
Anthony Drane
@Antiaccess
yes framework for this section (which is why i'm having troubles making it compatible)
flickity is the name... I'm using skeleton to make the site responsive
let me get some relevant CSS organised
VaseJS
@VaseJS
ugh. frameworks. is this a personal project, tutorial, etc? what’s this for
Anthony Drane
@Antiaccess
yes, apologies for being relatively new. It's my portfolio (dw not for developing)
I've done the front-end course, but that was maybe 6months-a year ago
VaseJS
@VaseJS
i recommend learning the power of css3 before using any framework. with flex box and css grid, css can do most things easily without the overhead and control of a framework. i recommend mozilla tutorials on css and html. they cover everything. then you won’t have bugs like this that is caused by or likely caused by your framework
also, if you want to step your css game up, look up harry roberts (always search his name with ‘css’ or you’l get the bank robber)
Anthony Drane
@Antiaccess
haha! In the future for sure. At the moment I just need to have this working so I can apply for jobs. But yeah one day I'll get ramp my skills up
thanks @VaseJS
CamperBot
@camperbot
antiaccess sends brownie points to @vasejs :sparkles: :thumbsup: :sparkles:
:cookie: 451 | @vasejs |http://www.freecodecamp.org/vasejs
Anthony Drane
@Antiaccess
cheers @Masd925
VaseJS
@VaseJS
the next problem (the same reason i recommend vanilla css first) is we’d have to understand the framework to really hunt down the bug in your css. because we have to know what all the classes do to know how they effect each other
Anthony Drane
@Antiaccess
well tbh if there's a simple way to do an image carousel without the framework I can just get rid of it and start again rather than investigating
VaseJS
@VaseJS
jobs are easy. and during an interview you are most likely to get asked about more fundemental understanding of css / html.
yes there is
Anthony Drane
@Antiaccess
well I agree, but I'm not going for developer roles... it's more of a support skill for me
VaseJS
@VaseJS
but that depends on your skill level. but just search vanilla css carousel and you’ll get a bunch of results. but understand the negative UX side of having a carousel on your site. an image gallery would be a better experience for users. but thats another topic :P
Anthony Drane
@Antiaccess
bahaha
double blow - UX is the area