Code Monkey home page Code Monkey logo

Comments (5)

AleksandrHovhannisyan avatar AleksandrHovhannisyan commented on September 24, 2024
  1. Hmm, could you inspect the button in your browser dev tools without the wrapper div and show me the result?

  2. Same here; could you show your console?

Thanks!

from aleksandrhovhannisyan.com.

psionman avatar psionman commented on September 24, 2024

What it looks like in my browser

Selection_008

in dev tools

Selection_009

Is that what you want?

Don't know what to do for 2. :(

here is a link to my code) so that you can check I've not made an transcription error

from aleksandrhovhannisyan.com.

psionman avatar psionman commented on September 24, 2024

link to code

from aleksandrhovhannisyan.com.

AleksandrHovhannisyan avatar AleksandrHovhannisyan commented on September 24, 2024

Ah, sorry, I should've been more specific

Right-click your page and say Inspect (Ctrl+Shift+I for Chrome on Windows). I want to see what the button's dimensions and styles are without the wrapper div:

image

For #2, head over to the Console tab in the same pane as above:

image

from aleksandrhovhannisyan.com.

AleksandrHovhannisyan avatar AleksandrHovhannisyan commented on September 24, 2024

@psionman Sorry, I just realized that the code in my tutorial was a somewhat simpler version of what I have on my own site. I never ended up testing whether it works. I just tried and yeah, I get the result that you reported here. You do in fact need a wrapper div for this to work.

I've edited the blog post and clarified things a bit more. Could you run through it again and let me know if it works for you this time around? Thanks a bunch!

from aleksandrhovhannisyan.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.